[cups.general] Network printing with CUPS 1.6.x
Michael Sweet
msweet at apple.com
Wed Aug 29 09:06:15 PDT 2012
Till,
On Aug 29, 2012, at 11:45 AM, Till Kamppeter <till.kamppeter at gmail.com> wrote:
> ...
> Now my questions:
>
> 1. Is there a way for applications to list also the remote printers in
> their printing dialogs and to print on them without creating local
> static queues and without modifying the code of the applications?
Not at this time. We have looked at a variety of ways to maintain a dynamic list of printers in the background on behalf of applications, but all of them require at least one function call to start the background thread (we don't want to do it automatically just because you have linked against libcups in some way...) or changes to cupsd that make it run all the time which isn't good for resource/power usage.
> 2. If the cupsEnumDests() function reports
>
> Added 'Berlin - Fast Double-Sided Color multi-function @ till-lenovo':
> printer-info="Berlin - Fast Double-Sided Color multi-function @
> till-lenovo"
> printer-location=""
> printer-make-and-model="Hewlett-Packard HP Color LaserJet CM3530 MFP"
> printer-type="8425694"
>
> printer-uri-supported="ipp://Berlin%20-%20Fast%20Double-Sided%20Color%20multi-function%20%20%40%20till-lenovo._ipp._tcp.local/cups"
>
> how do I print on this printer without creating a local static queue
> pointing to the given URI?
Use the cupsDestCreateJob, cupsDestStartDocument, etc. functions instead of the old cupsCreateJob, cupsStartDocument, etc. functions.
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list