[cups] Printing pdf file.

embedded support ftl.embedded.drive at gmail.com
Tue Dec 15 03:09:18 PST 2015


Hello,

I am trying to print pdf file using cups. I have included cups.h in my
project and able to use cups API.

I am print a pdf file using
cupsprintfile(cupsgetdefault(),"sample.pdf","Printing",0,NULL);

First time the pdf file gets printed correctly but while printing second
time it give garbage print. Everytime I have to switch Off and switch On
the printer.
Seeking help on the same asap.

Thanks and Regards,
Forbes.



More information about the cups mailing list