Previous Topic

Next Topic

SetDuplex - MaxBasic Function

SetDuplex(DuplexMode: String)

Set the printer duplex mode. Options for DuplexMode are:

SetDuplex("One side") - Prints on one side of paper.

SetDuplex("Long edge") - Prints on both sides of paper, flips on the long edge.

SetDuplex("Short edge") - Prints on both sides of paper, flips on the short edge.

Note, this will only function correctly before printing has begun on a page, such as in the BeforeReport code, or in the PageFooter of the previously page.

Note: SetDuplex applied in BeforeReport code re-executes the BeforeReport code.

SetDuplex function syntax has these named arguments:

Parameter

Description

Duplex Mode

Required. The printer duplex mode to use. Valid values are:

  • "One Side"
  • "Long Edge"
  • "Short Edge"

See Also

Report Functions

Book Contents

Book Index