[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Printing



Hi,

I am using Debian Linux 1.3.1 on a 486-DX40 (Cyrix).  The FTP Linux
installation is about two weeks old.

Originally I could print to lp using the generic printer in printcap,
but got the classic stair step effect on my HP LaserJet 5L.  After
editing my printcap file and adding the filter script per the
printing-howto I no longer get any printed output.  

I added the following line to printcap.

:if=/var/spool/lpd/lp/filter:\

and in /var/spool/lpd/lp I created the following perl script.

#!/bin/perl
while (<STDIN>){chop $_; print "$_\r\n";};

The printer came alive, ejected a page without any printed text and the
filter script indicated a problem in line 2 near "; print".  Execution
of /var/spool/lpd/lp/filter aborted due to compilation errors.  I even
removed the added line in printcap and still get a clean sheet of paper
with no print.  What would have happened to printcap by adding a line
and then deleting it?  

Suggestions please.

Also does any have a good printcap entry for the HP Laserjet 5L.

TIA

John


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: