models/models 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).
- CupsOptionChoiceModel
- CupsOptionModel
- 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.
- PageRange
- Represents a page range for printing.
- PdfPrintScaling
- Defines the scaling behavior for PDF printing on Windows.
- PdfPrintScalingCustom
- PdfPrintScalingValue
- PdfRotationOption
- An option to set the rotation for PDF printing on Windows.
- Printer
- PrintJob
- PrintOption
- Represents a generic printing option to be passed to print functions.
- PrintQualityOption
- An option to set the print quality.
- WindowsMediaType
- Represents a media type supported by a Windows printer.
- 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.
- WindowsPaperSize
- Represents a paper size supported by a Windows printer.
- WindowsPaperSizeOption
- A Windows-specific option to set the paper size by its ID. The ID can be obtained from WindowsPrinterCapabilities.
- WindowsPaperSource
- Represents a paper source (bin/tray) supported by a Windows printer.
- WindowsPaperSourceOption
- A Windows-specific option to set the paper source (tray/bin) by its ID. The ID can be obtained from WindowsPrinterCapabilities.
- WindowsPrinterCapabilitiesModel
- Holds the capabilities (paper sizes, resolutions) of a Windows printer.
- WindowsResolution
- Represents a resolution supported by a Windows printer.
Enums
- ColorMode
- Defines the color mode for printing.
- DuplexMode
- Defines the duplex printing mode.
- PdfPrintAlignment
- Defines the alignment for PDF printing on Windows.
- PdfRotation
- Defines the rotation to apply to a PDF page before printing. This is only applicable when printing PDFs on Windows.
- PrinterPropertiesResult
- The result of opening the printer properties dialog.
- PrintJobStatus
- Represents the status of a print job.
- PrintQuality
- Defines the quality for printing.
- WindowsOrientation
- Defines the orientation for printing on Windows.
Exceptions / Errors
- IsolateError
- Exception thrown when the helper isolate encounters a fatal error or exits unexpectedly.
- PrintingFfiException
- An exception thrown when a native printing operation fails.