* SUMMARY: HP print config
@ 1998-10-05 21:32 Gary Munroe
0 siblings, 0 replies; only message in thread
From: Gary Munroe @ 1998-10-05 21:32 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to all who responded. The best one was the following (note
the little 'gotcha' that I goofed on at first, when you see ^{ below,
press 'CTRL-[')
Date: Mon, 05 Oct 1998 10:18:42 -0400
To: Gary Munroe <GMUNROE@flemingc.on.ca>
From: "Sheryl A. Lemma" <lemma@lvc.edu>
Subject: Re: HP print config
Gary,
We have solved this problem by creating a separate printcap entry used
specifically for printing landscape. Here is a sample of our printcap, with
entries for both the portrait and landscape entries for the same printer
(it is an HP5, if that matters):
lp|lp0|0|CS1L-P|CS-HP|CSHP|CS1L-P|cs1l-p|cs-hp|cshp|cs_hp|CS_HP:\
:lf=/usr/adm/lperr:\
:lp=:\
:mx#0:\
:rm=cshp.lvc.edu:\
:rp=text:\
:sd=/usr/spool/lpd:\
:sh:
lp15|15|CS-HPL|CS_HPL|CS1L-L|cs-hpl|cs_hpl|cs1l-l:\
:lf=/usr/adm/lp15err:\
:lp=/dev/null:\
:mx#0:\
:of=/usr/lbin/cshp.landscaped.filter:\
:sd=/usr/spool/lpd15:\
:sh:\
:xf=/usr/lbin/xf:
cshp.landscaped.filter contains the following:
#! /bin/csh -f
# LVC's landscaped filter
#
/bin/cat /usr/local/landscaped.string - /usr/local/reset.string |lpr -Pcs-hp
landscaped.string contains the following:
^[&l1ok3g5.45C^[(s0p16.67H
reset.string contains the following:
^[E
Hope this helps you out!!
Regards,
Sheryl
At 03:26 PM 10/2/98 -0500, you wrote:
>I am trying to configure a printer to print in landscape mode and I
>think I'm going nutz. I can do a "cat filename|/usr/lbin/hplaerof
>-w132|lpr -Pprintername" which comes out fine. I want to set up a
>printer to print that way all the time. Anyone have any examples? I
>am printing to an HP4000 with jetdirect card in it over IP.
>
>Thanks.
__________________________________________________________________
| Gary Munroe |
|------------------------------------------------------------------|
| I.T.S., AS/400 Services Work: gmunroe@flemingc.on.ca |
| Sir Sandford Fleming College Home: izzi@calweb.com |
| (705) 749-5523 x1409 Web: http://www.calweb.com/~izzi |
|__________________________________________________________________|
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-10-05 21:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-05 21:32 SUMMARY: HP print config Gary Munroe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox