From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c7a45a392ab1f5c2,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2004-01-09 07:05:05 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: linuxnaveen@hotmail.com (Naveen) Newsgroups: comp.unix.tru64 Subject: HP Laserjet 5000 output selects paper from tray3 even on specifying -I option Date: 9 Jan 2004 07:05:00 -0800 Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 156.24.1.36 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1073660705 2188 127.0.0.1 (9 Jan 2004 15:05:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Jan 2004 15:05:05 +0000 (UTC) Xref: archiver1.google.com comp.unix.tru64:11083 Hi Nerds... I have an issue that I have been working for the past 20 hours and I have'nt yet hit upon a solution. Problem: We have a HP5000N laserjet printer configured for TRU64 v 4.0 . I try to print an A4 document to this printer. The issue is, no matter whatever tray is specify, the output always comes out at tray 3. What I want is if I specify the tray using -Ilower, the o/p paper should be selected from tray 2. If I say -Iupper it shud be from tray 3. I have tried removing the tray escape sequences (like &l5H, &l1H etc) from inside my output report. But nothing seems to work. Here is my lpr command: lpr -h -Ilower -P5000 report.out Here is the entry for printername 5000 in the printcap file: 5000|lp2|ct|tcp:\ :af=/usr/adm/lp1acct:\ :ct=tcp:\ :if=/usr/lbin/pcfof +Chplj4000tn_a4.pcf:\ :lf=/usr/adm/lp1err:\ :lp=@10.2.230.45/laserp:\ :mx#0:\ :pl#60:\ :rw:\ :sd=/usr/spool/lpd2:\ :xf=/usr/lbin/xf:\ :sh: And tray escape sequences in /usr/lbin/pcf/hplj4000tn_a4.pcf file are: .... input tray upper:\033&l1H input tray lower:\033&l5H input tray tray2:\033&l1H input tray tray3:\033&l5H ..... ANy help would be of great help. Thanks Naveen.