From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078724211639.tru64-unix-managers.marc@archive.invalid> From: Gary Munroe Date: Mon, 05 Oct 1998 21:32:51 +0000 To: tru64-unix-managers Subject: SUMMARY: HP print config X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078724211639 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 From: "Sheryl A. Lemma" 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 | |__________________________________________________________________|