Re filePro PDF option
Richard Kreiss
rkreiss at gccconsulting.net
Fri Feb 19 13:42:34 PST 2016
Thanks to fpSupport, I have been able to get the form NNN option working to create a PDF.
There are some steps needed which aren't initially apparent.
1. From input processing you will need to run two (3) Printer commands
a. Printer type "FPML"
b. Printer file "PDF:"{"FileName.pdf"
c. Printer Reset
@keyF - allows the user to select a printer and the form letter to print.
Now the users selects Print or PDF and then the form letter
The output process is extremely fast.
When @keyF is executed, the first step was to allow for selecting which printer and then looped back to select which form letter to print.
When I added the PDF option, the program now pops up a listbox to select Printer or PDF. The selection was saved in a long variable. Once the selection is made either Printer type "FPML" is run or the list of available printers appears. The program returns to a menu to select the form letter to print. Once the form letter was selected, if this is to be a PDF, the where (directory\filename) is assigned. The location of each form letter is slightly different as is the name of the document. Once where (drive{"\pfspool\directory\letterType_Master_code_date", the next printer command is executed - Printer file "PDF:"{Where{".PDF" (It was easier to add .PDF once and not have to update multiple code line).
Once the print job is complete, either to the Printer or PDF, Print Reset is executed. This will restore the default printer configuration.
I know Printwiz is easy to use and has much more functionality, but in this case, one can put the PDF file anywhere and it is transparent to the user (it can be easily placed on the user's desktop).
More information about the Filepro-list
mailing list