Whoops. You should also know that I've defined both "printers" (really trays) to use the same print queue.
On 2002.06.03 13:53 Karl O . Pinc wrote: > Hi, > > I can't seem to find the answer in the 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. 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. > > 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]> > ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
