I was speaking with a user in London yesterday - he uses QPC2 and has 2 printers connected to his PC - a Canon connected to the parallel port and an Epson connected to a serial port.
He has used this setup in the past, but whilst he was able to print to the Canon, he was struggling with the Epson for some reason.
He tried : OPEN #3,ser1: PRINT #3,"Hello World": CLOSE #3
and nothing comes out of the Epson.
Change it to:
OPEN #3,par: PRINT #3,"Hello World": CLOSE #3
and the Canon prints merrily away.
Is there something he might be missing either on the PC or the QPC2 setup?
SER1 was pointing to COM1 in the QPC2 configuration panel.
Printing from QPC2 to serial printer
-
- RWAP Master
- Posts: 2839
- Joined: Sun Nov 28, 2010 4:51 pm
- Location: Stone, United Kingdom
- Contact:
Printing from QPC2 to serial printer
Rich Mellor
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
Re: Printing from QPC2 to serial printer
Hi,
in about 99:9 percent of the cases where serial printing doesn't work, the problem is a broken or improper wired cable.
You can try from a WIndows CMD window whether a simple 'copy (somefile.txt) COM1' (8etter use a very short file) would make the printer tick.
If that doesn't work, it's not a QPC related problem
Regards,
Tobias
in about 99:9 percent of the cases where serial printing doesn't work, the problem is a broken or improper wired cable.
You can try from a WIndows CMD window whether a simple 'copy (somefile.txt) COM1' (8etter use a very short file) would make the printer tick.
If that doesn't work, it's not a QPC related problem
Regards,
Tobias
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Re: Printing from QPC2 to serial printer
As someone else said, the usual serial printer problem is cabling, and trying to print from Windows to the serial printer would confirm whether the setup is OK and if it's some QL side problem.RWAP wrote:He tried : OPEN #3,ser1: PRINT #3,"Hello World": CLOSE #3
and nothing comes out of the Epson.
Many years ago, I had a printer which would lose the last page unless ended with a form feed, so it might be worth adding BPUT #3,12 before the CLOSE to try that. Or, of course, if that works he can then use one of the 'form feed at end' device name qualifiers (look them up in the Serial Ports part of the SMSQE/QPC manual.
Dilwyn
--
All things QL - https://dilwyn.qlforum.co.uk/index.html
All things QL - https://dilwyn.qlforum.co.uk/index.html