SetPrintOptions

All Editions image\bltlrgss.gif Related Transactions image\bltlrgss.gif Example

The SetPrintOptions transaction sets the default values for print options. The user can change these options in the Print dialog box, or you can specify new options when you use the PrintDocwin transaction.

Type XTYP_EXECUTE

Syntax [SetPrintOptions(rasterize, printBanner, center, dither, bilevel, scaleMode, orientation, writeToINI)]

Parameter

Data type

Values

Meaning

rasterize

BOOL

0 | 1

do not rasterize | rasterize

printBanner

BOOL

0

do not print a banner

 

 

1

print a banner

center

BOOL

0

do not center the output on the page

 

 

1

center the output on the page

dither

BOOL

0

do not dither the output

 

 

1

dither the output. Only used if bilevel equals 1.

bilevel

BOOL

0

do not print as black-and-white

 

 

1

print as black-and-white

scaleMode

WORD

1

to fit

 

 

2

actual size

 

 

3

to half page

 

 

4

no scaling (1:1)

 

 

5

actual size or to fit

orientation

WORD

1

best fit

 

 

2

portrait

 

 

3

landscape

 

 

4

minimum length

writeToINI

BOOL

0

do not save these values to INI file

 

 

1

save these values to INI file

Release information

Added in Release 4.10x.

See also