cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript - Number of messages > 1 - wrong order

michael_fallenbchel
Active Participant
0 Kudos

Morning experts,

one short question:

I tried to print out an invoice, number of messages = 2. When "Print immediately" is not marked (only held in spool), I will get one spool file with the original and the copy. Everything's fine.

When I mark "Print immediately" I will get 2 spools - one for the original, and one for the copy. Also fine.

But now comes the problem:

One printer print these 2 spool files in the correct order (first original, then copy), it's a Unicode printer (see note 750219). The other printer (HP8000N) prints first the copy, then the original...

What can be the problem?

Thanks

Michael

Accepted Solutions (1)

Accepted Solutions (1)

jie
Advisor
Advisor
0 Kudos

Hello Michael,

May I know how you distinguish the original file and the copy one?

regards

Jie Bai

michael_fallenbchel
Active Participant
0 Kudos

Morning Jie,

I'm doing this in the print program:

I have a While statement for the number of copies. In each loop I add 1 to a counter. Depending on this counter, I print the text "Copy" or not. I already debugged - my counter is correct, first  loop it's 0, second loop 1 and so on...

Regards

Michael

michael_fallenbchel
Active Participant
0 Kudos

I tried again now.

printed the invoice on my 2 printers, number of messages 2, print immediately marked.

When I check the spool for this, i got these spool files:

Printer UNICODE

Sppol number 10001 Original

Sppol number 10002 Copy

First the original is printed, then the copy (correct order).

Printer HP8000N

Sppol number 20001 Original

Sppol number 20002 Copy

First the Copy is printed, then the original (wrong order).

I absolutely don't know what can cause the problem...

Thanks for your help

Michael

jie
Advisor
Advisor
0 Kudos

Hello Michael,

Pls try the following setting.

In the output device setting for printer  HP8000N,click tab 'output attributes',check on the option

'process requests sequentially'.Hope this helps.

Regards

Jie Bai

michael_fallenbchel
Active Participant
0 Kudos

Damn, sometimes it could be so easy 🙂

Thank you very much!

Answers (0)