Printing with Adobe Interactive Forms - Method 1: Printing with an XDC file
Assigning and importing an XDC file
Printing PDF files directly from the SAP system requires XDC files (XML Forms Architecture (XFA) Device Configuration). A printer description is stored in these files. SAP makes them available.
Instructions
To print directly in Adobe Interactive Forms, a CAB XDC file must be assigned to the device type LB_CAB.
Call up the report “RSP00022” in transaction “SE38”. Execute F8
The report shows all device types to which an XDC file has already been assigned
Check in the XDC administration whether cab XDC files are available
Search for cab203.xdc, cab300.xdc or cab600.xdc
If there is no match, you can upload an “XDC file”
If a device type does not have the required link in the above display, create a new entry Enter the device type and the XDC name. Confirm the subsequent messages.
The device type “LB_CAB” is mandatory
If a new XDC assignment is to be created, a new device type (copy of LB_CAB) must also be created
You can also edit an existing XDC assignment (for example “cab203.xdc” to “LB_CAB”)
Select “LB_CAB. Click on “Edit XDC assignment”
Enter the new XDC name. Confirm your entry
Customizing XDC file
Instructions
Call up the report “RSP00022” in transaction “SE38”
Execute F8. Start the XDC administration
Search for the corresponding cab XDC file
Select it and download it (via “Download XDC file”)
Open the XDC file with a text editor and search for “startPage”.
Change items according to your needs. See the following examples:
1 Gap label sensor
<seq id="startPage">J
S l1;0,0,<var name="pageHeight"/>,<var name="pageHeight"/>,
<var name="pageWidth"/>
</seq>
2 Reflective label sensor bottom
<seq id="startPage">J
S l2;0,0,<var name="pageHeight"/>,<var name="pageHeight"/>,
<var name="pageWidth"/>
</seq>
3 Label sensor on continuous material
<seq id="startPage">J
S e;0,0,<var name="pageHeight"/>,<var name="pageHeight"/>,
<var name="pageWidth"/>
</seq>
You can also configure other parameters such as print options or dispensing. Examples are shown below:
4 Turn label 180 degrees and optimize backfeed
<seq id="startPage">J
S e;0,0,<var name="pageHeight"/>,<var name="pageHeight"/>,
<var name="pageWidth"/>
O R, P
</seq>
5 Dispensing mode with offset in height 2 mm
<seq id="startPage">J
S e;0,0,<var name="pageHeight"/>,<var name="pageHeight"/>,
<var name="pageWidth"/>
P2.5
</seq>.
Further commands can be found in the programming instructions at
www.cab.de/en/programming
Save the customization as “z_cab300.xdc”, for example
Load the XDC file into the SAP system via the XDC administrator
Select “Create new XDC assignment”
Enter the device type and the name of the customized XDC file
Click on “Show storage location”. Select “C” and confirm your entry
Creating a cab output device with LB_CAB
Instructions
You have assigned an XDC file to the device type LB_CAB in Assigning and importing an XDC file
This can also be used for printing with Adobe Interactive FormsDieser kann auch für den Druck mit Adobe Interactive Forms verwendet werden.
Creating an output device with LB_CAB
Enter “G” as the linkage type and a local output device (without spaces) or “_DEFAULT” as the host printer
Valid for: SQUIX , MACH 4S , HERMES Q , XC Q , XD Q , 4. Printing with Adobe Interactive Forms
Last change: 11.02.2025 - 09:38