on 10-26-2010 8:10 AM
Hi,
I have requirement as follows: Print two different forms, one is SAP script and other one is Smartform
to different printers with one driver program ?
Can I print as per the above case ? If yes, how ?
Thanks...A
Moderator message: please use more descriptive subject lines from now on.
Edited by: Thomas Zloch on Oct 26, 2010 9:52 AM
Problem solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Its very easy....You can define printer properties for forms individually....
Use another SAP printer:
itcpo-tdimmed = 'X'.
itcpo-tdnewid = 'X'.
itcpo-tddelete = ' '.
itcpo-tdcopies = '1'.
itcpo-tdlifetime = '1'.
itcpo-tdprogram = sy-repid.
*itcpo-tddest = 'LOCL'.
itcpo-tddest = <SAP PRINTER>.
itcpo-tdpreview = ' '.
itcpo-tdsenddate = sy-datum.
itcpo-tdsendtime = ' '.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = ' '
form = 'ZTRAVELER'
language = sy-langu
OPTIONS = itcpo.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. yes
2. make a print program, get your data, call sap-script using FM OPEN_FORM, when returned call SMARTFORM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.