Good day,
I am wondering if anyone knows how to dynamically determine what printer output tray or bin should be used within the print program of a SAPscript form? I am would like certain documents in a large billing run to print to another output tray if they match certain criteria.
Any ideas how to set up the BASIS side (printer config?) as well as the ABAP side?
Any help is greatly appreciated.
Thanks!
Hello Geoff.
The printer has to have correct driver. U can see it in transaction SPAD. In our case the print control SOB0X(X=0,1,2,3,4,5...) is used for output bin.
So when printing a sap script put, print-control: SOB0X, in the first windows/element.
Similar when print abap list.
Regards,
Gunnlaugur
Hi Geoff,
For each tray of the printer you want to use you have to define a separate page in the SAPscript form. One of the attributes of a page is the "Resource". Here you can specify values for the tray, e.g. TRY01 is tray 1.
In your print program you can then use START_FORM to specify which page to be used and thus which tray to be used for printing.
Regards,
John.
Add a comment