$root.$devices.DEVICE

Parent: $root.$devices

Properties Methods 

The following methods are available for some printing devices only. $cando() returns true if the device supports the method.

Properties

Object specific 
$cangeneratepagesIf true, the device can generate paged reports
$cankeepopenIf true, it is safe to keep the device open for long periods
$iconidThe icon identifier used to reference the icon
$isopenIf true, the device is open
$istextbasedIf true, the device is a text or raw data device
$titleThe window title
Standard$ident $name $visible

Methods

Object specific 
$flush$flush() flushes the device
$getparam$getparam(nParamNumber) Returns the value of the specified custom device parameter
$open$open() opens the device for transmitting or printing
$senddata$senddata(xData[,xData,...]) sends data to device
$sendtext$sendtext(cText[,bNewLine=kFalse,bFormFeed=kFalse]) sends text cText to device;if bNewLine is true the text is followed by the newline character sequence;if bFormFeed is true the text (and newline if specified) is followed by a formfeed
$setparam$setparam(nParamNumber,value[,nParamNumber,value...]) sets the value(s) of the specified custom device parameter(s)
Standard$close