[cups.development] How to print a string or a document

Michael Sweet msweet at apple.com
Thu May 24 19:04:17 PDT 2012


You'll need the CUPS developer packages installed...


On May 24, 2012, at 6:59 PM, liutzh wrote:

> Hi Sir,
> 
> Thanks for your kindly answer.
> I have try those functions,but while i write my source as below:
> #include<cups/cups.h>
> it told me that the cups.h could not be found.
> So,should i install some package while developing CUPS application?
> Thank you very much.
> 
>> See:
>> 
>> 	http://www.cups.org/documentation.php/api-cups.html
>> 	http://www.cups.org/documentation.php/api-httpipp.html
>> 
>> Look at the cupsCreateJob, cupsStartDocument, cupsWriteRequestData, and cupsFinishDocument functions.
>> 
>> On May 24, 2012, at 8:26 AM, liutzh wrote:
>> 
>>> Dear sirs
>>> 
>>> I'm a newor at cups programming,so i would like to consult you that how to print a string or a document via cups api.
>>> Thank you very much!
>>> _______________________________________________
>>> cups-dev mailing list
>>> cups-dev at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>> 
>> ________________________________________________________________________
>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>> 
> 
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups-devel mailing list