Printer Interface - Sharp CE-E Service Manual

Parallel and pocket disk interface
Table of Contents

Advertisement

CE-1600E
If the printer takes 10 seconds or more lor the new page operation,
an error occurs when an attempt is made to output data following
the new page code (LPRINT CHR$(12);).
the following command.
1 ON ERROR GOTO 60000
60000 IF ERN = 69 THEN RESUME
60000
Lines 1 and
completed.
6. END OF LlNE CODES AND
PROGRAM LlSTING FORMATS
Output of the end of line code at the end of a line can be turned
on and off if the amount of data exceeds the number of columns
per
line specified
outputling
a program
lines can be started from the first column or the 8th column.
End of Llne Code Output
Problems may arise if the number of print columns per line set in
the PCONSOLE statement is not the same as the number of printable
columns for the printer. Furthermore,
perform
a line feed after
characters.
(1) Select "do not output end 01 line code" Irom below il the value
132 is set in the PCONSOLE
printable columns for the printer is 80.
If "output
end of line code"
automatically
again after the 132nd column.
(2) Select "output end of line code" from below if the value
set in the PCONSOLE
columns for the printer is 132.
I1 "do not output end of line code" is selected, the 81st column
will be output on the same line. Furthermore,
8th
column"
between the 80th and 81 st columns.
Selectlon of the Start Prlntlng Position
Since the line number is printed from the first column, long program
lines that require 2 or more printed lines can be printed with 2nd
and subsequent
the overall program listing easier to read. Select this indentation
leature for easier to red program listings.
Key Entry: POKE & FE79, X
(X denotes the value 0-3 as shown in the table below.)
x
Output End 01Line Code
0
1
2
3
When the PC-1600 is connected
when the raset button is pressed, X = 0 will be selected. Futhermore,
whenever
the power is tumed on again, the previous values that
were specified belore the power was tumed off are retained.
Note: The end of line code referred to on the previous
specified in the PCONSOLE statement. However, if a program
line is less that the number of columns per line specified in
the PCONSOLE
the PCONSOLE
I1 an error occurs, add
are repeated
until the new page operation
in the
PCONSOLE
statement.
listing, printing of the 2nd and subsequent
most printers automatically
receiving
an entire
statement
and the number of
is selected,
perform a line feed after the 80th column and
statement
and the number 01 printable
has been selected,
7 spaces
printed lines starting from the 8th column to make
Listing Format
No
Print from
Yes
Print from 8th column
No
Print from 1st column
Yes
Print from 1st column
~-
to interface for the first time or
statement, the end of line code specified in
statement will be output.
7.
The interface can connect with most Centronics compatible printers.
The interface uses handshaking
reference,
wiring, signal timing chart, and electrical
the following.
is
recommended
(1) Printer Interface Connector Signals
Number
Also,
when
line of printable
the
printer
will
80
is
if "print from the
will be inserted
14 - 25
(2) Printer Cable Wlring
The EA-158C is wired as shown below.
Computer end
8th
column
14-25
page is
Pin 36 at the printer is not connected in the EA-158C. Some printers
use pin 36 for the SELECT IN signal wh ich must be in the SELECT
state. See the operaation manual for your printer. Also some printers
provide a switch for the SELECT state.
-2-

PRINTER INTERFACE

through the BUSY siqnal. For your
the printer
interface
connector
The
information
is not necessary
printer and cable are used.
\<D
0 0 --------------- 00
~ 0-------------------0
Direction of
Pin
Signal
signal as seen
Name
fromthe
interface
1
STROBE
Output
2
DATA1
Output
3
DATA2
Output
4
DATA3
Output
5
DATA4
Output
6
DATA5
Output
7
DATA6
Output
8
DATA7
Output
9
DATA8
Output
10
BUSY
Input
11
EXPRM
Output
12
N.C.
13
N.C.
GND
Printer end
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
11
11
31
16,17,19
- 27,
29,30
signals,
printer
cable
requtrements
are given in
il a SHARP
® }
®
Description
Strebe
pulse used to output
data.
8 bit data signals with the
signal high when the data
is "1".
The MSB is DA TA 8.
The LSB is DATA 1.
The printer is ready to
receive data when low.
Signal used to initialize the
A Iow
printer.
pulse is output
the
when
computer is tumed
on (exceptwhen
~
is
pressed after an auto-
power off) or when the
reset button is pressed.
Notused
Notused
Ground

Advertisement

Table of Contents
loading

Table of Contents