PRINTER_DIALOG_OPTIONS@

Platform

Win32, x64

Purpose

To configure the standard printer dialog box.

Syntax

 SUBROUTINE PRINTER_DIALOG_OPTIONS@(
+  NO_PRINT_TO_FILE,   NO_PAGE_NUMBERS, NO_SELECTION,
+  NO_DEFAULT_WARNING, SET_SOME_PAGES,  SET_SELECTION,
+  SET_COLLATE,        SET_ALL_PAGES,   SET_PRINT_TO_FILE )
 INTEGER
+  NO_PRINT_TO_FILE,   NO_PAGE_NUMBERS, NO_SELECTION,
+  NO_DEFAULT_WARNING, SET_SOME_PAGES,  SET_SELECTION,
+  SET_COLLATE,        SET_ALL_PAGES,   SET_PRINT_TO_FILE

Description

The following table describes the effect of setting an argument value to 1 rather than zero.

 

NO_PRINT_TO_FILE

Hides the 'Print to file' check box.

 

NO_PAGE_NUMBERS

Disables the 'Page numbers' radio button.

 

NO_SELECTION

Disables the 'Print selection' radio button.

 

NO_DEFAULT_WARNING

Disables 'No default printer' warning.

 

SET_SOME_PAGES

'Page rage' radio button is set.

 

SET_SELECTION

'Selection' radio button is set.

 

SET_COLLATE

'Collate copies' check box is checked.

 

SET_ALL_PAGES

'Print all pages' radio button is set.

 

SET_PRINT_TO_FILE

'Print to file' check box is checked.

 

The following CLEARWIN_INFO@ strings hold some of the selected options after the printer dialog box has closed.


 

'PRINTER_SELECTION'

'Print selection' was set.

 

'PRINTER_COLLATE'

'Print collate copies' was checked.

 

'PRINTER_PAGENUMBERS'

'Print page numbers' was set.

 

These values will be either 1 or zero.

Note

You can deduce the 'print all pages' radio button selection by 'PRINTER_SELECTION' and 'PRINTER_PAGENUMBERS' both being equal to zero.

See also

Selecting a printer.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited