pycatia.in_interfaces.printers¶
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.printers.Printers(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionPrintersA collection of all the Printer objects managed by theapplication.- item(i_index: cat_variant) Printer ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Item(CATVariant iIndex) As PrinterReturns a printer using its index or its device name from the Printerscollection.Parameters:iIndexThe index or the name of the printer to retrieve from thecollection of printers. As a numerics, this index is the rank of the printer inthe collection. The index of the first printer in the collection is 1, and theindex of the last printer is Count. As a string, it is the DeviceName of theprinter.Returns:The retrieved printerExample:This example returns in ThisPrinter the third printer in thecollection, and in ThatPrinter the printer namedLaserPrinter.Dim ThisPrinter As PrinterSet ThisPrinter = CATIA.Printers.Item(3)Dim ThatPrinter As PrinterSet ThatPrinter = CATIA.Printers.Item(“LaserPrinter”)
- Parameters:
i_index (cat_variant) –
- Return type: