Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP print problem

Former Member
0 Likes
674

Hi,

In SE71 transaction (Form painter) I have a form ZOPTRAT610_USA. It is a check.

My print program (RFFOUS_C) launch ZOPTRAT610_USA.

I have 3 paper colors on my laser print and I want that my print program prints 3 times ZOPTRAT610_USA but I can't modify RFFOUS_C because its a standard program.

Can I set number of copies of ZOPTRAT610_USA??

Thanks in advance.

Best regards.

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
639

Hi!

I'm not so sure, but I think number of copies is also defined in the print program.

But it's a very common thing to copy a standard print program and make some changes.

3 copies won't be your solution - 3 yellow paper isn't what you want to have. You need to trigger the different paper slots. Maybe this is only possible with defining different printers in SAP, physically the same, but with different attributes. Then you need to print your form once on three printers.

Regards,

Christian

5 REPLIES 5
Read only

christian_wohlfahrt
Active Contributor
0 Likes
640

Hi!

I'm not so sure, but I think number of copies is also defined in the print program.

But it's a very common thing to copy a standard print program and make some changes.

3 copies won't be your solution - 3 yellow paper isn't what you want to have. You need to trigger the different paper slots. Maybe this is only possible with defining different printers in SAP, physically the same, but with different attributes. Then you need to print your form once on three printers.

Regards,

Christian

Read only

0 Likes
639

Can i define a printer for a each different form? If yes, said me where, please.

A lot of thanks in advance.

Regards

Read only

0 Likes
639

Hi!

I thought you have just one form. You have two options.

- The customizing way: define three messages, in message condition type (different) printer can be defined.

- The programming way: in (or below) your 'entry' form you call the output three times. Set the printing parameters in program beforehand (at least for 2nd and 3rd call) to the different printer (e.g. by replacing the last place of printer name by '2' and '3').

Regards,

Christian

Read only

0 Likes
639

Yes, you can define different printers and specify the DEFAULT TRAY for each one. However, you don't want to do the check run three times. You would have to modify the program and send each page to each of the three defined printers. It could get complicated.

Another option... on the PAGE of your SAPscript layout set, the field RESOURCE NAME is used to select the tray. Check the help on this field and you see values TRY01, TRY02, TRY03. Each tray would have a different color paper.

This field sends the PRINT CONTROL (escape sequence) for the specific printer device type assigned to your printer. It will only work if your printer has the escape sequences defined correctly in SAP. You can also defined your own Z type and add the escape sequences. Or you can hard code them in your layout set.

What device type are you using?

Though it is common to copy the print program, I understand that most people do not want to copy the RFFOUS_C program because of its complexity and because it is critical for check runs and needs to be kept up to date with support packages/upgrades.

There are other ways to do it, but it makes a complicated SAPscript layout set. You can set up pages FIRST, PAGE2, PAGE3, and NEXT. Assign each page to the resource (tray). Set up the sequence to go from FIRST to PAGE2 to PAGE3, then start over with NEXT to PAGE2 to PAGE3. You have to add many DEFINE statements to capture the data and then use it on the subsequent pages. Only pages FIRST and NEXT actually have the real variables from the print program. The others would use your DEFINE fields. I did this for a customer that wanted three copies on the check on each single page. No changes were made to RFFOUS_C.

I had another customer that asked for this very same request. They wanted multiple copies of their checks. In the end, it was faster to purchase a copier, do the normal check run, then run them through the copier with different color paper.

Message was edited by: Norman Salter

There is a standard SAP program and layout set to test the resources of your printer through SAP. It sends a page to each of the trays. Unfortunately I can not remember the names! I will look.

Read only

Former Member
0 Likes
639

Hi ,

I think its possible to specify the tray number in print paramenters bucket.

U will have to do some research to find out which parameter is that.

regards,

Sumeet Mishra