PsiFS: *Commands

*PsiFSDriver

*PsiFSDriver
Configure the serial block driver to use

Syntax:*PsiFSDriver [[-driver] driver] [[-port] port] [[-baud] baud_rate] [-autobaud | -noautobaud] [[-options] options]

Parameters:driver the block driver name
port serial port number (0 for the first)
baud_rate serial baud rate
-autobaud enable automatic baud rate identification
-noautobaud disable automatic baud rate identification
options an optional parameter string specifying extra block driver options

Use: *PsiFSDriver configures the serial block driver used by PsiFS for both the remote link and connecting to a printer. The current values of any omitted parameters are preserved. If the block driver is active then an error is generated.

The baud rate must be configured the same on both the RISC OS and SIBO or EPOC machines. It should normally be set to the fastest rate supported by both sets of hardware.

If automatic baud rate identification is enabled then the following baud rates are tried in sequence until a connection is established: 9600, 19200, 38400, 57600 and 115200 baud. Automatic baud rate identification is only used for the remote link; the printer mirror always uses the specified baud rate.

The data format and handshaking are always set as:
Data formatHandshaking
Data bits8XON/XOFFNo
Stop bits1RTS/CTSYes
ParityOddDSR/DTRYes
Ignore parityYesDCDNo

These settings are automatically used for the Psion Link Protocol, but should be manually configured on the SIBO or EPOC device when printing via PsiFS.

The -options parameter is not normally required, but may be used to configure special features with some block drivers. If spaces or other special characters need to be included then the string must be enclosed in quotes.

If no parameters are given then the current settings are displayed.


Example:PsiFSDriver
-driver InternalPC
-port 0 -baud 115200
-autobaud -options ""
Configure automatic baud rate identification with the internal serial port

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

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