1819691 Members
3310 Online
109605 Solutions
New Discussion юеВ

turning off collate

 
SOLVED
Go to solution
Paul Sperry
Honored Contributor

turning off collate

I think I am going crazy here.
hp-ux 11.11 with up to date patches.
Using the latest model script net_ljx000
on a HP LaserJet 8100DN. I want to produce the following page output (1,1,1...2,2,2...3,3,3} issuing command
lp -dprinter -n3 -o collateoff file
But I am still getting the output of
(1,2,3...1,2,3...1,2,3}
Any ideas welcome
Thanks
6 REPLIES 6
Paul Sperry
Honored Contributor

Re: turning off collate

hummm... well I have no ideas either
Eric Antunes
Honored Contributor

Re: turning off collate

Hi,

Well, with a file containing:

1,2,3

And executing:

lp -d -n3 -o collateoff

I get 3 pages with 1,2,3 printed...

I don't know if this answered your question?

Regards,

Eric
Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: turning off collate

Ok,

collateoff is an unavailable option in the model script of my HP45xx printers...

Sorry,

Eric Antunes
Each and every day is a good day to learn.
Bill Hassell
Honored Contributor
Solution

Re: turning off collate

The correct syntax is:

lp -dprinter -n3 -otopaz -ocollateoff file

This is covered in the man page (man net_ljx000). The "topaz" option is needed to signal smart printers like the 4000, 8000 and 9000 series that have lots of memory and can accept an entire job, then print completely from memory. Without -otopaz, -ocollateoff has no effect. Note also that topaz and collate only work on recent, upper-end printers.

Note that HP-UX doesn't have any patches for JetDirect model scripts (net_XXXXXX). These are only available from the download package for HPPI. You can install HPPI without losing any current printers or settings. If a printer script changed, you'll have to replace the script in /etc/lp/interface/model.orig or delete the printer and add it back again.


Bill Hassell, sysadmin
Paul Sperry
Honored Contributor

Re: turning off collate

Eric your first reply made me chuckel.
Bill you hit the nail on the head.

I went ahead and edited the printer script file in /etc/lp/interface changing
copy=$4 to copy=3 and
options=$5 to options="topaz collateoff"
and now the printer automatically prints 3 uncollated copys (which is what I really was after)

Thanks again
Paul Sperry
Honored Contributor

Re: turning off collate

thanks again