×
Menu
Index

SET-PRINTER

[TBD]
 
 T3-BB model only
 
Purpose: Allows a user program to send custom data out the serial port. Normally this will be a serial printer but can also be custom devices communicating over a serial link. .
 
Format:  SET-PRINTER A
                SET-PRINTER B
                SET-PRINTER 0
 
Example:
  10 SET-PRINTER B : REM PRINTER CONNECTED TO 1200 BAUD MODEM PORT
  20 SET-PRINTER A : REM PRINTER CONNECTED TO 9600 BAUD LOCAL PORT
  30 SET-PRINTER 0 : REM NO PRINTER CONNECTED NOW
 
Using lower-case letter in the SET- PRINTER statement will allow only messages created with the PRINT statement to be printed out to the serial printer. In other words, messages generated by either the system or ALARM statements will not be printed.
 
Example:     10 Set-Printer b