[cups.development] Accessing user name from PPD?

Michael Sweet msweet at apple.com
Wed Jan 6 07:52:08 PST 2010


On Jan 6, 2010, at 3:20 AM, jens.stark wrote:
> Hi!
> 
> I have a problem - need to put the user name into a vendor-specific PJL option.
> Is there a way to access it from within the PPD or some other well-known way of doing so? I might have overlooked something blatantly obvious, so if I did, please let me know!


For the general case, no.  For the rastertopclx driver, you can use the %u escape in the corresponding cupsPJL attribute value(s).

___________________________________________________
Michael Sweet, Senior Printing System Engineer







More information about the cups mailing list