Page 1 of 1

Connect the Sinclair QL to a serial printer

Posted: Tue May 21, 2024 12:01 pm
by Robbizz
I'm trying to connect my QL to a serial printer. The printer is an Apple ImageWriter. It is the only serial printer I have and interfacing it with a Macintosh Classic works correctly. I built a serial cable (see photo and pinout), but when I try to print (see program), the printed characters are indecipherable (see photo). Unfortunately I don't know if the speed set by the baud command is correct (I've done several tests but 600 is what makes me print something), and I haven't found anything documented regarding the parameters that must be put after ser2 (ic I found them on a YouTube video about a brother printer).
When creating the serial cable I used a Topic here on this same forum. If anyone can verify the correct connection of the cable pinout (designed to work on ser2) and maybe some suggestions for having a correct print I would be grateful! Thank you

PS: The connections are seen from the front side of the cable connectors.
IMG_2259 - dimensioni grandi.jpeg
IMG_2260 - dimensioni grandi.jpeg
IMG_2257 - dimensioni grandi.jpeg
IMG_2256 - dimensioni grandi.jpeg
IMG_2255 - dimensioni grandi.jpeg

Re: Connect the Sinclair QL to a serial printer

Posted: Tue May 21, 2024 1:50 pm
by tofro
600 Baud is very unlikely.

Apple. ImageWriters default to 9600 Baud if I remember that correctly. So, you should probably try this.

Re: Connect the Sinclair QL to a serial printer

Posted: Tue May 21, 2024 1:59 pm
by Robbizz
tofro wrote: Tue May 21, 2024 1:50 pm 600 Baud is very unlikely.

Apple. ImageWriters default to 9600 Baud if I remember that correctly. So, you should probably try this.
Fantastic! I thought serial printers didn't reach these speeds. Tonight when I'm in front of my equipment I'll try with that Value.

Re: Connect the Sinclair QL to a serial printer

Posted: Tue May 21, 2024 2:10 pm
by tofro
And as you apparently have the handshake lines connected, you should probably also use them (i.e. leave out the "i" from the device name).

I'd try

Code: Select all

BAUD 9600
OPEN #3,ser2hr
LIST #3

Re: Connect the Sinclair QL to a serial printer

Posted: Tue May 21, 2024 10:06 pm
by Robbizz

Code: Select all

BAUD 9600
OPEN #3,ser2hr
LIST #3

With 9600 baud it works!
I tried with this code you wrote me, but I get long waits between one printed line and another.
Rather something like this works:

OPEN #3, ser2i

In this case I immediately obtain the printing and the correct wrapping of the printed strings.

Maybe I made a mistake with the Handshake cables?