Compiling the Source Text File

Once you have created the source text file, the next step is to compile the file using the Pdfcomp (PDFCOMP.EXE) utility located in the \platform\SYSTEM\PRINTSRV directory of the SNA Server CD-ROM. To run Pdfcomp, enter the following at the Windows NT command prompt:

pdfcomp input_file output_file

You must specify the full name (including file extensions) of the input and output files.

For example, to compile the sample PDF file, copy PDFCOMP.EXE and HPLJ2.PDF to a directory on the server's hard drive, start a command prompt, change the current directory to the directory containing the copied files, and enter the following at the prompt:

pdfcomp hplj2.pdf hplj2.pdt

This will create the binary PDT file in the current directory. Specifying this file in the properties of a printer session will allow Host Print Service to send preformatted data to the printer, bypassing the formatting function of the Windows NT printer driver.