[cups.development] Sending Print Packets (for lack of a better word) to CUPS
Michael Sweet
msweet at apple.com
Wed Mar 3 13:45:30 PST 2010
If you want to print directly, you'll need to do more than stream print data - CUPS (and cupsd specifically) is an IPP-based print server, so you'll need to generate IPP messages and post them using HTTP over the normal CUPS ports.
Some people have setup raw socket listeners via xinetd/inetd that basically pipe their output into lp or lpr, which then generate a Print-Job request for the local cupsd.
On Mar 3, 2010, at 1:36 PM, andrew wrote:
> Hi (anybody who can weigh in),
>
> If I were to build an external application to talk to CUPS (ie. CUPS on one server, app on another), is there a specific way in which to communicate to it? Can I simply forward messages to port <cups port> and have it print away? Or is there a very specific set of parameters/values I need to send once I'm able to open up a socket connecting to the CUPS server on the application side?
>
> If this is confusing please let me know.
>
> Thanks,
>
> Clyde
> _______________________________________________
> 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
mailing list