How to get media size of current job?

Lu binbin lbblscy at trogine.com
Fri Dec 11 06:06:34 PST 2009


Hi,
I need to get the media or paper size of current print job in my work.
In RFC 2911, I found there is a media attribute in Job Template Attribute. So I use pkipplib parse some control file (/var/spool/cups/cxxxxx),there are only Operation attributes and Job attributes.

How can i get media size of current job? Thanks!




More information about the cups mailing list