models/print_options library
Classes
- AlignmentOption
- A Windows-specific option to set the alignment of the printed content.
- CollateOption
- An option to set the collate mode for multiple copies.
- ColorModeOption
- An option to set the color mode (e.g., monochrome or color).
- DuplexOption
- An option to set the duplex printing mode.
- GenericCupsOption
-
A generic CUPS option, represented as a key-value pair.
The available options can be discovered using
getSupportedCupsOptions
. - OrientationOption
- An option to set the page orientation.
- PdfRotationOption
- An option to set the rotation for PDF printing on Windows.
- PrintOption
- Represents a generic printing option to be passed to print functions.
- PrintQualityOption
- An option to set the print quality.
- WindowsMediaTypeOption
- A Windows-specific option to set the media type (e.g., "Plain Paper", "Glossy Photo") by its ID. The ID can be obtained from WindowsPrinterCapabilities.
- WindowsPaperSizeOption
- A Windows-specific option to set the paper size by its ID. The ID can be obtained from WindowsPrinterCapabilities.
- WindowsPaperSourceOption
- A Windows-specific option to set the paper source (tray/bin) by its ID. The ID can be obtained from WindowsPrinterCapabilities.
Enums
- ColorMode
- Defines the color mode for printing.
- DuplexMode
- Defines the duplex printing mode.
- PdfPrintAlignment
- Defines the alignment for PDF printing on Windows.
- PrintQuality
- Defines the quality for printing.
- WindowsOrientation
- Defines the orientation for printing on Windows.