This is my configuration of HP5L, which works fine: lpfin is for PostScript printing - final quality lp or lpdr for PostScript printing - draft quality Similarly binpr is for printing of binary files with final quality and bindrpr for printing of binary files with draft quality.
This is my /etc/printcap:
lpfin\
:sd=/var/spool/lpd/lpfin:\
:mx#0:\
:lp=/dev/lp1:\
:if=/var/spool/lpd/lpfin/filter-lj:\
:sh:
lp|lpdr:\
:sd=/var/spool/lpd/lpdr:\
:mx#0:\
:lp=/dev/lp1:\
:if=/var/spool/lpd/lpdr/filter-lj:\
:sh:
binpr:\
:sd=/var/spool/lpd/binpr:\
:mx#0:\
:lp=/dev/lp1:\
:sh:\
:if=/var/spool/lpd/binpr/filter-lj:
bindrpr:\
:sd=/var/spool/lpd/bindrpr:\
:mx#0:\
:lp=/dev/lp1:\
:if=/var/spool/lpd/bindrpr/filter-lj:\
:sh:
Below are the filter files:
File /var/spool/lpd/lpfin/filter-lj and /var/spool/lpd/lpdr/filter-lj
(both are identical, but prinit.bin is different):
#!/bin/sh
if [ -e prinit.bin ]; then
cat prinit.bin
fi
gs -q \
-sDEVICE=ljet4 \
-I/usr/lib/ghostscript \
-I/usr/lib/ghostscript/fonts \
-r600 \
-sPAPERSIZE=a4 \
-dNOPAUSE \
-dSAFER \
-sOutputFile=- -
File /var/spool/lpd/binpr/filter-lj and /var/spool/lpd/bindrpr/filter-lj
(both are identical, but prinit.bin is different)
#!/bin/sh
if [ -e prinit.bin ]; then
cat prinit.bin
fi
cat -
The files prinit.bin are sent as encoded attachments, because they contain
non-ASCII characters
On Wed, 30 Sep 1998, Shao Ying Zhang wrote:
> Hi all,
> Thanks for your help. I finally managed to get my printer working.
>
> Now, I have a new problem. I am using HP5L. I tried to use the
> filter laserjet-filter, but it gives me error when printing the last page.
> I have tried out most of other laser* filters, but just wasted 30 pages of
> paper...
>
> Anyone can teach me how to use cti-ifhp???
>
> Any other alternatives??
>
>
> Thanks
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Shao Zhang \\/
> 5/28-30 Victoria AVE OxO
> PENSHURST 2035 //\
> Sydney, NSW ///\\
> Australia ////\\\
> / ^ _ \
> ( (o) (o) )
> **** * * *=======oOOO=====(_)=====OOOo=========*
> * * * | [EMAIL PROTECTED] |
> **** * * | http://shaoz.dyn.ml.org |
> * ******* | http://www.cse.unsw.edu.au/~s2193893|
> **** * * *===================Oooo.=============*
> * * * .oooO ( |
> * * * * * ( ) ) /
> * * * \ ( (_/
> \_)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> --
> Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
>
>
prinit.bin
Description: The prinit.bin for lpfinand binpr
prinit.bin
Description: The prinit.bin for lpdr andd bindrpr

