Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-07 Thread Jacob Meuser
On Mon, Nov 07, 2005 at 10:51:43AM -0800, Peter Hessler wrote:
> On Mon, Nov 07, 2005 at 12:38:09AM -0800, Jacob Meuser wrote:
> :On Sun, Nov 06, 2005 at 02:08:04PM -0600, Jeff Roach wrote:
> :> Not really. I want to use cups for network printing and it requires esp
> :> ghostscript for which there is no port. Also, gutenprint provides newer
> :> drivers than gimp-print.
> :
> :CUPS does _not_ require ESP ghostscript!
> :
> :yes, the few PPD files that come with CUPS reference pstoraster
> :from ESP ghostscript ... but you don't need to use them.
> :
> :do you really think I would make those ports and say they work
> :with CUPS if they didn't?
> :
> :-- 
> :<[EMAIL PROTECTED]>
> :
> 
> Then how would you use CUPS w/o ESP ghostscipt?  I'm quite new to CUPS 
> and when I follow the documentation (`lpadmin -p LaserJet -E -v 
> socket://printer:9100 -m laserjet.ppd`.  the web interface requires 
> passwords, and doesn't accept my login information.)

by default, you have to login as a member of the root group from
localhost.  if you want to change this, see the
 section of ${SYSCONDFIR}/cups/cupsd.conf.

>  any attempt to 
> print is canceled for my convienence.

the PPD files that come with CUPS do require ESP ghostscript
but you don't need to use them.  these are generic PPD files
anyway.  a printer-specific PPD file will probably give you
better printing results.  you can get a PPD file from
linuxprinting.org or install the foomatic database and engine
and generate a PPD file locally.  ports for the foomatic database
and engine can be found here:
http://www.jakemsr.com/openbsd/foomatic-ports.html
instructions for generating a printer-specific PPD file with these
ports can be found here: http://www.jakemsr.com/openbsd/foomatic.html
(just ignore the directions on that page for lpd for the time being.
you use the same PPD file for CUPS or lpd.  I'll try to add some
directions for CUPS in the near future.)

copy the PPD file to ${PREFIX}/share/cups/model/.

start (or restart) cupsd.

reconfigure ("Manage Printers" -> "Modify Printer" through the web
interface) the printer to use the new PPD.

that's it.

-- 
<[EMAIL PROTECTED]>



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-07 Thread Peter Hessler
On Mon, Nov 07, 2005 at 12:38:09AM -0800, Jacob Meuser wrote:
:On Sun, Nov 06, 2005 at 02:08:04PM -0600, Jeff Roach wrote:
:> Not really. I want to use cups for network printing and it requires esp
:> ghostscript for which there is no port. Also, gutenprint provides newer
:> drivers than gimp-print.
:
:CUPS does _not_ require ESP ghostscript!
:
:yes, the few PPD files that come with CUPS reference pstoraster
:from ESP ghostscript ... but you don't need to use them.
:
:do you really think I would make those ports and say they work
:with CUPS if they didn't?
:
:-- 
:<[EMAIL PROTECTED]>
:

Then how would you use CUPS w/o ESP ghostscipt?  I'm quite new to CUPS 
and when I follow the documentation (`lpadmin -p LaserJet -E -v 
socket://printer:9100 -m laserjet.ppd`.  the web interface requires 
passwords, and doesn't accept my login information.)  any attempt to 
print is canceled for my convienence.


-- 
Alexander Graham Bell is alive and well in New York, and still waiting
for a dial tone.



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-07 Thread Jasper Lievisse Adriaanse
On Mon, 7 Nov 2005 01:00:00 -0800
Jacob Meuser <[EMAIL PROTECTED]> wrote:

> On Sun, Nov 06, 2005 at 10:12:01PM +0100, Jasper Lievisse Adriaanse wrote:
> > On Sun, 6 Nov 2005 14:08:04 -0600
> > Jeff Roach <[EMAIL PROTECTED]> wrote:
> > 
> > > Not really. I want to use cups for network printing and it requires esp
> > > ghostscript for which there is no port.
> > I'm sort of working on that with a very low priority. I'll have a look at 
> > that
> > again this week.
> 
> why?  do you really think everyone using the CUPS port is installing
> their own ESP ghostscript?
> 
> > I'll try to fix an outdated gimp-print port too.
> 
> if you think the gimp-print port I posted to ports@ just a few days
> ago is broken or outdated, then why did you not contact me?
Sorry, I didn't saw your recent postI was still using this one:
http://www.monkey.org/openbsd/archive/ports/0406/msg00303.html

I'll test your new ports this week.

Cheers,
Jasper
>   
> -- 
> <[EMAIL PROTECTED]>
> 


-- 
"Security is decided by quality" -- Theo de Raadt



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-07 Thread Jacob Meuser
On Sun, Nov 06, 2005 at 02:08:04PM -0600, Jeff Roach wrote:
> Not really. I want to use cups for network printing and it requires esp
> ghostscript for which there is no port. Also, gutenprint provides newer
> drivers than gimp-print.

CUPS does _not_ require ESP ghostscript!

yes, the few PPD files that come with CUPS reference pstoraster
from ESP ghostscript ... but you don't need to use them.

do you really think I would make those ports and say they work
with CUPS if they didn't?

-- 
<[EMAIL PROTECTED]>



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-07 Thread Jacob Meuser
On Sun, Nov 06, 2005 at 10:12:01PM +0100, Jasper Lievisse Adriaanse wrote:
> On Sun, 6 Nov 2005 14:08:04 -0600
> Jeff Roach <[EMAIL PROTECTED]> wrote:
> 
> > Not really. I want to use cups for network printing and it requires esp
> > ghostscript for which there is no port.
> I'm sort of working on that with a very low priority. I'll have a look at that
> again this week.

why?  do you really think everyone using the CUPS port is installing
their own ESP ghostscript?

> I'll try to fix an outdated gimp-print port too.

if you think the gimp-print port I posted to ports@ just a few days
ago is broken or outdated, then why did you not contact me?

-- 
<[EMAIL PROTECTED]>



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-06 Thread Jasper Lievisse Adriaanse
On Sun, 6 Nov 2005 14:08:04 -0600
Jeff Roach <[EMAIL PROTECTED]> wrote:

> Not really. I want to use cups for network printing and it requires esp
> ghostscript for which there is no port.
I'm sort of working on that with a very low priority. I'll have a look at that
again this week.
I'll try to fix an outdated gimp-print port too.

I hope that may help you.

[...] 
> --
> <[EMAIL PROTECTED]>
> 

Cheers,
Jasper


-- 
"Security is decided by quality" -- Theo de Raadt



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-06 Thread Jeff Roach
Not really. I want to use cups for network printing and it requires esp
ghostscript for which there is no port. Also, gutenprint provides newer
drivers than gimp-print.


Date: Sat, 5 Nov 2005 23:13:54 -0800
From: Jacob Meuser <[EMAIL PROTECTED]>
To: misc@openbsd.org
Subject: Re: Setting up printer with cups Epson Stylus Photo 820
Message-ID: <[EMAIL PROTECTED]>

On Sun, Nov 06, 2005 at 12:22:55AM -0600, Jeff Roach wrote:
> I finally got it working. Here are the steps,

you could have read this post to ports@ from a few days ago instead:

http://marc.theaimsgroup.com/?l=openbsd-ports&m=113082409018820

probably would have been much less work for you.

--
<[EMAIL PROTECTED]>



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-05 Thread Jacob Meuser
On Sun, Nov 06, 2005 at 12:22:55AM -0600, Jeff Roach wrote:
> I finally got it working. Here are the steps,

you could have read this post to ports@ from a few days ago instead:

http://marc.theaimsgroup.com/?l=openbsd-ports&m=113082409018820

probably would have been much less work for you.

-- 
<[EMAIL PROTECTED]>



Re: Setting up printer with cups Epson Stylus Photo 820

2005-11-05 Thread Jeff Roach
I finally got it working. Here are the steps,

OpenBSD 3.8, cups-1.1.23p2, ESP Ghostscript 7.07.1 and gutenprint-5.0.0-rc1

I installed the above in that order. Cups was a pkg and the other two were
source.

To install ghostscript I unpacked jpegsrc.v6b in the root directory. Then

./configure --with-cups --without-omni
gmake
gmake install

The compile only works with gmake.

For gutenprint

./configure --without-gimp --with-cups --disable-translated-cups-ppds
gmake
gmake install

In configuring the printer with cups I set it up as a parallel polled
printer (Epson)

I first tested with lptest > /dev/ulpt0 with the BSD print system and could
not print. Switching to a parallel cable solved that.

Cheers,

Jeff

On 9/26/05, Theo de Raadt <[EMAIL PROTECTED]> wrote:
>
> Someone is telling you to use a non-standard FreeBSD extension. That's
> hogwash. I suggest you advice them that their FAQ has an error. That
> is not standard to any other system.
>
> And even then, it is even more wrong.
>
> > I've since found a link under the Gimp-Print FAQ that talks about the
> > difficulty of printing to Epson Stylus printers in Free, Net and
> OpenBSD.
> >
> > http://gimp-print.sourceforge.net/p_FAQ_OS_X.php3#BSD
> >
> > The short of it is that the BSD driver resets the printer losing sync.
> The
> > fix is to use unlpt0 instead of ulpt0 and it tells how to create the
> device.
> > However the command
> >
> > mknod unlpt0 c 113 64 root wheel
> >
> > gives usage: mknod... What is the correct command and is there anything
> else
> > I would need to do after this to get CUPS to recognize the printer at
> that
> > device?
> >
> > Thanks.



Re: Setting up printer with cups Epson Stylus Photo 820

2005-09-26 Thread Theo de Raadt
Someone is telling you to use a non-standard FreeBSD extension.  That's
hogwash.  I suggest you advice them that their FAQ has an error.  That
is not standard to any other system.

And even then, it is even more wrong.

> I've since found a link under the Gimp-Print FAQ that talks about the
> difficulty of printing to Epson Stylus printers in Free, Net and OpenBSD.
> 
> http://gimp-print.sourceforge.net/p_FAQ_OS_X.php3#BSD
> 
> The short of it is that the BSD driver resets the printer losing sync. The
> fix is to use unlpt0 instead of ulpt0 and it tells how to create the device.
> However the command
> 
> mknod unlpt0 c 113 64 root wheel
> 
> gives usage: mknod... What is the correct command and is there anything else
> I would need to do after this to get CUPS to recognize the printer at that
> device?
> 
> Thanks.



Re: Setting up printer with cups Epson Stylus Photo 820

2005-09-26 Thread Jeff Roach
I've since found a link under the Gimp-Print FAQ that talks about the
difficulty of printing to Epson Stylus printers in Free, Net and OpenBSD.

http://gimp-print.sourceforge.net/p_FAQ_OS_X.php3#BSD

The short of it is that the BSD driver resets the printer losing sync. The
fix is to use unlpt0 instead of ulpt0 and it tells how to create the device.
However the command

mknod unlpt0 c 113 64 root wheel

gives usage: mknod... What is the correct command and is there anything else
I would need to do after this to get CUPS to recognize the printer at that
device?

Thanks.



Re: Setting up printer with cups Epson Stylus Photo 820

2005-09-11 Thread Jeffrey Roach
I'm wondering if I might need ESP GS installed.  I have downloaded it and it 
has asked for JPEG so I downloaded that into the espgs folder.  I am able to 
configure fine.  When I try to make it shows an error code 1 at line 604 of 
contrib.mak.  That line shows something about gomni so I have downloaded 
Omni into the espgs folder.  When I unpack it the folder is called 
VendorSupported.  I still get the error above with this downloaded.  Any 
ideas?


Thank you.

Jeff



Hello,
I am trying to get my printer to work with OpenBSD.  I am running 3.7 
STABLE.  I have installed cups 1.1.23p2 from the pkg directory, compiled and 
installed the latest gimp-print from sourceforge and installed ghostscript 
7.05p5.
The computer recognizes the printer as ulpt0.  I have started the cupsd from 
which I get a few errors different each time.  One is that /dev/lpt0 is out 
of paper another is Child exited with status 48! and a third which I escapes 
me at this time.  After starting the cupsd there is a long pause followed by 
some noise from the printer and then the error.
I have set up the printer via localhost:631.  I have added my printer as 
device at usb:/dev/ulpt0 and selected a Gimp-Print driver for Epson Stylus 
Photo 820, of which there are list of many for my printer all the same name. 
 When I try to configure the printer via localhost:631 I get error 
server-error-internal-error.
I have tried printing a test page which results in Test Page sent; Job ID is 
X.  However, when I look at jobs they all show cancelled.  This also happens 
when I print at the console.

/var/log/cups/error_log shows:

Job 21 queued on 'Epson' by 'root'.
Unable to convert file 0 to printable form for job 21!
Hint: Do you have ESP Ghostscript installed?
Hint: Try setting the LogLevel to "debug".

I have also tried downloading the source for the latest ESP Ghostscript and 
compiling it with an error code at the end of make.
Am I using the wrong versions of software together? or what?  Any help 
greatly appreciated.


Jeff

_
Dont just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




Setting up printer with cups Epson Stylus Photo 820

2005-09-11 Thread Jeffrey Roach

Hello,
 I am trying to get my printer to work with OpenBSD.  I am running 3.7 
STABLE.  I have installed cups 1.1.23p2 from the pkg directory, compiled and 
installed the latest gimp-print from sourceforge and installed ghostscript 
7.05p5.
 The computer recognizes the printer as ulpt0.  I have started the cupsd 
from which I get a few errors different each time.  One is that /dev/lpt0 is 
out of paper another is Child exited with status 48! and a third which I 
escapes me at this time.  After starting the cupsd there is a long pause 
followed by some noise from the printer and then the error.
 I have set up the printer via localhost:631.  I have added my printer as 
device at usb:/dev/ulpt0 and selected a Gimp-Print driver for Epson Stylus 
Photo 820, of which there are list of many for my printer all the same name. 
 When I try to configure the printer via localhost:631 I get error 
server-error-internal-error.
 I have tried printing a test page which results in Test Page sent; Job ID 
is X.  However, when I look at jobs they all show cancelled.  This also 
happens when I print at the console.

/var/log/cups/error_log shows:

Job 21 queued on 'Epson' by 'root'.
Unable to convert file 0 to printable form for job 21!
Hint: Do you have ESP Ghostscript installed?
Hint: Try setting the LogLevel to "debug".

 I have also tried downloading the source for the latest ESP Ghostscript 
and compiling it with an error code at the end of make.
 Am I using the wrong versions of software together? or what?  Any help 
greatly appreciated.


Jeff
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/