If I am printing programmatically using cups.h, how do I find out what formats the printer will accept? For example, HP printers probably accept HPGL, but others may not. Some of the common possible printing formats are EPS, Postscript, PDF, HPGL, and PCL. How do I query the printer to find out which ones it will accept?I would also be interested in knowing how to do it from the command line.
How can I tell what formats a printer accepts?
printing