michael wrote: > Folks, I've tried and tried but have failed to get my HP LaserJet 5L, > connected by parallel port, to print postscript from the command line. > It will print a page from say iceweasel but just isn't having > lpr test.ps > do the expected thing - rather it prints out the postscript file line by > line by line. > > This is under Debian Lenny (amd64) on a new build on my SATA HDD. Irony > is I did have it working on Lenny (amd64) previously with my old IDE > HDD. I've compared the two but can't see what differs. > > I'm not quite sure what info is best to send, but hopefully the below > will help. All help appreciated. Thanks, Michael
I'm using the same printer model in debian. Are you trying to print from local or from a remote desktop. You mentioned parallel port, so may be local. My printer is actually connected via ussb-parallel, but it doesn't matter. I also used lenny until few weeks ago and yes the driver used was the foomatic ljet4 (as I remember well). You don't need anything in the printcap except the defaults that are put there by cups You better look to configure cups right. The other thing is that I have installed cups-lpd or lpr I don't remember. what does lpstat -a says? > > Script started on Wed 15 Sep 2010 22:36:40 BST > ]0;m...@amd64: ~ m...@amd64:~$ lpoptions > media=A4 sides=one-sided finishings=3 copies=1 job-hold-until=no-hold > job-priority=50 number-up=1 auth-info-required=none job-sheets=none,none > printer-info printer-is-accepting-jobs=1 printer-is-shared=1 > printer-location printer-make-and-model='HP LaserJet 5l Foomatic/hpijs, > hpijs 2.8.6b' printer-state=3 printer-state-change-time=1284585794 > printer-state-reasons=none printer-type=135196 > ]0;m...@amd64: ~ m...@amd64:~$ file /etc/printcap > /etc/printcap: symbolic link to `/var/run/cups/printcap' > ]0;m...@amd64: ~ m...@amd64:~$ cat /var/run/cups/printcap > # This file was automatically generated by cupsd(8) from the > # /etc/cups/printers.conf file. All changes to this file > # will be lost. > lp|laserjet|:rm=amd64.lan:rp=laserjet: > ]0;m...@amd64: ~ m...@amd64:~$ exit > > Script done on Wed 15 Sep 2010 22:37:07 BST on the remote machine with kde3(lenny) lpoptions copies=1 job-hold-until=no-hold job-priority=50 number-up=1 finishings=3 auth-info-required=none job-sheets=none,none printer-info='HP LaserJet 5L' printer-is-accepting-jobs=1 printer-is-shared=1 printer-location='Home Office (*******)' printer-make-and-model='HP LaserJet 5L Foomatic/ljet4 (recommended)' printer-state=3 printer-state-change-time=1282890233 printer-state-reasons=none printer-type=8531972 _kde-filters=true on the host (kde4/sid) lpoptions _kde-filters=true auth-info-required=none copies=1 device-uri=usb://HP/LaserJet%205L finishings=3 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info='HP LaserJet 5L' printer-is-accepting-jobs=true printer-is-shared=true printer-location='Home Office (*******)' printer-make-and-model='HP LaserJet 5L Foomatic/ljet4 (recommended)' printer-state=3 printer-state-change-time=1282890233 printer-state-reasons=none printer-type=8531972 printer-uri-supported=ipp://192.168.40.40:631/printers/HP_LJ_5L -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/i6sf4a$v4...@dough.gmane.org