[222] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: * HP L5 laser printer: problem!! *

daemon@ATHENA.MIT.EDU (Otto Hammersmith)
Mon Oct 21 18:41:45 1996

From: Otto Hammersmith <ohammers@cu-online.com>
To: redhat-list@redhat.com
Date: Mon, 21 Oct 1996 14:00:12 -0500 (CDT)
In-Reply-To: <Pine.SOL.3.93.961022021607.21736A-100000@hkusua.hku.hk> from "Ferdinand Mo" at Oct 22, 96 02:26:35 am
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Make sure printing the header page is turned off... it's a little
check box in the printtool.

or you can add ":sh:" (without the quotes, of course) to the entry in
/etc/printcap for you printer... that stands for supress headers.

The basic problem is that HP printers expect DOS-type text for plain
text printing, and Red Hat, of course feeds it Unix-type text for the
header page.  It's the classic CR/LF problem.. so the printer never
goes onto the next line to start printing. 

Has anyone managed to configure lpd to print a header page in
postscript?  (before the gs filter runs for non-postscript printers,
of course) That would solve the whole problem.

Ferdinand Mo wrote:
> 
> 
> Hi, I've set *everything* with printtool.  But my HP L5 laser 
> printer is still not working *properly* under my RedHat 3.0.3...
> 
> Problem: when I use 'lpr filename' to print a file, it outputs
> a blank paper with the following two lines first...
> -- 
> 		t			t
> 					 r rrr        oooo
> --
> Then the second page is the thing which I really wanted to see...
> 
> The following is the printcape made by printtool:
> ------------- /etc/printcap ----------------
> ##PRINTTOOL## LOCAL ljet4 600x600 a4 {}
> lp:\
>         :sd=/var/spool/lpd/lp:\
>         :mx#0:\
>         :lp=/dev/lp1:\
>         :if=/var/spool/lpd/lp/filter:
> ---------------------------------------------
> I've tried using 'laserjet', 'ljet4' and 'ljetplus' for Printer Type
> and found 'ljet4' is the most ideal one.
> 
> So.. what's wrong?  and what can I do?
> 
> Thank you very much!!!
> 
> regards,
> 
> Ferd
> 
> 
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
>   ________________________________________________________________________
>   http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
>   http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
>   ------------------------------------------------------------------------
> To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
> 
> 


-- 
					-Otto


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post