on 09-12-2005 2:09 PM
Printing from Internet TransactionServer(ITS)
Posted: Sep 12, 2005 7:23 AM Reply E-mail this post
Hi All,
I have a list for example.
Write "hello World".
I would like top print this list on the local printer on the press of the push button 'PRINT'.
I have done this in the R/3 but when i am trying to print the same list over the ITS , i dont see any output.
I have used GET_PRINT_PARAMETER form to print this list.
Is it possible to print this list using ITS also?
Please help. Its urgent.
Thank you
Best Regards
Ankush
Yes . It's much possible .
In your program , just use
W_OPT-TDDEST = 'LOCL'. "default to local printer
W_OPT-TDIMMED = 'X'. "print immediately
W_OPT-TDDELETE = ' '. "delete after print
W_OPT-TDNEWID = ' '. "new spool request
W_OPT-TDPRINTER = 'X' .
W_OPT shd be of the type ITCPO.
CALL FUNCTION 'OPEN_FORM' "open layout set
EXPORTING
DEVICE = 'PRINTER'
DIALOG = ' '
FORM = W_LAYOUT_SET
LANGUAGE = SY-LANGU
OPTIONS = W_OPT.
OPTIONS = USER_PRINT_PARAMS.
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 01
DEVICE = 02
FORM = 03
OPTIONS = 04
UNCLOSED = 05.
*
-
I suggest you to go for SAPSCRIPT / smartform .
i have done this before . If u hav any Query ,revert back to me .
Rgds,
J
Do Awrd Points by Clicking options at the Left hand side of this info .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jothy,
I am also facing the same Print Problem in ITS , how would you achieved this ? I am trying to get default printer in ITS but i dont find. It finds in SAP GUI .
I know that some issue is with ITS for finding LOCAL printer.
Could you tell me how did you solved this issue.
I appreciate your response
Thanks
Pradeep Reddy
Hi Ankush,
Local print is a known problem (see note 314568). You don't indicate the version SAP you are connecting to but note 351230 has a solution for 46 or better that sends the output to Adobe Acrobat.
Regards,
Russ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.