[cups-devel] can we print to a file even if there is no printer

My Sadhukhan psadhukhan at gmail.com
Thu Feb 22 22:57:53 PST 2018


Hi,

I tried printing to a file in a system where there is no printer using this
code

cupsPrintFile("./out.ps", "hello.txt", "title", 0, NULL);
but it does not create out.ps.
Is it mandatory to have a printer to print to a file too?

Regards
Prasanta


More information about the cups-devel mailing list