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
465
465
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
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
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