[cups.development] [RFE] STR #2265: printer location via cupsGetDests

Stefan Gohmann gohmann at univention.de
Tue Feb 27 05:44:10 PST 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Hello,

it would be nice, if I could get the printer location via the API call
cupsGetDests. At the moment I didn't get the location, for example with a
little test program I got the following output:

Printer: test
 Name: Value
 job-sheets: none,none
 printer-info: drucker
 printer-is-accepting-jobs: 1
 printer-is-shared: 1
 printer-make-and-model: HP Color LaserJet 5M Foomatic/hpijs
 printer-state: 3
 printer-state-change-time: 1172565988
 printer-state-reasons: none
 printer-type: 45084

And the part of the printers.conf:
<Printer test>
Info drucker
Location da
DeviceURI ipp://192.168.0.8/print_200-216
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

Cheers,
Stefan

Link: http://www.cups.org/str.php?L2265
Version:  -feature





More information about the cups-devel mailing list