The following methods are available for some printing devices only. $cando() returns true if the device supports the method.
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 |