The C1PrintOptions type exposes the following members.

Properties

  Name Description
Public property AutoPaperSource
Gets or sets a value indicating whether the paper source is selected automatically.

The default value is false.

Public property AutoRotate
Gets or sets a value indicating whether pages should be auto-rotated to better fit the paper during printing.

The default value is true.

Public property CenterPage
Gets or sets a value indicating whether the page should be centered on paper during printing.

The default value is true.

Public property DrawPrintableAreaBounds
Gets or sets a value indicating whether a line is drawn around the printable area of the page. This may be useful for diagnostic purposes. PrintableAreaBoundsPen is used to draw the line. The default is false.
Public property Static member MsPrintDocumentPrintEmfType
Gets or sets the type of metafiles used when printing standard .NET PrintDocument documents.

The default is EmfType.EmfPlusDual.

If your printer needs to scan the output for data (e.g. a fax number; a case in point is Tobit Faxware) and fails, try setting this to EmfType.EmfOnly.

Note that this property ONLY affects printing of standard .NET PrintDocument documents, and has no bearing on other supported document types.

Public property PageScaling
Gets or sets the value indicating the manner in which pages are scaled during printing.

The default value is ReduceToPaper.

Public property PrintableAreaBoundsPen
Gets or sets the pen used to draw printable area bounds if DrawPrintableAreaBounds is true. If this value is null (which is the default), a single-pixel black pen is used.
Public property PrintAsBitmap
Gets or sets a value indicating whether page metafiles should be converted to bitmaps and clipped to printer's hard margins prior to printing.

The default value is false.

Normally document pages are sent to printer as metafiles. If a page exceeds the printable area of a printer, problems may occur with some printer drivers when the page is printed. In those cases set this property to true.

See Also