[plug] CUPS pipe:/ Options?

Bernd Felsche bernie at innovative.iinet.net.au
Mon Aug 8 11:09:58 WST 2005


Ryan <ryan at is.as.geeky.as> writes:

>On Mon, 2005-08-08 at 08:17 +0800, Bernd Felsche wrote:
>> I need to have a program handling "print" jobs.

>> CUPS provides for a pipe:/ process to handle print jobs but the
>> documentation is not clear on how to pass options to that process.
>> Nothing "telling" in the environment and no process arguments.

>Consider a backend.  Here is one we prepared earlier (makes PDFs).

Hmmm... 

>I know Craig made lots more changes, as did I, but all I have now is
>this original barely surviving beta :)

>------------------------------------

>#!/usr/bin/perl

># CUPS PDF Writer Backend
>#
># December 2002
># Craig Ringer and Ryan Armanasco
>#

># $ARGV[0] - print job number
># $ARGV[1] - username
># $ARGV[2] - print job name
># $ARGV[3] - page count i think
># $ARGV[4] - i forget now - it is always blank though
># $ARGV[5] - temporary print job location

Where are the options?

I need to pass it options; those options being URLs. (mailto:*
http:* https:* ftp:* ...)

Maybe that gives a clue as to why I want to use a queue in the first
place. :-)
-- 
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ /  ASCII ribbon campaign | I'm a .signature virus!
 X   against HTML mail     | Copy me into your ~/.signature
/ \  and postings          | to help me spread!




More information about the plug mailing list