Function documentationPrinting from Multiple Paper Trays

 

If your printer has multiple paper trays, you can control which one is used from the SAP System.

Tray selection for SAPscript texts

Specify information about which paper tray to use for SAPscript/Smart Forms documents in the form. For more information, see the section Print Mode in Pages in SAPscript Forms.

The following Print Controls are used to control tray selection:

TRY01 -

TRY99

Paper tray 1 to 99

TRYEN

Paper tray for envelopes

TRYME

Manual envelope feed

TRYMN

Manual paper feed

Device Type Definitions

If the SAP device type definition (Start of the navigation path transaction SPAD Next navigation step Full Administration pushbutton Next navigation step Device Types tab page Next navigation step Device Types pushbutton Next navigation step click a device type in the list Next navigation step choose Print Controls End of the navigation path) for your printer does not include the print controls above, follow this procedure:

  1. Copy the device type.

  2. Add the required print controls and enter the printer-specific escape sequences. Look in your printer manual for information about what to enter.

  3. For list printing: Create a format type and this to the device type definition. For the initialization action, enter the command for selection of the desired tray. For information about the procedure, see Defining a New Device Type.

  4. Create an output device with the new device type.

  5. Choose Tray info in the device definition and enter the available paper formats.

    Background: The SAP spool system cannot use this information to switch paper trays according to the output. However, it does use the information to determine potential incompatabilities between the output format and the available paper format. In this case, the spool system chooses the format that fits best for printing at the device.

    Note Note

    To test tray selection, use the standard text SAPSCRIPT-TRAYTEST. To do this, choose Start of the navigation path Utilities Next navigation step For device types Next navigation step Test data (SAPscript) End of the navigation path.

    End of the note.
Tray Selection for ABAP Lists

If your output device uses one of the following device types, specify the default tray to use for printing lists under Paper Tray in the Output Attribute tab page of the device definition.

  • Device types for PCL-5 printers:

    • HP4550

    • HP8550

    • HP9000

    • HPLJ1100

    • HPLJ8000

    • HPLJ4000

    • BRHL

  • Device type for Prescribe II printers: KYOFS170

  • Device type for PostScript Level 2 printers: POST2

Note that you specify the page formats available at the printer on the Tray Info tab page. If the Tray Info tab page does not contain any information, the system prints to an page format created by averaging values for the page formats DINA4 und LETTER.

If you want to use multiple paper trays of your printer, you must create a separate output device for each paper try, such as P99_TRAY1, P99_TRAY2, and so on.

Note Note

If your printer does not use any of the specified device types, you must add the control for a particular paper tray to a format. For further information, see Creating Formats.

End of the note.