Printerinfo.exe utility

<< Click to Display Table of Contents >>

Navigation:  Outputs > Plotting Documents >

Printerinfo.exe utility

The Printerinfo.exe utility

This utility (located under BIN\ folder of the installation path) displays, for every printer installed on the local machine (also network printers), the accepted codes to be used in the SHEET_FORMAT.LST file. It is easier to use than the DBWGDPPS.EXE utility.

images_printerinfo

Press the button Load available printers to populate the list of the available printers, then select a printer to display the accepted codes.

At the bottom, there is a list ready to be copied and pasted in the SHEET_FORMAT.LST file.

More information on the subject is available in the topic Plotting large paper size sheets.

Here below are enum values to be used with Inventor Print Manager

Name

Value

Description

kPaperSize10x14

14337

Paper size for 10x14.

kPaperSize11x17

14338

Paper size for 11x17.

kPaperSizeA0

14357

Paper size for ISO A0 (Applicable to drawings only).

kPaperSizeA0Oversize

14358

Paper size for ISO A0 Oversize (Applicable to drawings only).

kPaperSizeA1

14359

Paper size for ISO A1 (Applicable to drawings only).

kPaperSizeA1Oversize

14360

Paper size for ISO A1 Oversize (Applicable to drawings only).

kPaperSizeA2

14339

Paper size for ISO A2.

kPaperSizeA2Oversize

14361

Paper size for ISO A2 Oversize (Applicable to drawings only).

kPaperSizeA3

14340

Paper size for ISO A3.

kPaperSizeA4

14341

Paper size for ISO A4.

kPaperSizeA4Small

14342

Paper size for A4 Small.

kPaperSizeA5

14343

Paper size for ISO A5.

kPaperSizeA6

14365

Paper size for ISO A6.

kPaperSizeB0

14366

Paper size for ISO B0 (Applicable to drawings only).

kPaperSizeB1

14362

Paper size for ISO B1 (Applicable to drawings only).

kPaperSizeB2

14363

Paper size for ISO B2 (Applicable to drawings only).

kPaperSizeB3

14364

Paper size for ISO B3 (Applicable to drawings only).

kPaperSizeB4

14344

Paper size for ISO B4.

kPaperSizeB5

14345

Paper size for ISO B5.

kPaperSizeB6

14367

Paper size for ISO B6 (Applicable to drawings only).

kPaperSizeCSheet

14346

Paper size for C size sheet.

kPaperSizeCustom

14355

Paper size for Custom.

kPaperSizeDefault

14356

Paper size for Default.

kPaperSizeDSheet

14347

Paper size for D size sheet.

kPaperSizeESheet

14348

Paper size for E size sheet.

kPaperSizeExecutive

14349

Paper size for Executive.

kPaperSizeFolio

14350

Paper size for Folio.

kPaperSizeLedger

14351

Paper size for Ledger.

kPaperSizeLegal

14352

Paper size for Legal.

kPaperSizeLetter

14353

Paper size for Letter.

kPaperSizeQuarto

14354

Paper size for Quarto.

Example

This is a vbs code to implement the plotting through the Inventor Print Manager:

...

Set oPrintMgr = oApp.ActiveDocument.PrintManager
Call oPrintMgr.SetSheetRange(i,i)
oPrintMgr.Printer = sPrinter
 If sPaperSize<>0 Then
 oPrintMgr.PaperSize = sPaperSize
End if
oPrintMgr.SubmitPrint
...

please note in case you want to specify a custom format (kPaperSizeCustom) you've to enter also 2 additional parameters:

...

oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeCustom
oPrintMgr.PaperHeight = 15
oPrintMgr.PaperWidth = 10
...