Operating System - HP-UX
1833783 Members
2169 Online
110063 Solutions
New Discussion

Re: Configuring Printer for 2up or 4up only

 
SOLVED
Go to solution
Scott Sizelove
Occasional Contributor

Configuring Printer for 2up or 4up only

Can anyone shed some light on what I would change to make the default setting of my LaserJet 8000 model.orig file be 2up, and another interface file be 4up? I know this can be done via command line arguments, but my need is to have this printer accept requests from an HP3000 and output the desired format with no command interaction. Thanks in advance.
1 REPLY 1
Bill Hassell
Honored Contributor
Solution

Re: Configuring Printer for 2up or 4up only

If the 3000 is sending print jobs over to the 9000 as a remote print server, about the only choice is to create multiple printer scripts and assign them to separate print queues. This is only practical using printers connected to HP-UX using JetDirect network cards. Make sure you have a recent version of JetAdmin which has the addqueue command (try man addqueue). Here are the steps:

1. addqueue -h net_prn_name -q twoup
addqueue -h net_prn_name -q fourup

where: net_prn_name is the network name or IP address of the printer and twoup and fourup are new print queues for the same printer.

2. Now edit the printer scripts (which are located in /etc/lp/interface/model.orig). Each printer script has the name of the queue. Look for the string 'dividing=' which is where the defaults are set. Change the 2up printer to dividing="-h", and the 4up printer to dividing="-q".

3. Test the result by printing something like /etc/profile from HP-UX to each of the new printers. If all is well, tell the 3000 to print remotely to either the 2up or 4up (or normal) printer.


Bill Hassell, sysadmin