Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterCommentsDefault
duplexTypeSee OIPRINT_EQUATES

1= Simplex

2=Horizontal

3= Vertical

 

See Also

Get_Printer functionSet_Printer functionDUPLEX Get_Printer message

Example

 
Code Block
* The following example shows how to use the DUPLEX message.
declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
stat = Set_Printer("DUPLEX", 2) ;* set duplex to horizontal
if stat < 0 then
goto ErrorHandler ;* duplex is not supported
end
stat = Set_Printer("TERM") ;* End printing