PAPERSOURCE Function (Report)

Microsoft Dynamics Nav 2009

Returns the paper source used for the current page or a specified page, and sets a new paper source.


CurrReport.PAPERSOURCE(PaperBinNo [, PhysicalPage])

Parameters

PaperBinNo

The tray number. This parameter is required.

PhysicalPage

The page number. This parameter is optional.

The PAPERSOURCE function has two parameters: the tray number, which is required, and the page number, which is optional. If the printer does not support the tray number, the function call will be ignored, and the printer will continue using the previously selected tray.

The following tray numbers correspond to the options for the PaperSourceFirstPage Property and PaperSourceOtherPages Property:

1Upper or Only One Feed

2Lower Feed

3Middle Feed

4Manual Feed

5Envelope Feed

6Envelope Manual Feed

7Automatic Feed

8Tractor Feed

9Small-format Feed

10Large-format Feed

11Large-capacity Feed

14Cassette Feed

15Automatically Select

256Printer Specific Feed 1

257Printer Specific Feed 2

258Printer Specific Feed 3

259Printer Specific Feed 4

260Printer Specific Feed 5

261Printer Specific Feed 6

262Printer Specific Feed 7

263Printer Specific Feed 8

If the printer supports other tray numbers, you can enter these too.

If you do not specify a page number, the tray change will apply to the current page. The new tray will also apply to subsequent pages until the next tray change occurs.

When you specify a page number, the tray change will take place when the specified page is printed. Subsequent pages will also use this tray until the next tray change. The tray change can be placed anywhere on a page and still apply to the whole page.

If you specify more than one paper tray selection for a page, the printer uses the last selection.

This function is not supported on client report definition (RDLC) report layouts.

Community Additions

ADD
Show: