4D Write v16WR GET PRINT OPTION |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v16
WR GET PRINT OPTION
|
WR GET PRINT OPTION ( area ; option ; value1 ; value2 ; value3 ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Write area | |||||
option | Longint |
![]() |
Option number | |||||
value1 | Longint |
![]() |
Value 1 of the option | |||||
value2 | Longint |
![]() |
Value 2 of the option | |||||
value3 | String |
![]() |
Value 3 of the option | |||||
The WR GET PRINT OPTION command returns the current value(s) of a print option.
The option parameter enables you to specify the option to get. You can either pass a value or one of the following predefined constants, located in the “WR Print options” theme:
Constant | Type | Value |
wr color option | Longint | 8 |
wr destination option | Longint | 9 |
wr double sided option | Longint | 11 |
wr number of copies option | Longint | 4 |
wr orientation option | Longint | 2 |
wr pages from option | Longint | 6 |
wr pages to option | Longint | 7 |
wr paper option | Longint | 1 |
wr paper source option | Longint | 5 |
wr scale option | Longint | 3 |
wr spooler document name option | Longint | 12 |
The command returns, in the value1 and (optionally) value2 and value3 parameters, the current value(s) of the specified option. For more information on options and possible values, refer to the description of the WR SET PRINT OPTION command. Note the following specific features of the WR GET PRINT OPTION command:
The system variable OK is set to 1 if the command has been executed correctly; otherwise, it is set to 0.
Product: 4D Write
Theme: WR Printing
Number:
89420
Created: 4D Write 2004
4D Write Language ( 4D Write v16)