New Forum | Previous | Next | (P-PDF) Developers
Topic: Embedding PostScript commands
Conf: (P-PDF) Developers, Msg: 108196
Date: 3/24/2004 02:20 AM
I am evaluating a Lexmark printer that contains a build-in PDF processor, allowing you to print by sending a PDF file via LPR directly to the device (negating the need for a Windows driver).
However, I need to set various printer options for each page of the PDF file, and am told that I should insert the appropriate PostScript commands into the PDF file. After much banging of heads, I am getting nowhere.
For example, I may wish to enable duplexing, which can be done using a PS command such as:
<< /Duplex True >> setpagedevice
However, I have no idea how I would embed such a command in a PDF file - do I create an obj/endobj object for this? I don't know where to start.
The PDF files I use are generated using a Windows driver (Win2PDF) and once generated, I can easily edit the contents of the file before sending it to the printer.
Any comments on embedding printer specific commands in a PDF file would be most welcome.