[cups.general] Passing information to cups printer.

Helge Blischke h.blischke at acm.org
Tue Jul 3 09:22:15 PDT 2012


Geo P.C. wrote:

> Sorry I didn't mentioned the client system we are using windows. In
> windows we are installing cups printer (Installing cups-pdf printer as
> a network printer in  windows).
> 
> So from windows machines while printing a document from windows
> machine is it able to pass user information like Full Name, Email id,
> Phone number, etc to cups print server.
> 
> Thanks
> 
> 
> On Tue, Jul 3, 2012 at 2:26 PM, Johannes Meixner <jsmeix at suse.de> wrote:
>>
>> Hello,
>>
>> On Jul 3 13:43 Geo P.C. wrote (excerpt):
>>> Please let me know while printing a document is it able to pass user
>>> information like Full Name, Email id, Phone number, etc to cups print
>>> server.
>>>
>>> If possible please update us how we can accomplish this.
>>
>> What is provided by default is described in "man filter", e.g. see
>> http://www.cups.org/documentation.php/doc-1.5/man-filter.html
>>
>> Additional options can be provided e.g. via the lp command like
>> # lp -d queue_name -o Option1=value1 -o Option2=value2 file_to_print
>> or alternatively
>> # lp -d queue_name -o "Option1=value1 Option2=value2" file_to_print
>> see
>> http://www.cups.org/documentation.php/doc-1.5/man-lp.html
>>
>> The filters and the backend will get all options as argv[5].
>>
>>
>> Kind Regards
>> Johannes Meixner
>> --
>> SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg --
>> Germany HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix
>> Imendoerffer
>>
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups

As far as I know (but note that I only have some experience with Windows XP 
and earlier) passing job options beyond PPD choices requires a special GUI 
program. 
As a guideline how to develop such a beast you may look at

http://svn.easysw.com/public/windows/trunk/

Helge





More information about the cups mailing list