Thermal printer does not print until buffer is full
up vote
0
down vote
favorite
I have an Epson TM-T88II receipt printer, with a DB-25 connector. I connected it to my Debian machine with a pl2303 USB converter. I configured the printer using the following command:
stty -F /dev/usbTTY0 9600 ixon raw
Printing single lines does not work, such as
echo "Hello world!" > /dev/ttyUSB0
but printing large amounts of text works, with the following command:
yes > /dev/ttyUSB0
So the printer does work, but it seems that it starts printing when the buffer is full.
How can I print individual lines of text or images, without first fulling the buffer?
printer serial-port
|
show 1 more comment
up vote
0
down vote
favorite
I have an Epson TM-T88II receipt printer, with a DB-25 connector. I connected it to my Debian machine with a pl2303 USB converter. I configured the printer using the following command:
stty -F /dev/usbTTY0 9600 ixon raw
Printing single lines does not work, such as
echo "Hello world!" > /dev/ttyUSB0
but printing large amounts of text works, with the following command:
yes > /dev/ttyUSB0
So the printer does work, but it seems that it starts printing when the buffer is full.
How can I print individual lines of text or images, without first fulling the buffer?
printer serial-port
It isn't clear what the question is. It sounds like the printer is designed to print a "page" rather than a line. Have you checked the documentation to verify that it can print a line at a time (and if so, how to do it)? A lot of thermal printers do work that way.
– fixer1234
Nov 30 at 8:38
Ah I forgot to add the actual question. I have another receipt printer connected to USB, which works fine with individual lines. They both implement the same protocol for printing, ESC/PoS.
– Eloy
Nov 30 at 11:37
I'm assuming printers, interfaces and programs are identical for both printers. The printer has some DIP switches, for some of which the manual says "do not change". Compare the switch settings in the 2 printers.They're under a cover at the bottom of the printer.
– hdhondt
Dec 1 at 5:01
Both printers are not identical, the one that does work (Wincor Nixdorf TH320+) is directly connected to the USB port, the printer that does not work (Epson TM-T88II) has a DB-25->DB-9->USB conversion to the computer.
– Eloy
Dec 1 at 18:23
Any software differences? Does the hello world command print on the Wincor printer?
– hdhondt
Dec 2 at 9:08
|
show 1 more comment
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an Epson TM-T88II receipt printer, with a DB-25 connector. I connected it to my Debian machine with a pl2303 USB converter. I configured the printer using the following command:
stty -F /dev/usbTTY0 9600 ixon raw
Printing single lines does not work, such as
echo "Hello world!" > /dev/ttyUSB0
but printing large amounts of text works, with the following command:
yes > /dev/ttyUSB0
So the printer does work, but it seems that it starts printing when the buffer is full.
How can I print individual lines of text or images, without first fulling the buffer?
printer serial-port
I have an Epson TM-T88II receipt printer, with a DB-25 connector. I connected it to my Debian machine with a pl2303 USB converter. I configured the printer using the following command:
stty -F /dev/usbTTY0 9600 ixon raw
Printing single lines does not work, such as
echo "Hello world!" > /dev/ttyUSB0
but printing large amounts of text works, with the following command:
yes > /dev/ttyUSB0
So the printer does work, but it seems that it starts printing when the buffer is full.
How can I print individual lines of text or images, without first fulling the buffer?
printer serial-port
printer serial-port
edited Nov 30 at 11:36
asked Nov 29 at 14:51
Eloy
524
524
It isn't clear what the question is. It sounds like the printer is designed to print a "page" rather than a line. Have you checked the documentation to verify that it can print a line at a time (and if so, how to do it)? A lot of thermal printers do work that way.
– fixer1234
Nov 30 at 8:38
Ah I forgot to add the actual question. I have another receipt printer connected to USB, which works fine with individual lines. They both implement the same protocol for printing, ESC/PoS.
– Eloy
Nov 30 at 11:37
I'm assuming printers, interfaces and programs are identical for both printers. The printer has some DIP switches, for some of which the manual says "do not change". Compare the switch settings in the 2 printers.They're under a cover at the bottom of the printer.
– hdhondt
Dec 1 at 5:01
Both printers are not identical, the one that does work (Wincor Nixdorf TH320+) is directly connected to the USB port, the printer that does not work (Epson TM-T88II) has a DB-25->DB-9->USB conversion to the computer.
– Eloy
Dec 1 at 18:23
Any software differences? Does the hello world command print on the Wincor printer?
– hdhondt
Dec 2 at 9:08
|
show 1 more comment
It isn't clear what the question is. It sounds like the printer is designed to print a "page" rather than a line. Have you checked the documentation to verify that it can print a line at a time (and if so, how to do it)? A lot of thermal printers do work that way.
– fixer1234
Nov 30 at 8:38
Ah I forgot to add the actual question. I have another receipt printer connected to USB, which works fine with individual lines. They both implement the same protocol for printing, ESC/PoS.
– Eloy
Nov 30 at 11:37
I'm assuming printers, interfaces and programs are identical for both printers. The printer has some DIP switches, for some of which the manual says "do not change". Compare the switch settings in the 2 printers.They're under a cover at the bottom of the printer.
– hdhondt
Dec 1 at 5:01
Both printers are not identical, the one that does work (Wincor Nixdorf TH320+) is directly connected to the USB port, the printer that does not work (Epson TM-T88II) has a DB-25->DB-9->USB conversion to the computer.
– Eloy
Dec 1 at 18:23
Any software differences? Does the hello world command print on the Wincor printer?
– hdhondt
Dec 2 at 9:08
It isn't clear what the question is. It sounds like the printer is designed to print a "page" rather than a line. Have you checked the documentation to verify that it can print a line at a time (and if so, how to do it)? A lot of thermal printers do work that way.
– fixer1234
Nov 30 at 8:38
It isn't clear what the question is. It sounds like the printer is designed to print a "page" rather than a line. Have you checked the documentation to verify that it can print a line at a time (and if so, how to do it)? A lot of thermal printers do work that way.
– fixer1234
Nov 30 at 8:38
Ah I forgot to add the actual question. I have another receipt printer connected to USB, which works fine with individual lines. They both implement the same protocol for printing, ESC/PoS.
– Eloy
Nov 30 at 11:37
Ah I forgot to add the actual question. I have another receipt printer connected to USB, which works fine with individual lines. They both implement the same protocol for printing, ESC/PoS.
– Eloy
Nov 30 at 11:37
I'm assuming printers, interfaces and programs are identical for both printers. The printer has some DIP switches, for some of which the manual says "do not change". Compare the switch settings in the 2 printers.They're under a cover at the bottom of the printer.
– hdhondt
Dec 1 at 5:01
I'm assuming printers, interfaces and programs are identical for both printers. The printer has some DIP switches, for some of which the manual says "do not change". Compare the switch settings in the 2 printers.They're under a cover at the bottom of the printer.
– hdhondt
Dec 1 at 5:01
Both printers are not identical, the one that does work (Wincor Nixdorf TH320+) is directly connected to the USB port, the printer that does not work (Epson TM-T88II) has a DB-25->DB-9->USB conversion to the computer.
– Eloy
Dec 1 at 18:23
Both printers are not identical, the one that does work (Wincor Nixdorf TH320+) is directly connected to the USB port, the printer that does not work (Epson TM-T88II) has a DB-25->DB-9->USB conversion to the computer.
– Eloy
Dec 1 at 18:23
Any software differences? Does the hello world command print on the Wincor printer?
– hdhondt
Dec 2 at 9:08
Any software differences? Does the hello world command print on the Wincor printer?
– hdhondt
Dec 2 at 9:08
|
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1379442%2fthermal-printer-does-not-print-until-buffer-is-full%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It isn't clear what the question is. It sounds like the printer is designed to print a "page" rather than a line. Have you checked the documentation to verify that it can print a line at a time (and if so, how to do it)? A lot of thermal printers do work that way.
– fixer1234
Nov 30 at 8:38
Ah I forgot to add the actual question. I have another receipt printer connected to USB, which works fine with individual lines. They both implement the same protocol for printing, ESC/PoS.
– Eloy
Nov 30 at 11:37
I'm assuming printers, interfaces and programs are identical for both printers. The printer has some DIP switches, for some of which the manual says "do not change". Compare the switch settings in the 2 printers.They're under a cover at the bottom of the printer.
– hdhondt
Dec 1 at 5:01
Both printers are not identical, the one that does work (Wincor Nixdorf TH320+) is directly connected to the USB port, the printer that does not work (Epson TM-T88II) has a DB-25->DB-9->USB conversion to the computer.
– Eloy
Dec 1 at 18:23
Any software differences? Does the hello world command print on the Wincor printer?
– hdhondt
Dec 2 at 9:08