PrintJobSettings constructor
- bool? animated = true,
- bool? canSpawnSeparateThread = true,
- bool? collate,
- PrintJobColorMode? colorMode,
- int? copies = 1,
- bool? detailedErrorReporting = false,
- PrintJobDuplexMode? duplexMode,
- String? faxNumber,
- int? firstPage,
- PrintJobRenderingQuality? forceRenderingQuality,
- bool? handledByClient = false,
- double? headerHeight,
- String? headerTitle,
- PrintJobPaginationMode? horizontalPagination,
- bool? isHorizontallyCentered = true,
- bool? isVerticallyCentered = true,
- PrintJobDisposition? jobDisposition,
- String? jobName,
- WebUri? jobSavingURL,
- int? lastPage,
- EdgeInsets? margins,
- double? maximumContentHeight,
- double? maximumContentWidth,
- PrintJobMediaSize? mediaSize,
- bool? mustCollate,
- int? numberOfPages,
- PrintJobOrientation? orientation,
- PrintJobOutputType? outputType,
- double? pageHeight,
- PrintJobPageOrder? pageOrder,
- String? pageRanges,
- double? pageWidth,
- int? pagesAcross,
- int? pagesDown,
- int? pagesPerSide,
- String? paperName,
- PrintJobDialogKind? printDialogKind,
- String? printerName,
- PrintJobResolution? resolution,
- double? scalingFactor,
- bool? shouldPrintBackgrounds,
- bool? shouldPrintSelectionOnly,
- bool? showUI = true,
- bool? showsNumberOfCopies = true,
- bool? showsPageRange = true,
- bool? showsPageSetupAccessory = true,
- bool? showsPaperOrientation = true,
- bool? showsPaperSelectionForLoadedPapers = false,
- bool? showsPaperSize = true,
- bool? showsPreview = true,
- bool? showsPrintPanel = true,
- bool? showsPrintSelection = true,
- bool? showsProgressPanel = true,
- bool? showsScaling = true,
- int? time,
- PrintJobPaginationMode? verticalPagination,
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
Implementation
PrintJobSettings({
this.animated = true,
this.canSpawnSeparateThread = true,
this.collate,
this.colorMode,
this.copies = 1,
this.detailedErrorReporting = false,
this.duplexMode,
this.faxNumber,
this.firstPage,
this.footerHeight,
this.footerUri,
this.forceRenderingQuality,
this.handledByClient = false,
this.headerAndFooter = true,
this.headerHeight,
this.headerTitle,
this.horizontalPagination,
this.isHorizontallyCentered = true,
this.isVerticallyCentered = true,
this.jobDisposition,
this.jobName,
this.jobSavingURL,
this.lastPage,
this.margins,
this.maximumContentHeight,
this.maximumContentWidth,
this.mediaSize,
this.mustCollate,
this.numberOfPages,
this.orientation,
this.outputType,
this.pageHeight,
this.pageOrder,
this.pageRanges,
this.pageWidth,
this.pagesAcross,
this.pagesDown,
this.pagesPerSide,
this.paperName,
PrintJobDialogKind? printDialogKind,
this.printerName,
this.resolution,
this.scalingFactor,
this.shouldPrintBackgrounds,
this.shouldPrintHeaderAndFooter,
this.shouldPrintSelectionOnly,
this.showUI = true,
this.showsNumberOfCopies = true,
this.showsPageRange = true,
this.showsPageSetupAccessory = true,
this.showsPaperOrientation = true,
this.showsPaperSelectionForLoadedPapers = false,
this.showsPaperSize = true,
this.showsPreview = true,
this.showsPrintPanel = true,
this.showsPrintSelection = true,
this.showsProgressPanel = true,
this.showsScaling = true,
this.time,
this.verticalPagination,
}) : printDialogKind = printDialogKind ?? PrintJobDialogKind.BROWSER;