Unix True 64 - HP Laserjet 5000 output selects paper from tray3 even on specifying -I option

This is Interesting: Free IT Magazines  
Home > Archive > Unix True 64 > January 2004 > HP Laserjet 5000 output selects paper from tray3 even on specifying -I option





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author HP Laserjet 5000 output selects paper from tray3 even on specifying -I option
Naveen

2004-01-23, 6:51 pm

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.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com