User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

SET DEVICE

Directs all @...SAY output to a device.
Syntax
SET DEVICE TO [printer | SCREEN ]
Argument(s)
None.
Description
This command determines whether the output from the @...SAY command and the DevPos() and DevOut() function will be displayed on the printer.
When the device is set to the PRINTER, the SET MARGIN value adjusts the position of the column values accordingly. Also, an automatic page eject will be issued when the current printhead position is less than the last printed row. Finally, if used in conjunction with the @. ..GET commands, the values for the GETs will all be ignored.
Example(s)
SET DEVICE TO SCREEN
? 25141251 / 362
SET DEVICE TO PRINTER
SET PRINTER TO LPT1
? 214514.214 / 6325
SET PRINTER OFF
SET DEVICE TO SCREEN
Status
Ready
Compliance
This is CA-Cl*pper v5.2 compliant
See also

@...SAY, SET PRINTER, SetPRC(), Set()