SET DEVICE

Directs all @...SAY output to a device.

Syntax

SET DEVICE TO [printer | SCREEN ]

Arguments

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.
Examples
      SET DEVICE TO SCRENN
      ? 25141251/362
      SET DEVICE TO PRINTER
      SET PRINTER TO LPT1
      ? 214514.214/6325
      SET PRINTER OFF
      SET DEVICE TO SCREEN
Status

Ready

Compliance

This command is Ca-Clipper compliant

See Also