Hi,

I can't seem to find the answer in the LPRng HOWTO or the list archives,
and somebody must know how to do this...  If this isn't the
right place to ask, please tell me where I can go.  TIA.

I've got 3 print jobs, one text and two postscript.  (Really
there are 2 pdfs but I'm using pdftops and piping to lpr.)
The text job is supposed to print on tray 3, colored paper,
as a separator.  Then the two postscript jobs should print.
All of this should happen in the order submitted.  It's not.

I've defined two printers, one for each tray.  Both printers
are defined to use the same print queue.  I try something
like:

#!/bin/bash
echo cover1 | lpr -P tray3
pdftops small.pdf | lpr -P tray2
pdftops big.pdf | lpr -P tray2
echo cover2 | lpr -P tray3
pdftops small.pdf | lpr -P tray2
pdftops big.pdf | lpr -P tray2
echo cover3 | lpr -P tray3
pdftops small.pdf | lpr -P tray2
pdftops big.pdf | lpr -P tray2
echo cover4 | lpr -P tray3
pdftops small.pdf | lpr -P tray2
pdftops big.pdf | lpr -P tray2

I usually get a couple of cover sheets first, a small.pdf,
another cover sheet, a couple of small.pdfs and then
a big.pdf, maybe a small.pdf and the rest of the big.pdfs.

(?  The whole printing subsystem looks like voodo.  I can
see very little by looking at the printconf.  I _thought_
jobs were first-in first-out.  Maybe they don't go in
until they get through the input filter?)

I'm using RedHat 7.2 with LPRng 3.7.4 (redhat release 28),
which uses magicfilter as the input filter and am printing
over the network to a HP 4100-tn laser printer.  The printer
driver is "lj5gray".

It occured to me to use lpr -B job1 job2 job3, but I don't
know how I can then select the right tray for each job.

It'd be enough to be able to get the burst page to
print from a different tray, although not ideal.

I'd like a solution that integrates with the existing
print config system so upgrading the OS doesn't break it.
(But I'll take anything.)

Karl <[EMAIL PROTECTED]>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to