ApprenticeDrawingPrintManager Object
Derived from:
ApprenticePrintManager Object
Description
The ApprenticeDrawingPrintManager object supports properties and methods that allow you to get and set the printing parameters and submit the print job.
Methods
| GetSheetRange |
Method that gets the sheet range to print. The sheet range is only used when the PrintRange property is set to kPrintSheetRange. |
| PrintToFile |
Method that prints to the specified file using the current property settings defined by the ApprenticePrintManager object. |
| SetCurrentView |
Property to set the current view, to be used for printing. |
| SetSheetRange |
Property to indicate the range of Sheets to be printed. Valid only when PrintRange is set to kPrintSheetRange. |
| SubmitPrint |
Method that prints using the current property settings defined by the ApprenticePrintManager object. |
Properties
| AllColorsAsBlack |
Gets/Sets the Boolean flag indicating whether all the Drawing colors should be black in the print. |
| 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. 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. 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. |
| PrintExcludedSheets |
Gets/Sets the Boolean flag indicating whether excluded sheets (when PrintRange is set to kPrintAllSheets or kPrintSheetRange) should be printed. Defaults to FALSE. |
| PrintRange |
Gets/Sets information about which sheets are to be printed. Defaults to kPrintCurrentSheet. |
| RemoveLineWeights |
Gets/Sets the Boolean flag indicating whether the Drawing line weights should be removed in the print. |
| Rotate90Degrees |
Gets/Sets the Boolean flag indicating whether the Drawing should be rotated 90-deg in the print. |
| Scale |
Gets/Sets the scale of the print. Meaningless when the ScaleMode is not kPrintCustomScale. |
| ScaleMode |
Gets/Sets the mode by which the scale of the print is defined. Defaults to kPrintBestFitScale. |
| Type |
Returns an ObjectTypeEnum indicating this object's type. |
Version
Introduced in version 9