Subject: Re: printing problem
From: Carsten Neumann (deltor@snafu.de)
Date: Tue Jan 30 2001 - 17:18:01 EST
On Tue, 30 Jan 2001, Richard Goldberg wrote:
[snip]
> The printcap entry for this printer is:
> test|colourlp\
> :server\
> :rw:sh:sf\
> :lp=colorlp.irus.rri.on.ca%9100\
> :mx#0\
> :lf=/var/spool/lpd/colour/colour-errs\
> :sd=/var/spool/lpd/colour\
> :af=/var/spool/lpd/colour/test-account\
> :la\
> :ifhp=model=colour,config=/etc/ifhp.conf\
> :if=/usr/local/lib/filters/ifhp\
> :of=/usr/local/lib/filters/ofhp
Oops, you omitted tho colons ':' just before each backslash, and after the last entry:
test|colourlp:\
:server:\
:rw:sh:sf:\
:lp=colorlp.irus.rri.on.ca%9100:\
:mx#0:\
:lf=/var/spool/lpd/colour/colour-errs:\
:sd=/var/spool/lpd/colour:\
:af=/var/spool/lpd/colour/test-account:\
:la:\
:ifhp=model=colour,config=/etc/ifhp.conf:\
:if=/usr/local/lib/filters/ifhp:\
:of=/usr/local/lib/filters/ofhp:
OK, if you don't indent your printcap entry lines the colons before the escape chars (backslash)
might not be necessary, but that at the end is.
>
> this is actually /etc/printcap.papd (and I give the -p /etc/printcap.papd
> to papd when I start it). I need to do it this way since my main
> printcap file is in lprng format. This should still work though.
Probably lprng is more relax regarding the format of the printcap entries, but I just can guess.
I'm using BSD spooling.
>
> If I change the pr line to pipe to lpr I don't get the lp_conn_unix and
> lp_print errors, but I still get the line too long error.
Does your PPD file look sane?
Tr-ing my PPD file and "Auto Setup" the printer (on Mac) solved my problem.
BTW: piping through lpr was the only way to get non-postscript data sent to my printer.
This is a NEC Silentwriter LC 890 and has only PS level 1, laserjet, and diablo emulation.
If I want to print postscript level 2, I need put the printer into laserjet modus use ghostscript,
and send its output via pap directly to my printer. I didn't manage to use psf somehow to send the
data.
>
> -Rick Goldberg
Regards
Carsten
This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:31 EDT