PrintManager Object
Description
The PrintManager object supports properties and methods that allow you to get and set the printing parameters and submit the print job.
Methods
| PrintToFile |
Method that prints to the specified file using the current property settings defined by the PrintManager object. |
| SetCurrentView |
Set the current view used for printing. |
| SubmitPrint |
Method that prints using the current property settings defined by the PrintManager object. |
Properties
| Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
| ColorMode |
Gets/Sets the color mode to be used for printing. Defaults to using kPrintGrayScale. |
| NumberOfCopies |
Gets/Sets the number of copies to be printed. Defaults to 1. |
| Orientation |
Gets/Sets the orientation of the printer. Defaults to the printer's default. |
| PaperHeight |
Gets/Sets the height of the paper to be printed (max value is 327.67cm). Setting this, sets PaperSize to kPaperSizeCustom. |
| PaperSize |
Gets/Sets the size of the paper to be printed. Defaults to the printer's default. |
| PaperSource |
Gets/Sets the paper source (tray) on the printer. This is printer specific. Defaults to printer's default (denoted by -1). |
| PaperWidth |
Gets/Sets the width of the paper to be printed (max value is 327.67cm). Setting this, sets PaperSize to kPaperSizeCustom. |
| Printer |
Gets/Sets the name of the printer. This is the printer's identifier. Defaults to default printer for this machine. |
| PrinterDeviceContext |
Gets/Sets the printer's device context. |
| Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
AssemblyDocument.PrintManager,
Document.PrintManager,
DrawingDocument.PrintManager,
PartDocument.PrintManager,
PresentationDocument.PrintManager
Derived Classes
DrawingPrintManager
Version
Introduced in version 5