PsiFS: *Commands

*PsiFSEnable

*PsiFSEnable
Enable use of the configured block driver

Syntax:*PsiFSEnable [-link | [-print] [device]]

Parameters:-link connect remote link (the default)
-print connect remote device to a printer
device the name of a file or device to send data to

Use: *PsiFSEnable activates the configured block driver for either the remote link or connecting to a printer.

The -link switch attempts to initiate a connection to a remote SIBO or EPOC device using the Psion Link Protocol. This option is assumed if no parameters are specified.

The -print switch results in all characters received over the serial link being copied to device. Any valid file or output device may be specified. The default is to use printer: which allows a SIBO or EPOC device to print to the active RISC OS printer without needing a special cable. Useful values for device include:
DeviceDescription
printer:The currently selected printer (the default behaviour).
null:,
printer#null:,
printer#sink:
or printer#0:
The null device (discards all data).
parallel:,
fastparallel:,
printer#parallel:,
printer#centronics:
or printer#1:
The parallel port.
serial:,
printer#serial:,
printer#rs423:
or printer#2:
The internal serial port (only available if PsiFS is configured to use a different port).
printer#user:
or printer#3:
The user printer device.
netprint:A network printer.
vdu:The computer's VDU stream, filtered using the configured DumpFormat.
rawvdu:The computer's VDU stream, unfiltered.

If the block driver is already enabled then either no action is taken or an error is generated depending on whether the current and requested modes are the same.


Example:*PsiFSEnable -link

Related commands:*PsiFSDisable, *PsiFSDriver, *PsiFSListDrivers, *PsiFSStatus

[Contents] [Up] Copyright © Alexander Thoukydides, 1998, 1999, 2000, 2001, 2002