Description

The PAPERBIN message is used to set the current Paper Bin. The PaperBin is an integer that is specified in the OIPRINT_EQUATES. Always check the return code from the PAPERBIN message, because not all printers support Paper Bins.

Parameters

ParameterDescription of FieldsCommentsDefault
Parm1 - PaperBin<1> PaperBinSee OIPRINT_EQUATES""

Example

/* The following example shows how to use the PAPERBIN message. */
declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
stat = Set_Printer("PAPERBIN", 1) ;* set bin to Upper
if stat < 0 then
goto ErrorHandler ;* invalid page size
end
stat = Set_Printer("TERM") ;* End printing
  • No labels