Re: hp5l paraport print insanity
Thanks the problem was resolved by removing the ifhp.deb package and reconfiguring /etc/printcap
Just incase anybody has a similar problem.
Here are the details for the list archive.
debian packages
debian:/var/spool/lpd/lp# dpkg -l | grep -i print* | grep -v ^rc
ii gnome-print 0.10-5 The GNOME Print architecture
ii hp-ppd 0.3-2 HP Postscript Printer Definition (PPD) files
ii libprinterconf 0.3-2 Printer autodetection library
ii lprng 3.7.4-4 lpr/lpd printer spooling system
ii lprngtool 1.1.1-3 GUI frontend to LPRng based /etc/printcap
ii magicfilter 1.2-45 automatic printer filter.
ii mpage 2.5.1pre-2 print multiple pages per sheet on PostScript
ii pdq 2.2.1-5 Simple printing system for workstations
ii printop 1.12-4 Graphical interface to the LPRng print syste
ii trueprint 5.2.1-5 pretty printing of source code
ii xpdq 2.2.1-5 Graphical user interface for the pdq printin
ii xprt 4.1.0-0pre1v3 X print server
I don't think that all the above packages are needed for printing.
The following are known as needed.
lprng
magicfilter
enscript
ps
my /etc/printcap
debian:/var/spool/lpd/lp# cat /etc/printcap
lp|hplj4l|HP Laserjet 4L
:lp=/dev/lp0:sd=/var/spool/lpd/hplj4
:sh:pw#80:pl#72:px#1440:mx#0
:if=/etc/magicfilter/ljet4l-filter
:ml=0
:af=/var/spool/lpd/hplj4l/acct/acct
:lf=/var/spool/lpd/hplj4l/log/log
:
file structure
/var/spool/lpd/hplj4:
total 6
drwx------ 2 daemon lp 1024 Jul 13 19:28 .
drwxr-xr-x 5 root root 1024 Jul 13 19:26 ..
-rw------- 1 daemon lp 0 Jul 13 19:26 control.lp
-rw------- 1 daemon lp 0 Jul 13 19:28 lp
-rw------- 1 daemon lp 0 Jul 13 19:26 status
-rw------- 1 daemon lp 2786 Jul 13 19:28 status.lp
-rw------- 1 daemon lp 4 Jul 13 19:28 unspooler.lp
/var/spool/lpd/hplj4l:
total 4
drwx------ 4 daemon lp 1024 Jul 13 19:18 .
drwxr-xr-x 5 root root 1024 Jul 13 19:26 ..
drwxr-xr-x 2 daemon lp 1024 Jul 13 19:27 acct
-rw------- 1 daemon lp 0 Jul 13 19:12 control.lp
drwxr-xr-x 2 daemon lp 1024 Jul 13 19:27 log
-rw------- 1 daemon lp 0 Jul 13 19:12 status
-rw------- 1 daemon lp 0 Jul 13 19:12 status.lp
/var/spool/lpd/lp:
total 26
drwx------ 2 daemon lp 1024 Jul 13 19:25 .
drwxr-xr-x 5 root root 1024 Jul 13 19:26 ..
-rw------- 1 daemon lp 0 Jul 13 18:48 control.lp0
-rw------- 1 daemon lp 190 Jul 13 19:02 general.cfg
-rw------- 1 daemon lp 0 Jul 13 19:02 lp0
-rw------- 1 daemon lp 6483 Jul 13 18:46 lpq.0
-rw------- 1 daemon lp 342 Jul 13 19:02 postscript.cfg
-rw------- 1 daemon lp 2638 Jul 13 16:22 status
-rw------- 1 daemon lp 4399 Jul 13 18:45 status.lp
-rw------- 1 daemon lp 4475 Jul 13 19:02 status.lp0
-rw------- 1 daemon lp 146 Jul 13 19:02 textonly.cfg
-rw------- 1 daemon lp 4 Jul 13 19:02 unspooler.lp0
On Fri, Jul 13, 2001 at 10:34:31PM +0200, Joost Kooij wrote:
> On Fri, Jul 13, 2001 at 02:12:18PM -0400, Theodore Knab wrote:
> > Thanks to my HP5l parallel printer, I very close to entering a parallel state of consciousness.
> >
> > My dilema:
> >
> > The printer prints fine in ASCII text mode.
> >
> > I am under the assumption that there is something wrong with my /etc/printcap file.
> >
> > I have been using the GUI to run the printer tests, but editting the /etc/printcap file by hand.
> >
> > The problem occurs when I attempt to print in Postscript mode.
>
> Then I would suggest looking into the postscript filter.
>
> > Packages being used:
> > ii lprngtool 1.1.1-3 GUI frontend to LPRng based /etc/printcap
> > ii lprng 3.7.4-4 lpr/lpd printer spooling system
> > ii ifhp 3.4.4-1 Printer filter for HP LaserJet printers
>
> I don't see ghostscript, but maybe you just didn't mention it. If you
> want to convert postscript to your printer's native speak, it is likely
> that you will need ghostscript.
>
> I am not familiar with ifhp, magicfilter works fine here.
>
> > My /etc/printcap
> >
> > ##LPRNGTOOL## LOCAL lj4dith 600x600 letter {} LaserJet4dither Default {}
> > lp
> > :ifhp=hp4l
> > :sd=/var/spool/lpd/lp
> > :sh
> > :ml=0
> > :mx=0
> > :af=/var/spool/lpd/lp/acct
> > :lf=/var/spool/lpd/lp/log
> > :cd=/var/spool/lpd/lp
> > :lp=/dev/lp0
> > :if=/usr/lib/filters/ifhp
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> Did you put it there, or lprngtool? In any case, it appears to pass
> raw postscript straight through, which it shouldn't, unless you do have
> a postscript printer (but iirc hp5l isn't).
>
> > Another /etc/printcap with same results:
> >
> > ##LPRNGTOOL## LOCAL lj4dith 600x600 letter {} LaserJet4dither Default {}
> > lp
> > :ifhp=hp5l
> > :sd=/var/spool/lpd/lp
> > :sh
> > :ml=0
> > :mx=0
> > :af=/var/spool/lpd/lp/acct
> > :lf=/var/spool/lpd/lp/log
> > :cd=/var/spool/lpd/lp
> > :lp=/dev/lp0
> > :if=/usr/lib/filters/ifhp
> > :
> >
> > Any assistance in resolving this problem would be greatly appreciated.
>
> Try to save a postscript file (eg. "man -t man > a.ps" or
> "ls | a2ps -o a.ps") and then play with the ifhp filter until you
> can get it to output the proper format for your hp5l printer.
> You should be able to test the latter by cat'ting to /dev/lp0, but
> I may be mistaken about that. It's worth trying anyway.
>
> Cheers,
>
>
> Joost
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
www.breezysolutions.com
Reply to: