JetTrac PDFPrint

Introduction:

The Purpose of PDFPrint is to take a generated PDF and send the document to a windows printer to print.

Technical Support:

If you need assistance in installing and configuring JetTrac PDFPrint™, call Pro Technology Automation, Inc. at 805-527-1248 or email us at support@protechinc.com. Please note that the JetTrac PDFPrint™ license fee does not cover configuration services and technical support so there may be an additional charge. Please ensure you read these instructions carefully before calling for technical support.

Required Fields within Job Step Configuration:

 

PDF File –

This will specify the file path to the pdf document you wish to print out to a windows printer.

Printer –

This field will be the name of the printer set up on your computer to print this file to. For example if I wanted it to print to the document writer found on all windows machines I would enter:
Microsoft XPS Document Writer

Print Config File –

This field specifies the file path to the configuration .ini file that has the data needed for PDFPrint to function.

Job Step Configuration Window in JobConfig for JetTrac PDFPrint:

pdfprint.PNG

When setting up a job step using JTPDFPrint in JobConfig the only lines of the config you need to worry about are the first two, the Config file, and the PDF to print. These fields should be filled with the fully qualified path to the intended file. Eg: C:\JetTrac\…\input.pdf
In JobConfig, file paths entered should not be in quotes.

As with all modules, there is a dropdown to select whether or not the job should stop completely if this step fails. If you select Yes, any error will terminate the job process and write to the log file what happened, if no, then the job will try to continue anyways. However if any steps further down the line rely on the output of a job set to not stop on error, they may not work properly.

For more specifics go to the JetTrac Field ServiceJobConfig page.

JTPDFPrint Command Line:

“C:\JTPDFPrint.exe” “C:\JTPDFPrint_Sample.pdf” “Printer Name” “C:\JTPDFPrint_config.ini” “C:\JTPDFPrint.Log”

The command line is made up five parts starting with the executable file that runs PDFPrint followed by the pdf to be printed, the name of the printer, the PDF Print config file, and ends with the log file. Each part, obviously excluding the printer name, is the fully qualified file path, in quotes, separated by a space (it doesn’t matter how many).

Configuration File:

The Configuration file is a key=value format INI file.

Lines within the .ini Config File

AutoRotate –

A flag, set to Y or N, Y means pages are automatically rotated as needed for the printer, N means that they will not be rotated.

Scaling –

Can be either set to fit or shrink. This will adjust the document to scale correctly to fit the page.

ExeFileName –

The filepath to the exe file of the PDF XChange Viewer.

WantDebenuPrint –

Can either be set to Y or N depending on if you want to use the Debenu Library to manage the printing of the pdf.

Sample log file:

AutoRotate=Y
Scaling=Fit
ExeFileName=c:\program files\tracker software\pdf viewer\pdfxcview.exe
WantDebenuPrint=N