2020 Nov 04 12:26 AM
Hello,
I have a smartform that has one page, and i want to print multiple copies.
The problem is that the program prints me only one copy even if I fill in multiple copies.
Here is my smartform:

And here is the screen, of which I inform the number of copies.

Thanks.
2020 Nov 04 6:36 AM
The second screenshot, is a M$ Windows pop-up.
Could you try with a printer connected to the SAP Spool ?
2020 Nov 04 8:11 AM
@bzakaria
not like word print out, I guess copies setting out of SAP is not working here. You can set this field nast-anzal at the driver program and see if you can get the correct copies.
You even can control different text for different copies by check field sfsy-copycount.
2020 Nov 04 10:09 PM
jimmy.zhang3 But I print the smartform via a program without going through NACE.
2020 Nov 04 8:28 AM
frdric.girod , We want to print multiples on local printers (connected to the user's pc).
2020 Nov 04 12:37 PM
You are not really printing the spool, but you are creating a PDF file. Does the 'PDFCreator' really handle the number of copies?
(No sure handling the parameter "number of copies" in your program (tdcopies in output_options) would be useful with this driver)
NB: Look at pdfforge forums
2020 Nov 04 5:21 PM
raymond.giuseppi I have the same problem with the printers connected locally in the users' pc.
2020 Nov 06 3:55 PM
2020 Nov 18 11:16 AM
2020 Nov 19 2:31 PM
raymond.giuseppi , It is a local printer (not declared on SAP). The prints go through LOCL.
2020 Nov 04 11:23 PM
Raymond and Frederic told you that you used the number of copies from Windows dialog. If you have an issue with it (like it prints only "one copy" i.e. the original document), it's not a SAP problem at all.
Why did you show this screenshot of the Smart Form, containing the page counter? Is that related to the question?
2020 Nov 05 1:37 AM
when to call FM of your smart form, have you try to set values of OUTPUT_OPTIONS-TDCOPIES ps: OUTPUT_OPTIONS refer to type SSFCOMPOP
2020 Nov 09 4:03 AM
jimmy.zhang3 & raymond.giuseppi , I changed the value of OUTPUT_OPTIONS-TDCOPIES. I put '3'. after the execution of the program it automatically displays 3 to me, but when I click 'OK' only one copy which prints.

Is there a change i need to make in the smartform to support multiple printing?
2020 Nov 09 4:36 AM
bzakaria I think that Raymond put you on the right track: "Does the 'PDFCreator' really handle the number of copies?" What is the result of your investigation? It's not related to Smart Forms (if you do it with a classical printer, even local, it works perfectly).
2020 Nov 18 1:17 AM
Hi jimmy.zhang3 & sandra.rossi & raymond.giuseppi ,
I was able to detect the origin of the problem (using your answers).
The problem comes from the size of the papers used in printing.
When I use A4 papers I can print multiple copies without any problem, but when I use A5 papers I can only print one copy (after indicating one copy) and when I indicate 2 or 3 copies in the print screen prints an empty page.
When I posted my question and during our discussions I used A5 papers, that's why I had this problem.
Now I want to know so that I won't have this problem with A5 papers what should I do.
For information, I can print multiple copies of a document on windows in A5 papers without any problem, on the other hand via SAP it prints only one copy and when I indicate more than one copy it is prints an empty page.
Thanks.
2020 Nov 18 5:53 AM
Are all your smart form pages defined as A5? (which means that you can choose A5 or larger page format)
Do you have copy windows in your Smart Form?
Or any specific processing related to the copies?
What number of copies is indicated in the spool?
Does the smart form trace say anything?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |