Automatic paper selection for Windows printers

You can configure LN so that the correct paper type is automatically selected when you print a report to a Windows printer device.

Important!

This section applies only to devices of type "Windows Printer".

Paper types and paper sizes

Enterprise Server enables you to link multiple paper types to each Windows Printer device. You can link each paper type to a Windows paper size code. The Windows printing process uses this code to select the correct setting for the printer.

You can only use paper sizes as defined by Microsoft. For details, refer to: https://docs.microsoft.com/en-us/windows/desktop/Intl/paper-sizes.

Automatic paper type selection

When you select a Windows printer device in the Select Device (ttstpsplopen ) session, the session checks whether the report fits on the default paper type of the selected printer device. If the report does not fit, the session automatically suggests another paper type that is large enough.

Note
  • This functionality only works if another (large enough) paper type is linked to the selected Windows printer device.
  • You can overrule the suggested paper type with another paper type defined for the selected Windows printer device.
Example

The "WINPRINTER" device is linked to the A3 and A4 paper types. The paper types are linked to the following Windows paper size codes:

Paper TypeWindows Paper Size Code
A3A3 (297 x 420 mm)
A4A4 (210 x 297)

 

If a report does not fit on the A4 paper type, the Select Device (ttstpsplopen ) session automatically suggests A3.

To set up automatic paper selection

To set up automatic paper selection for a Windows printer, you must:

  1. Find out which paper sizes are supported by the Windows printer.
  2. Link these paper sizes to paper types.
  3. Link these paper types to the Windows printer.

For details, see the following procedure steps.

Step 1. Find out which paper sizes are supported by the Windows printer.

Paper types are supported either by hardware (different trays) or by software.

You can find the supported paper sizes for a printer in the printer's manual, or via the BWPrint preview feature.

To find the supported paper types via the BWPrint preview feature:

  1. Start a print session, for example Print Companies (ttaad1400m000).
  2. Enter the selection ranges, and click Print. The Select Device (ttstpsplopen ) session starts.
  3. Select the Windows printer and select Preview. Click Continue.
  4. Right-click in the preview window and on the shortcut menu, select Paper size > Change device specific paper size. The Page Setup dialog box appears.
  5. You can view the supported paper sizes in the Size list.
Step 2. Link paper sizes to paper types

Link each supported paper size you want to use to a paper type.

To link a paper size to a paper type:

  1. Start the Paper Types (ttaad3110m000) session.
  2. Link the paper size to an existing paper type, or create a new paper type and link the paper size to it. In the Paper Size field, you can zoom to the Windows Paper Size (ttaad3512m000) session.

Note: the orientation is also important. Many printers have a software option to “Rotate” printing, but there are also printers that have a separate tray for “rotated paper”.

Step 3. Link paper types to printer

Link the desired paper types to the Windows printer:

  1. Start the Device Data (ttaad3500m000) session and double click the Windows printer. The Device Data (ttaad3100s000) details session starts.
  2. Enter the printer's default paper type in the Paper Type field.
  3. Link the additional paper types to the printer: On the appropriate menu, select Papertype by Device. The Papertype by Device (ttaad3107m000) session starts. Enter the desired paper types.