Method XbpPrinter():setDuplexMode() Foundation

Sets or retrieves the mode for duplex printing

Syntax
 :setDuplexMode( [<nMode>] ) --> nDuplexModeOld | NIL
Parameters
<nMode>
A #define constant from XBPDEV.CH must be used for <nMode>. The following constants are available:
#define constants for duplex mode
Constant Description
XBPPRN_DUPLEXMODE_OFF do not print double-sided
XBPPRN_DUPLEXMODE_BOOK arrange output "side-by-side"
XBPPRN_DUPLEXMODE_MEMO arrange output "top-down"
Return

The method returns the previous setting or NIL, if the printer does not support double-sided printing.

Description

If print output is to appear on both sides of a sheet of paper, duplex mode must be turned on. The print output can be arranged depending on how a page is turned, either from left to right, or from bottom to top.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.