[cups.general] Passing information to cups printer.

Johannes Meixner jsmeix at suse.de
Tue Jul 3 01:56:13 PDT 2012


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





More information about the cups mailing list