pycatia.in_interfaces.printer¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.in_interfaces.printer.Printer(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPrinterRepresents a printer handled by the printing subsystem.This object is read only and gives access to some properties of theprinter.- property device_name: str¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property DeviceName() As CATBSTR (Read Only)Returns the printer device name.Example:This example displays the device name of the myPrinterprinter.MsgBox myPrinter.DeviceName
- Return type:
str
- property orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Orientation() As CatPaperOrientation (Read Only)Returns or sets the default paper orientation.Example:This example retrieves in DefaultPaperOrientation the default paperorientation of the myPrinter printer.Dim DefaultPaperOrientation As CatPaperOrientationDefaultPaperOrientation = myPrinter.Orientation
- Returns:
enum cat_paper_orientation
- Return type:
int
- property paper_height: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PaperHeight() As float (Read Only)Returns the default paper height.Example:This example retrieves in Height the default paper height of themyPrinter printer.Dim HeightHeight = myPrinter.PaperHeight
- Return type:
float
- property paper_size: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PaperSize() As CatPaperSize (Read Only)Returns the default paper size.Example:This example retrieves in DefaultPaperSize the default paper size ofthe myPrinter printer.Dim DefaultPaperSize As CatPaperSizeDefaultPaperSize = myPrinter.PaperSize
- Returns:
enum cat_paper_size
- Return type:
int
- property paper_width: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PaperWidth() As float (Read Only)Returns the default paper width.Example:This example retrieves in Witdh the default paper width of themyPrinter printer.Dim Width As floatWidth = myPrinter.PaperWidth
- Return type:
float