Setting Up ADS Printing
You can use this process to set up printing of production-related documents using SAP NetWeaver Adobe Document Services component, including setting up manual printing from the Document Reprint
activity and from a POD, as well as automatic printing at defined points in the manufacturing process.
You have installed and configured SAP NetWeaver Adobe Document Services component as follows:
During the SAP NetWeaver installation, select to install the Adobe Document Services
component. After the installation, check if Adobe Document Services
have been installed at http://<nwhost>:<port>/nwa
under .
Install and configure reader rights credentials (see Configuring Credential Attributes used by ADS
at .
Create a user for basic authentication as follows:
Navigate to http://<server>:<port>/useradmin
to start the User Management
.
On the Identity Management
tab page, select Search Criteria as Group
.
Choose Create Group
to create the ADSCallers
group. Save the group.
Select User
in the Search Criteria
dropdown list.
Choose Create User
and enter ADSUser for the user name, enter a password.
Under Security Policy
, choose Technical User
.
On the Assigned Roles
tab page, in Available Roles
, search for the SAP_ADSCALLER
role and choose Add
to assign this role to the ADSUser
user.
Note
The SAP_ADSCALLER
role was created during the installation of your system. Assign this role only to the users that need to access Adobe document services.
Save your entries.
For more information, see Setting Up Basic Authentication to ADS in a Java Environment
at ).
Configure WSDL destination as follows:
Navigate to the SAP NetWeaver Administrator (NWA) at http://<server>:<port>/nwa
.
Log on to the SAP NWA with a user that has administrator privileges.
In the SAP NWA, navigate to .
Choose New
to create a logical port.
Choose WSDL
as a destination type.
Enter ConfigPort_Document in the Destination Name
field.
Enter http://<host>:<port>/AdobeDocumentServices/Config?wsdl&mode=ws_policy&style=document in the URL
field and choose Next
.
Choose HTTP Authentication
in the Authentication
group box and select the User ID/Password (Basic)
indicator.
Choose the Details
button. Enter ADSUser in the User ID
field and the password in the Password
and Confirm Password
fields.
Choose Finish
to save your entries.
For more information about configuration of SAP NetWeaver Adobe Document Services
(ADS), see Configuring Adobe Document Services for Form Processing (Java)
at .
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.
You have created .XDP
template file in Adobe LifeCycle Designer and saved it in the shared folder on the server. As an option, you can use the template delivered with SAP ME.
If you want to print SAP ME field values, for example, shop order, SFC number, or NC code, you need to reference SAP ME fields and values (see Binding SAP ME Data to XDP Templates).
In System Rule Maintenance
, under the System Setup
category, you do the following:
Enter the path to the shared folder on the server, where you keep your templates in the ADS - Document Printing Template Directory
system rule, for example D:\Template
.
Enter the path to the folder on the server, for the temporary printing files, in the Document Printing Temporary Directory
system rule, for example, D:\Temporary
.
If you need to save your temporary files in the folder you specified in the Document Printing Temporary Directory
system rule, set the ADS - Storage of PDF Document
system rule to True
.
For more information, see System Rule Maintenance.
In Document Maintenance
, you create a record for each document you want to print.
On the Main
tab page, define the Print By
method.
On the Document Options
tab page, select the data groups to be printed.
On the Print Integration
tab page, do the following:
Enter com.sap.me.document$PrintingDataAcquisitionService
value in the Data Acquisition
field.
Enter com.sap.me.document$PrintingFormatAdsService
value in the Formatting
field.
Enter com.sap.me.document$PrintingTransportAdsService
value in the Transport
field; define PRINT_FORMAT
with one of the supported values (ZPL
, PDF
, PS
, PCL
, IPL
, TPCL
) and an XDC
file as User Argument
value for Transport
. An example of user argument setting for Transport
is PRINT_FORMAT=PCL;XDC=hppcl5e.xdc
.
For more information about printing formats and XDC
files, see the following table:
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 |
Note
If you do not enter an XDC
file, a default XDC
file is used.
For more information, see Document Maintenance.
In Material Maintenance
, you retrieve the material you want to associate with one or more documents. On the Documents
tab page, you associate all the documents that you want to print with this material, for example, LABEL_01
and TVLR01
.
For example, you may want to print a barcode label document with PCBOARD
, version C
, and a packing list document with PRINTER
, version A
.
For more information, see Material Maintenance.
In Printer Maintenance
, you define printers you want to use and enable them. You also indicate what document types can be printed on each printer (see Printer Maintenance).
Caution
The printer name defined in Printer Maintenance
must be equal to the printer name used by the operation system on the server where SAP NetWeaver instance of SAP ME application is running.
In POD Maintenance
on the Printers
tab page, you specify the printer for the specific document types (see POD Maintenance).
Note
If a printer is defined in User Preference Maintenance
, POD Maintenance
, and for ADS Document Print
(SY521
) in Activity Maintenance
, the system uses only a printer defined in User Preference Maintenance
. If a printer is defined in POD Maintenance
and for ADS Document Print
(SY521
) in Activity Maintenance
, the system uses only a printer defined in POD Maintenance
.
The steps above are sufficient for manual printing production-related documents using the Document Reprint
(SY510
) activity at any time after the shop order is released to the shop floor (see Document (Re)print and Manual Printing). The further steps depend on whether you also need to enable manual document print from POD or automatic printing at defined points.
If you want to enable operators to manually print documents from a POD, you associate the Document Reprint
plug-in activity (SY511
) with a button and layout in POD Maintenance
.
If you want to set up automatic printing of documents at a defined point, set up ADS Document Print
(SY521
) as an activity hook where you want the documents to print. You can set an activity hook at the site, operation, resource, or routing step level.
Insert SY521
(ADS Document Print
) at the appropriate hook point and enable the activity hook.
Specify the name of the document to be printed as the user argument.
For more information, see ADS Document Print.