Setting up a PDFG Network Printer (Windows only)
PDFG Network Printer allows users to generate a PDF document from any application that supports printing. After a user installs the PDFG Network Printer, a new printer named PDF generator appears in the Printers section of the Windows Control Panel. If a printer with the same name already exists, the user is prompted to provide another name.
Printing to this printer from any application sends the document (in PostScript format) to PDF Generator, which converts the PostScript file to PDF. Depending on how you configured PDF Generator, it sends the PDF document to the user as an attachment to an email message, forwards the PDF document to a specified AEM forms service or process, or performs both actions.
The following steps are required to set up a PDFG Network Printer:
- Configure email settings. (See Configure email settings for PDFG Network Printer .)
- In administration console, configure the PDFG Network Printer settings. (See Configure the PDFG Network Printer settings .)
- Ensure that your users are configured with a valid email address in the AEM forms database and assign the PDFGUserPermission to each user.
- Ensure that 32-bit JRE6 is installed on your users’ computers.
- Install the printer on your users’ computers. (See Install PDFG Network Printer on a user’s computer .)
Configure email settings for PDFG Network Printer
- In administration console, click Services > Applications and Services > Service Management.
- On the Service Management page, click provider.email_sendmail_service, specify the SMTP settings, and click Save.
Configure the PDFG Network Printer settings
- In administration console, click Services > PDF Generator > PDFG Network Printer
- To send the converted PDFs back to users, select the Email The Converted PDF File Back To The User option and specify the following information:
- The email address to use to send PDFs to the users
- The subject of the email message
- The header, body, and footer of the email message. In the email message, <receiverName> is replaced with the full name of the user who printed the document.
- To send the converted PDFs to a AEM forms service or process, select the Forward The Converted PDF To The Specified AEM forms Service Or Process option and specify the following information:
- The name of the service to invoke
- The name of the operation of the service to invoke
- The name of the input parameter, as specified in the component.xml file of the service or process. The PDF document will be used as a value for that input parameter.
- Click Save.
If you want to revert to the original default email text, click Restore E-Mail Contents.
Install PDFG Network Printer on a user’s computer
Users who have either the PDFG Administrator or PDFG User role can install a PDFG Network Printer. You must have a 32-bit JDK installed on the computer.
- (PDFG Administrators) In administration console, click Services > PDF Generator > PDFG Network Printer.(PDFG Users) Go to http(s)://[host]:[port]/pdfgui and click the link under PDFG Network Printer Installation.
- Under PDFG Network Printer Installation, click the link. When prompted for user account information, specify the user name and password that you used in step 1 to log in. A message appears, stating that the printer has been successfully installed.note : If the user’ password changes, then users will need to reinstall the PDFG Network Printer on their computers. You cannot update the password from administration console.
- Click OK.