InterSystems Programming Tools Index
Devices
[Back] [Next]
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Work programmatically with devices such as printers and tape drives; configure; query for list of devices.
Background Information
Caché ObjectScript, MVBasic, and Caché Basic provide commands for working with devices. For details, see the Caché I/O Device Guide, Caché ObjectScript Reference, Caché Basic Reference, and Caché MultiValue Basic Reference.
Available Tools
In addition, InterSystems provides the following tools:
%Device class
Provides a set of class methods for working with devices. These include:
Availability: All namespaces.
%SYS.NLS.Device class
Exposes some NLS properties of the current device and provides methods for changing those properties.
Availability: All namespaces.
Config.Devices and Config.DeviceSubTypes classes
Enable you to modify and obtain information about the [Devices] and [DeviceSubTypes] sections of the CPF file. (Note that you usually modify this file via the Management Portal. See the Caché System Administration Guide.)
Each class also provides a class query called List().
The class documentation includes examples and details.
Availability: %SYS namespace.
Config.MagTapes class
Enables you to modify and obtain information about the [MagTapes] section of the CPF file. (Note that you usually modify this file via the Management Portal. See the Caché System Administration Guide.)
It also provides a class query called List().
The class documentation includes examples and details.
Availability: %SYS namespace.
See Also