cancel
Showing results for 
Search instead for 
Did you mean: 

Selection of output tray

former_member217677
Participant
0 Kudos

Hello,

I have a following question for OUTPUT tray selection:

1. We have 3 different production order lists (OPK8 - > LG02, LV02,  LK01).

2. We have a printer with 7 different output trays.

3. We need to print LG02  in output tray Nr. 1, LV02 in output tray Nr. 2 and LK01  in output tray Nr. 3

4. SAP Script Form should be NOT changed, due to printing of shop floor papers on different printers.

Is there any way to select right output tray in SPAD depends on production order list?

Maybe there are another settings in OPK8, etc for right setup?

Many thanks in advance,

Evgenij

Accepted Solutions (1)

Accepted Solutions (1)

former_member217677
Participant
0 Kudos

Hello all,

problem is solved now.

Solution:

  1. Copy one printer to 3 printers.
  2. Delete all print-controls from sapscript form.
  3. Create 3 device types in SPAD, as copy from original device type
  4. Link 3 device types to each printer
  5. Update formats for each device type -> DIN4 - >Printer initialization
  6. By the section Output Tray, remove hash tag, eg.  OTRY 3;

Issue closed.

Answers (1)

Answers (1)

Florian
Active Contributor
0 Kudos

Sure, u need to create new printers in spad and to specifiy the output tray. After it you will be able to choose the correct printer in the finding of the messages.

But it would be much easier to just modify the driver-program.

Regards

Florian

former_member217677
Participant
0 Kudos

Hi Florian,

I think I found the place for linking the production list and output tray.

Its in the sapscript form itself.

IF &PRINT_CO-LSTID& = 'LG02'

    PRINT-CONTROL ZBIN1

ELSEIF &PRINT_CO-LSTID& = 'LK01'

    PRINT-CONTROL ZBIN3

ELSEIF &PRINT_CO-LSTID& = 'LV02'

    PRINT-CONTROL ZBIN5

ENDIF

Using PRINT-CONTROL it calls new defined output type (ZBINX) for the printer with defined output trays.  But I still fighting with the right settings for driver, hex numbers in print control.

Florian
Active Contributor
0 Kudos

Hi Evgenij,

good that you solve your problem. That is also a possible.

I just didn't mentioned this solution, because you said, that the sapscript should not be changed at all.

Regards

Florian

former_member217677
Participant
0 Kudos

Hi Florian,

unfortunatelly the problem is not solved. I tested all possible solutions, but nothing works.

Even if I set PRINT-CONTROL production papers are not coming in defined output tray, only in the standard one.

Is there any way to trace the problem?

I changed device types, print control with new haxadecimal numbers for output tray, still no good result.

I think only way is to copy the printer under  3 different names.

Florian
Active Contributor
0 Kudos

Hi Evgenij,

what printer-driver do you use?

Do you got an printer-server between?

Another big question is, do you got the pcl-commands for the printer itself?

I'm not pretty sure, if you really need to add your commands to the driver.

What about the TRY01 - 05 Commands.

Btw, did you test another windowsdriver? You know, perhaps you can have a look at the vendor-program offered from SAP. Maybe there is a driver, which helps you out.

Regards

Florian

former_member217677
Participant
0 Kudos

Hallo Florian,

I'm using for Kyocera FS-9130DN driver = KYOAAB1C.

We have external management system between SAP and Printer.

I have copied printer 3 times and activated only one output tray. Printouts are printed only in one tray.  If I check spool in SP01, settings are correct and by second manual printing printouts are printed in correct output trays.

Are you using PRINT-CONTROL in SAPScript forms?

Florian
Active Contributor
0 Kudos

Yes, i do and it works fine.

Very strange sounds, that it work at the second print.

Did you check your OTF-DATA that there are your commands are all included?

Do you print the document out of the SP01/SP02 and it works fine?

If that is so, there is no Problem with the printer or the form, then you have to open an OSS by SAP direct, because it works sometime correct is not a possibility we got in our hands.

Regards

Florian