- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing A3 to Jetdirect card
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 07:35 PM
08-24-2005 07:35 PM
I've set up a printer with a Jetdirect 600N card to print from an HP-UX 10.20 workstation. The printer (HP5000N) has two trays; an upper tray loaded with A4 and a lower tray with A3. I can't find an option in the interface file to print to the lower tray.
Any ideas?
Mark Syder (like the drink but spelt different)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 07:57 PM
08-24-2005 07:57 PM
Re: Printing A3 to Jetdirect card
-olb
In the interface files, this is listed as
lb | lbin) # set up to feed from lower cassette
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 07:59 PM
08-24-2005 07:59 PM
Re: Printing A3 to Jetdirect card
you could use the -o tray1/tray2 option with the lp command.
See man lp for further information.
Hope this helps,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:20 PM
08-24-2005 08:20 PM
Re: Printing A3 to Jetdirect card
I went through the motions of trying them both even though those options didn't appear in the interface file. As I expected, it ignored them and printed from the A4 tray.
Any more ideas gratefully received.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:31 PM
08-24-2005 08:31 PM
Re: Printing A3 to Jetdirect card
You may need to copy the laserjet4 version over your interface (it goes without saying that you should back up the original first, but just in case....)
The laserjet4 interface can be found in /usr/lib/lp/model
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:51 PM
08-24-2005 08:51 PM
Re: Printing A3 to Jetdirect card
Hopefully slightly more helpfully the first time paper source is mentioned in /etc/lp/interface/model.orig/
is this bit (see below)
Which suggests to me that you can print using lp -otray3
or lp -olb
or lp -olbin
or lp -olower
Please correct me if I'm wrong.
Thanks.
___________________________________________
£ paper source
£ [ Modified by Amit R. Raval to fix the problem of not working manual feed
£ on June 29th 1998.
£ tray1 | manual | man ) £ manual sheet feed
£ mediasrc="4";;
tray1 ) £ feed from tray 1
mediasrc="4";;
manual | man ) £ manual sheet feed
mediasrc="2";;
£ ]
tray2 | upper | ub | ubin) £ feed from upper tray
mediasrc="1";;
tray3 | lower | lb | lbin ) £ feed from lower tray
mediasrc="5";;
tray4 ) £ HCI
£ [ Modified by Amit Raval to support for LaserJet 8000 printer on 17th Apr. 199
8
£ mediasrc="8";;
__________________________________________
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 09:32 PM
08-24-2005 09:32 PM
Re: Printing A3 to Jetdirect card
lp -otray3
lp -oA3 -- Which printed two sheets from tray2
lp -olbin
lp -otray4
The printer happily printed the option on the banner and then printed from tray2!
Grrr...
There are even options in model.orig for things like recycled paper, which I suspect our 4200 would ignore too.
Still Good Luck, if I find the magic answer I'll let you know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 12:51 AM
08-25-2005 12:51 AM
SolutionBut first make sure you did NOT add the printer as a "remote" printer, that is, a printer served by another computer. The JetDirect interface cards can act as JetDirect print servers or they can also act as 'dumb' remote print servers. And in HP-UX, the SysV lp spooler system cannot process any -o options for remote printers unless the remote server is another HP-UX system. To see if this is the script you're using, look at the first 3-4 lines of the interface script in /etc/lp/interface. If it refers to BSD options, the printer is confirgured as a remote printer. Correctly configured JetDirect printers will all have the same script in the interface directory and will mention hpnpl and hpnpf in the comments.
If the printer is remote, just remove the printer and add it back as a true JetDirect pritner with the hppi menu program, or use addqueue to do everything on one line:
/opt/hpnpl/bin/addqueue -q mylj5000 -h 12.34.56.78 -i 258 -b off
If you check the model.orig directory, you will now see the printer's script there. If the printer was indeed added as a JetDirect printer, you can replace the script in /etc/lp/interface/model.orig with the correct script like this:
cp /opt/hpnpl/sh/net_ljx000 /etc/lp/interface/model.orig/mylj5000
This cp can be done with the spooler running. Since you might want the banner turned off, you can either edit the mylj5000 script and follow the comments about setting banner="" or use hppi to modify the script for you.
Once this is done, you'l have dozens of options available including input tray, output tray, banner tray, duplex, font adjustments, etc.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 02:19 AM
08-25-2005 02:19 AM
Re: Printing A3 to Jetdirect card
I had set it up as a network printer, but I'd used SAM - doing it on the command line made all the difference.
Mark