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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
Printers

A collection of all the Printer objects managed by the
application.
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 Printer

Returns a printer using its index or its device name from the Printers
collection.

Parameters:

iIndex
The index or the name of the printer to retrieve from the
collection of printers. As a numerics, this index is the rank of the printer in
the collection. The index of the first printer in the collection is 1, and the
index of the last printer is Count. As a string, it is the DeviceName of the
printer.

Returns:
The retrieved printer
Example:
This example returns in ThisPrinter the third printer in the
collection, and in ThatPrinter the printer named
LaserPrinter.

Dim ThisPrinter As Printer
Set ThisPrinter = CATIA.Printers.Item(3)
Dim ThatPrinter As Printer
Set ThatPrinter = CATIA.Printers.Item(“LaserPrinter”)
Parameters:

i_index (cat_variant) –

Return type:

Printer