‎2006 Nov 09 12:54 AM
Hi all,
In the sap script program i need to set the printer properties, like
1. Choose the printer which the user has been using.
2. Print immediately checkBox to be checked.
Please send your suggestions,
Rajesh.
‎2006 Nov 09 1:03 AM
check out the 'options' parameter of open_form, eg
CALL FUNCTION 'OPEN_FORM'
EXPORTING
FORM = I_fonam
options = l_itcpo
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
OTHERS = 8.