Printing

Estimated reading time: 2 minutes

Local and network printing is accomplished in Encore RPG by writing to a print file contained in the Acceler8DB database. Because a user may select from a number of printer devices with different capabilities, some properties require special considerations.

Note – Not all of the possible settings for the following properties may be valid as each printer device can have a limited set of capabilities. It is up to the programmer to select the setting appropriate to the actual printer device used.

See the individual properties for more information on each of these property.

Property Description
[Collate](Collate_Property.html) Indicates whether collation will be used when printing multiple copies.
[Duplex](Duplex_Property.html) Indicates whether the printer file is to print duplex (prints on both sides of the paper).
[FormName](FormName_Property.html) The name of the customized page size to use.
[Orientation](Orientation_Property.html) The printer’s paper orientation (Horizontal or Vertical).
[PaperLength](PaperLength_Property.html) The physical length of the page.
[PaperSize](PaperSize_Property.html) The paper (size) to be used.
[PaperSource](PaperSource_Property.html) The printer tray that will be used.
[PaperWidth](PaperWidth_Property.html) The physical width of the page.
[PrintableLength](PrintableLength_Property.html) The length of the printable area on the paper based on the page orientation selected.
[PrintableWidth](PrintableWidth_Property.html) The width of the printable area on the page based on the page orientation selected.
[Quality](Quality_Property.html) The print quality.
[Scale](Scale_Property.html) The percentage factor by which the printed document is to be scaled.
[TTOption](Ttoption_Property.html) Indicates how true type fonts are to be printed.
[UseColor](UseColor_Property.html) Indicates whether to use color when a color printer is specified.
[YResolution](YResolution_Property.html) Indicates the Y-axis resolution (in dot per inch) when printing graphics.

See Also

Language Elements

PrintFile Class

PrintFile Properties