Joe
Joe

Reputation: 3035

Is there a way to print a file and don't do anything to the file

Is there a way to print a file to a custom printer and do nothing to the file.

I mean, could I print a pdf-file and just have the file be sent through the printer as a pdf file, instead of as a postscript or a pcl file?

Or I mean could I catch the file before it is being "converted"?

Best regards Joe

Upvotes: 0

Views: 1752

Answers (1)

David Heffernan
David Heffernan

Reputation: 613451

Could I print a PDF file and just have the file be sent through the printer as a PDF file, instead of as a PostScript or a PCL file?

If you have a printer that understands PDF then this would be possible. However, I know of no such thing. Invariably printers are either PostScript or PCL.

You should not be constraining yourself to specific printer languages unless you are writing a printer driver. Otherwise you'll need to use a PDF library to interpret the PDF and then send it to the printer via GDI and the printer driver software.

Upvotes: 1

Related Questions