ADS Printing
You use this action to convert data into PDF, save and print reports and labels.
You have installed and configured SAP NetWeaver Adobe Document Services component. For more information about configuration of SAP NetWeaver Adobe Document Services (ADS), see Configuring ADS Printing
in SAP Manufacturing Integration and Intelligence 15.0 Configuration guide.
You have set up one or more network printers on your system network and installed printer drivers on the server. Note that after installing a new printer on Windows, SAP NetWeaver server must be restarted for having access to the printers.
You have granted appropriate rights to SAP NetWeaver Services starting user to access the network printer. By default, SAP NetWeaver starting user is a local user that cannot access networks resources like network printers. Contact your system administrator for more information. If SAP NetWeaver starting user has been changed, stop SAP NetWeaver from sapmmc
console, then stop corresponding OS services and start all of them again.
The properties for this action are listed in the following table:
Screen Name | Property Name | Data Type | Access | Description |
|---|---|---|---|---|
|
| XML | In and out | The XML data for content to print |
|
| String | In and out | The document template used to print this document. You can use Adobe Life Cycle Designer to generate the |
|
| Boolean | In and out | If selected, allows to send file to the selected printer |
|
| String | In and out | Name of printer to use |
|
| String | In and out | Allows to select printing format. For more information, see |
|
| Integer | In and out | The number of copies for each run |
N/A |
| String | In and out | The name of XDC file. For more information on possible supported file names, see |
|
| Boolean | In and out | If selected, allows to enter full path of file |
|
| String | In and out | PDF file path and name |
N/A |
| String | Out | The base64 encoded bit stream of generated PDF. This string is used only when the property |
|
| Boolean | In and out | Allows to control PDF output if property |
N/A |
| Boolean | Out | Used to inform the user that the document is saved successfully |
N/A |
| Boolean | Out | Used to inform the user that the document is printed successfully |
N/A |
| Boolean | Out | Used to indicate if the action is executed successfully |
Note
You can view the dynamically generated PDF directly from Web browser.
To do this, proceed as follows:
Create a transaction named pdfGen
.
Configure the ADS Printing action.
Enable the Output PDF as Base64 String
setting.
Link the base64
output string to you transaction property, for example, pdfString
Launch your Web browser with this URL, you will see the dynamically generated PDF directly: http://<host>:<port>/XMII/Runner?Transaction=pdfGen&OutputParameter=pdfString&IsBinary=true&Content-Type=application/pdf
.
Note that you can use any name for a transaction and property, but make sure that it is consistent with the name in a URL.
Printing Format | XDC File | Description |
|---|---|---|
|
| Supports data for rendering output in PDF 1.5 (default) Supports data for rendering output in PDF 1.6 Supports data for rendering output in PDF 1.6 and 1.7 Supports data for rendering output in PDF/A |
|
| For use with 203 dpi Datamax printers For use with 300 dpi Datamax printers (default) For use with 406 dpi Datamax printers For use with 600 dpi Datamax printers |
|
| For generating PCL output on an HP 4350 printer For use with PCL printers that support the HP PCL 5c printer language For use with PCL printers that support the HP PCL 5e printer language (default) For generating PCL output on a Lexmark T644 printer |
|
| For generating PostScript output (monochrome and color) on an HP 4350 printer For generating PostScript output (monochrome and color) on a Lexmark T644 printer For use with printers that support PostScript language level 2 (monochrome) For use with printers that support PostScript language level 2 (monochrome and color) (default) For use with printers that support PostScript language level 3 (monochrome and color) For use with printers that support PostScript language and use MT (Monotype) font names |
|
| For use with 203 dpi Intermec printers (default) For use with 300 dpi Intermec printers For use with 400 dpi Intermec printers |
|
| For use with 203 dpi Toshiba printers For use with 305 dpi Toshiba printers (default) For use with 600 dpi Toshiba printers |
|
| For use with 203 dpi Zebra label printers For use with 300 dpi Zebra label printers (default) For use with 600 dpi Zebra label printers |