Tandy 1000 Basic Reference Manual page 346

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chawter
10 I
BASIC Kevwords
If you attempt to select a size outside the range 0 to 255, an "il-
legal function call" error results.
Examples
W I D T H L P R I N T 1 3 2
WIDTH "LPTI
: ' I ,
1 3 2
Both these statements change the printer width to 132. The sec-
ond statement does not change the printer width until
LPT1:
is
specified as the device in an
OPEN
statement.
1 0 W I D T H L P R I N T 80
1 0 0
OPEN "LPT1
: I '
F O R
O U T P U T
A S
# 1
150 P R I N T # 1
1 0 0 0 W I D T H
# I ,
4 0
Line 10 changes the width of the printer to 80 characters. Line
150 prints the records as 80 characters each. After BASIC exe-
cutes Line 1000, Line 150 prints the records as 40 characters
each.
344

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents