Harbour Reference Guide

 

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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30