/////////////////////////////////////////////////////////////////////
// HBPRINTER SET COMMANDS
/////////////////////////////////////////////////////////////////////
SET UNITS ROWCOL | MM | INCHES | PIXELS [ ABSOLUTE ]
Sets the mesure units for @... commands.
SET UNITS
Same as SET UNITS ROWCOL.
SET UNITS ROWS <r> COLS <c> [ ABSOLUTE ]
Sets property MaxRow to (r-1) and property MaxCol to (c-1).
SELECT BY DIALOG [ PREVIEW ]
Selects a printer using a dialog box.
SELECT DEFAULT [ PREVIEW ]
Selects the default printer.
SELECT PRINTER <cprinter> [ PREVIEW ]
Selects the indicated printer.
DEFINE IMAGELIST <cimglist> PICTURE <cpicture> [ ICONCOUNT <nicons> ]
Loads a bitmap image into an imagelist ("nicons" is the number of number of individual iconos stored in the image).
ENABLE THUMBNAILS
Enables thumbails in print preview.
DISABLE THUMBNAILS
Disables thumbails in print preview.
SET THUMBNAILS ON | OFF
Enables / disables thumbails in print preview.
SET PREVIEW RECT <row>, <col>, <row2>, <col2>
Sets the area for print preview.
SET PREVIEW SCALE <scale>
Sets the scale for print preview.
SET PAGE [ ORIENTATION <orient> ] [ PAPERSIZE <psize> ] [ FONT <cfont> ]
Sets page's orientation, paper size and/or default font.
SET ORIENTATION PORTRAIT
Sets paper's orientation to portrait.
SET ORIENTATION LANDSCAPE
Sets paper's orientation to landscape.
SET PAPERSIZE <psize>
Sets paper's size.
SET QUALITY <quality>
Sets printer's quality.
SET COLORMODE <mode>
Sets printer's color mode.
SET PREVIEW ON | OFF
Sets printer's preview.
SET TEXTCOLOR <clr> | <aRGBColor>
Sets the default color for text.
SET BACKCOLOR <nColor> | <aRGBColor>
Sets the default color for background.
SET PRINT MARGINS [ TOP <lm> ] [ LEFT <rm> ]
Sets printing margins.
SET DUPLEX VERTICAL | HORIZONTAL
Enables duplex printing using long-edge / short-edge binding.
SET DUPLEX OFF
Disables duplex printing.
SET BIN [TO] <prnbin>
Sets printer's default bin.
SET COLLATE ON | OFF
Sets collated printing.
SET CHANGES LOCAL
Instructs HBPRINTER not to change the system's printer settings.
SET CHANGES GLOBAL
Instructs HBPRINTER to change the system's printer settings (default behaviour).
SET COPIES TO <nCopies>
Sets the printer's default number of printed copies.
SET SCALE TO <nScale>
Sets the factor by which the printed output is to be scaled.
SET PAPERLENGTH TO <nPaperLength>
Overrides the length of the paper specified by SET PAPERSIZE.
New value must be in tenths of a millimeter.
SET PAPERWIDTH TO <nPaperWidth>
Overrides the width of the paper specified by SET PAPERSIZE.
New value must be in tenths of a millimeter.