Thu 23 Feb 2006
Printing work is going smoothly. I was able to get PPD’s today and they integrate great with the dialog/settings work Alex is doing. Well, as good as generated UI can be. You don’t even notice it is all being done async.
I also moved out the CUPS async code so it is less dependent on GLib, though I still use glib calls and datatypes. It would be easy to move it to CUPS if anyone is interested. Basiclly a request is created that wraps a CUPS request, you add attributes to it (just like a CUPS request) and then you can step through the internal state-machine by simply calling egg_cups_request_read_write. Hook it up to a GSource (done in the backend API’s) and you are good to go.
I currently have GET and POST implemented with some of the edge cases ignored for now (we need to find a good way to upgrade connections without having to block for authentication input).
[read this post in: ar de es fr it ja ko pt ru zh-CN ]
February 24th, 2006 at 1:28 am
Isn’t IPP done purely with POST requests rather than GET requests?
February 24th, 2006 at 2:19 am
Never mind. I’m guessing it is for the PPD downloading (http://host:631/printers/$printer.ppd), which isn’t handled inside the IPP protocol.