on 01-23-2008 8:43 AM
Hi Gurus,
I want Ur help to resolve these problems.
1. I want to print 'Duplicate copy' While taking print of a form morethan once.
but it should be handled directly by coding.
2. i want to take 2 copies of print at a time automatically. we should not manually
change printer settings.
Its urgent.
Hi Bhuvana,
Inthe open_form there is one exporting parametr called OPTIONS in that pass the number of copied to be printed .
OPTIONS-TDCOPIES = '1' or '2' or '3' etcc
Please reward points if useful
Regards,
Nageswar
Edited by: nageswar vattikuti on Jan 23, 2008 9:52 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurus,
sorry not able to reply immediately.
I cant able to solve this problem based on ur tips.
juat i do the following :
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZSAP'
LANGUAGE = SY-LANGU
OPTIONS = '2'.
but i get dump error.
plz give me the solution in detail.
Regards,
Bhuvana.
Edited by: bhuvaneswari janarthanan on Jan 28, 2008 8:05 AM
Hi ,
In the optins dont give value 2 directly . there are lots of parametres include in that.
thats why you are getting dump.
do as following.
Data: wa_options type ITCPO.
wa_optinos-TDCOPIES = '2'.
then call the function module.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZSAP'
LANGUAGE = SY-LANGU
OPTIONS = wa_options.
Hopes it will resolve your issue.
Regards,
Nageswar
Hi Guru,
thank u very much.
i tried in this way, error will be corrected.
options-TDCOPIES = 2.
append options.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZSAP'
LANGUAGE = SY-LANGU
OPTIONS = options.
what abt my 1st question? did u know that.
the question is
i have to print 'duplicate copy' in the print copy, if i take print a paticular page more that once.
i did this using program, but i want to know is there anyway to print this automatically in the print out.
For this you need to set the flag or count variable in your program and based on this flag/counter you can print the text in your script.
To explain you deeply I need your development because I dont have such requirment and cant change the code for you in my developments.
But definately you have solution.
Regards,
Nageswar
Hi,
Whats your update? Resolved
Regards,
Nageswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
u can maintain it in OUT-PUT type u assign for printing , there u can give No. of COPY required.
reward if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.