Discussion:
Vector data printing example for programmers
Elmi
2013-01-25 09:29:06 UTC
Permalink
Hi,

I already found the very detailled CUPS developer information. But I did not found any example that shows which of the described functions have to be used in which order to get some results (so the manual seems to start with the details and forgets the general overview).

So my question: is there a simple programming example available somewhere that demonstrates how to send some vector data (polylines and dots) to a printer usingthe API and no external utilities?

Thanks!
Michael Sweet
2013-01-26 00:07:55 UTC
Permalink
CUPS supports PostScript and PDF printing, which gets converted as necessary for each printer. So what you need to do is generate a PostScript or PDF file and then submit that for printing..,


Sent from my iPad
Post by Elmi
Hi,
I already found the very detailled CUPS developer information. But I did not found any example that shows which of the described functions have to be used in which order to get some results (so the manual seems to start with the details and forgets the general overview).
So my question: is there a simple programming example available somewhere that demonstrates how to send some vector data (polylines and dots) to a printer usingthe API and no external utilities?
Thanks!
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
Continue reading on narkive:
Loading...