PdfPrint PropertiesTerminal Works - PDF Printing.Net Library

The PdfPrint type exposes the following members.

Properties

  NameDescription
Public propertyAllowCustomSize
Used only in combination with PageAutoSize = true. If the PDF page size isn't found in the list of available printer paper sizes, it will try to set the custom paper size. Most virtual PDF printers support the custom paper size, and most physical printers don't. The default value is false.
Public propertyCheckPrinterExistence
If set to false, it will not check for printer name existence if the non-default printer is used. This is useful in a situation where checking of the printer existence is slow due to many printers or some network printer. Default value is true.
Public propertyCollate
If set to true, it will collate the pages. If set to false, it will not collate the pages. If not set, it will use the printer default settings.
Public propertyCopies
Set the number of copies to be printed. If not selected, it will use the printer default settings. When used for multi document printing, it represents the number of copies for the entire printer job.
Public propertyCustomScale
If set, it will scale the page according to the specified value. To be used, Scale must be set to CustomScale. Default value is 100%.
Public propertyDuplexType
Duplex type used in printing. If not set, it will use the printer default settings.
Public propertyFastColorConversion
When true, uses fast DeviceCMYK color conversion instead of ICC profiles. This can significantly improve rendering performance (~5x faster) for PDFs with CMYK images that have embedded ICC profiles, but may result in slightly different colors. Default: false (ICC profiles enabled for accurate color reproduction).
Public propertyForceApplicationCopies
Forces application-level copy handling regardless of driver DC_COPIES support. Use when the printer driver reports copies support but doesn't actually honor dmCopies. Default is false.
Public propertyInverseForm
It forces content of AdobeForm to be rendered before the page. Needed in some rare cases. It doesn't have effect in PrintWithAdobe method. Default is false.
Public propertyIsAutoRotate
If set to true, it will override selected value for IsLandscape and it will set orientation to landscape or portrait based on the content width / height. If not set, selected value for IsLandscape will be used. It doesn't have effect in PrintWithAdobe method.
Public propertyIsContentCentered
If set to true, it will center content in standard Print method. It doesn't have effect in PrintWithAdobe method. Default value is True.
Public propertyIsLandscape
If set to true, it will print as landscape if IsAutoRotate = false. If set to false, it will print as portrait if IsAutoRotate = false. If not set, it will use the printer default settings.
Public propertyMargins
If set, it will apply the margins. Units are 1/100 inch (i.e. 100 = 1 inch). Setting Scale influences the print result. When set to None, the margins are adjusted (if needed) to preserve the actual size of the print content. If opposite margins are set, their values are canceled out, applying only the remaining value (if any). If non-opposite margins are set, their value positions ("pushes") the content. For all other Scale values, the print content size is adjusted (if needed) to preserve the specified margins. Default value is (0,0,0,0).
Public propertyPageAutoSize
If set to true, automatically sets printer paper size according to page size of each page in the PDF. Size will be set if printer supports that paper size. If successful, it will override PaperSize property. Default value is false. It doesnt't have effect in PrintWithAdobe.

See also: AllowCustomSize

Public propertyPages
Defines the pages that are to be printed. Pages and page intervals can be specified explicitly (ex.: 1,2,3,4), using ranges (ex.: 1-4), and in forward (ex.: 1-4,5,6), reverse (ex.: 6,5,4-1) or mixed order (ex. 5,1-4,6). If not set, all pages will be printed. If PrintWithAdobe method is used, Pages can't have more than one interval defined.
Public propertyPaperSize
What type of paper size to use? If not set, it will use the printer default settings.

See also: PageAutoSize

Public propertyPaperSource
Paper source used for printing. If not set, it will use the printer default settings.
Public propertyPaperSourceTrayInfo
List of paper source tray names and supported page sizes for that tray. It must be manully set. It is used in combination when PageAutoSize doesn't work on its own. It is ignored if PageAutoSize = false.
Public propertyPrinterName
Name of the printer used for printing. If not set, it will use the default printer.
Public propertyPrinterResolution
Printer resolution used for printing. If not set, it will use the printer default settings.
Public propertyPrintInColor
If set to true, it will print in color. If set to false, it will print as grayscale. If not set, it will use the printer default settings.
Public propertyRangeType
Range type. If not set, it will print both even and odd pages in the selected range interval.
Public propertyRotation
Public propertyScale
If set, it will scale the page according to the chosen scale type. If not set, it will use the Shrink scaling type. If PrintWithAdobe method both Shrink and FitToMargins behaves like Shrink.
Public propertySettingDialog
Use the printer settings dialog. If not set, it will not use the printer settings dialog.
Public propertyUseOldPrintingSystem
This uses .NET built-in printing API. It is (much) slower for some printers, but for some printers this is the only way it will work. Default value is false.
Public propertyWatermark
Watermark to be printed (it can be Image or Text).
Top
See Also

Reference