Printing Adobe Acrobat PDF Files with iSeries Office Integrator - Support

Printing Adobe Acrobat PDF Files with iSeries Office Integrator

From Support

Jump to: navigation, search

This article describes printing PDF files using the iSeries Office Integrator - Version 2.0:

Version 2.0 - 4/2/2006

Version 2 of the RJS Print PDF Utility will now allow users to not return to the iSeries until printing is complete. This version can also auto-delete PDF documents after printing.

Prerequisute Requirements - Adobe Acrobat Reader Version 7.0 or above.

1.) Install the Adobe Acrobat 7.0.x reader from the Adobe web site

http://adobe.com/products/acrobat/readstep2.html

Adobe Acrobat Reader Version 7.07 can be downloaded from RJS Web Site

Adobe Acrobat

2.) The RJS iSeries Office Integrator must be installed and running on your PC.

3.) The RJS PDF Print utility must be installed on your PC. The utility can be downloaded from the following link:

http://downloads.rjssoftware.com/files/rjsoffice/rjsprintpdf/rjsprintpdfsetup.exe

Run the installer to install the RJS Print PDF Utility.

4.) Listed below is a sample of how to print a PDF file using the iSeries Office Integrator OFCRUNPC command. Always delimit parameters with the tilde (~) character.

P1 = PDF File Name

P2 = Printer Name (printer names are case sensitive, so make sure they match)

P3 = Close All Document in Reader after printing. ('''true'''-Close all docs. '''false'''-Do not close all docs)  This makes sure no documents are still open since the Adobe reader stays in memory after printing.

P4 = Delete PDF document after printing.  ('''true'''-Delete PDF document file after printing. '''false'''-Do not delete PDF document file after printing)  This option allow you to automatically specify that printed PDF document are deleted automatically after printing. 

Note: In some cases the PDF file may not delete if it is read-only or if some other app has a lock on the PDF file or it has been left open in the reader.

Ex: Print PDF Document to HP LaserJet 5 printer. Do not close all document or delete the PDF after printing

OFCRUNPC RMTSYS(*CURRENT) CMD('C:\progra~1\RJSPrintPDF\rjsprintpdf.exe "c:\report.pdf~HP LaserJet 5~false~false"') OPTION(*SHELLWAIT)                                                                                                                                                        

Ex: Print PDF Document to HP LaserJet 5 printer. Close all documents after printing. Do not delete the PDF after printing

OFCRUNPC RMTSYS(*CURRENT) CMD('C:\progra~1\RJSPrintPDF\rjsprintpdf.exe "c:\report.pdf~HP LaserJet 5~true~false"') OPTION(*SHELLWAIT)                                                                           

Ex: Print PDF Document to HP LaserJet 5 printer. Do not close all documents after printing. Delete the PDF after printing

OFCRUNPC RMTSYS(*CURRENT) CMD('C:\progra~1\RJSPrintPDF\rjsprintpdf.exe "c:\report.pdf~HP LaserJet 5~false~true"') OPTION(*SHELLWAIT)                                                                           

Ex: Print PDF Document to HP LaserJet 5 printer. Close all documents after printing and delete the PDF after printing

OFCRUNPC RMTSYS(*CURRENT) CMD('C:\progra~1\RJSPrintPDF\rjsprintpdf.exe "c:\report.pdf~HP LaserJet 5~true~true"') OPTION(*SHELLWAIT)
Personal tools