Printing to two printers from one queue (Printers print identically not load balancing)

Printing to two printers from one queue (Printers print identically not load balancing)

Post by MPCP To » Fri, 29 Jan 1999 04:00:00



I am trying to set up an Unix queue to print to two printers at the same time.
One printer is load with the correct paper, the other is white paper used as a
journal of the other. Can this be accomplished. I am using rtelnet to connect
to Terminal servers.
 
 
 

Printing to two printers from one queue (Printers print identically not load balancing)

Post by LAIX Software Consultin » Fri, 29 Jan 1999 04:00:00


This would be done with a simple custom backend... Two possible ways I can think
of:

1) Create a custom backend shell script that writes to two devices:
        #!/bin/ksh
        cat $* > /dev/whatever1
        cat $* > /dev/whatever2

2) Create a custom backend shell script that requeues the job to two queues:
        #!/bin/ksh
        enq -Pqueue1 $*
        enq -Pqueue2 $*

Jobs sent to this single queue get distributed to both other queue(s)

Best regards,
Paul Laymon

http://www.flash.net/~laixsoft


> I am trying to set up an Unix queue to print to two printers at the same time.
> One printer is load with the correct paper, the other is white paper used as a
> journal of the other. Can this be accomplished. I am using rtelnet to connect
> to Terminal servers.


 
 
 

Printing to two printers from one queue (Printers print identically not load balancing)

Post by John Beaud » Sun, 31 Jan 1999 04:00:00



>I am trying to set up an Unix queue to print to two printers at the same time.
>One printer is load with the correct paper, the other is white paper used as a
>journal of the other. Can this be accomplished. I am using rtelnet to connect
>to Terminal servers.

How about this:

1. define 2 printer queues A & B

2. "A" has an interface script that sends the print job to the physical printer,
like usual, but in the 'file sending" loop, also sends the job to queue "B" via
"lp -d B $file"

----------------------------
Weight is the result of friction between mass & gravity.
My *real* .sig awaits future display technology (sent with Agent 1.5/32)