Printing a job to 2 printers at the same time

Shawn Badger shawn at badger.pro
Tue Mar 20 10:13:51 MST 2012


It would be from a 3rd party app that would call the LPR command, so I
could use a script, but I will need to make the script look like a
printer to the system.
I am planning on using a hacking a copy of the cups-pdf driver to run
the script that would do as you stated.

Thanks for your help

On Mon, Mar 19, 2012 at 6:15 PM, John <jharitos at yahoo.com> wrote:
> Assuming you want to do it from Nautilus that is right mouse click and print
> the file. I would use Nautilus file manager scripts.
>
> http://g-scripts.sourceforge.net/
>
> You could then write a two line bash code to send it to two printers while
> using the link above to pass the file name to your script.
>
> #!/bin/bash
> LPR -Pprinter1 [-options] print file name, copies
> LPR -Pprinter2 [-options] print file name, copies
>
>
>
> ________________________________
> From: Shawn Badger <shawn at badger.pro>
> To: Main PLUG discussion list <plug-discuss at lists.plug.phoenix.az.us>
> Sent: Monday, March 19, 2012 6:43 AM
> Subject: Re: Printing a job to 2 printers at the same time
>
> I'm not a 100% sure what kind of file it will be, but I am thinking it
> will be a text file.
> In my searches I found that I may be able to use the tee command and
> lpr as well. I'm not sure that would be the cleanest way of doing it,
> but it would be better than nothing.
>
>
>
> On Wed, Mar 14, 2012 at 6:30 PM, John <jharitos at yahoo.com> wrote:
>> I think the lpr command is a part of cups. You could print to two
>> computers
>> using this but you need to write a script to do this. Is the file a txt,
>> pdf, or ps? lpr needs this format.
>>
>> ________________________________
>> From: Shawn Badger <shawn at badger.pro>
>> To: plug-discuss at lists.plug.phoenix.az.us
>> Sent: Tuesday, March 13, 2012 8:32 AM
>> Subject: Printing a job to 2 printers at the same time
>>
>> Does anyone know of way to print the same job to multiple printers though
>> CUPS?
>>
>> I found tea4cups http://www.pykota.com/software/tea4cups but it looks
>> like it hasn't been maintained in a while and it is behind a $25
>> paywall.
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list