[svlug] Printer Drivers

cheng renquan crquan at gmail.com
Mon Aug 6 12:07:13 PDT 2012


On Mon, Aug 6, 2012 at 9:54 AM,  <norm at dad.org> wrote:
> I need to write a program that will query a Linux printer driver, for things
> like minimum page margins, available resolutions, duplex capability, etc.
>
> Is there any documentation about how to do that?

Under Linux with cups, you may want to try lp series commands
http://cups.org/documentation.php/doc-1.5/options.html

$ lpoptions
auth-info-required=none copies=1 device-uri=...

>
>     Norman Shapiro
>     798 Barron Avenue
>     Palo Alto CA 94306-3109
>     (650) 565-8215
>     norm at dad.org




More information about the svlug mailing list