esc-pos-java icon indicating copy to clipboard operation
esc-pos-java copied to clipboard

use SerialPrinter() ,I can print, but white lines appear.

Open kazuohprc opened this issue 1 year ago • 0 comments

Hello I usually use the [NetworkPrinter] class. I've been able to use this without any problems.

However, I also want to use it with USB, so I'm also using [SerialPrinter] and creating a Printer interface as follows:

Printer printer = new SerialPrinter(p_connect, 9600);

I can print, but white lines appear.

At first I thought it was a printer problem, so I connected to LAN or WiFi, and when I used NetworkPrinter, the printout was clear.

When printing, if it's a network connection, the printer prints immediately.

If it's [SerialPrinter], the printer is a little slow, and it seems to print one line at a time.

kazuohprc avatar Oct 28 '24 20:10 kazuohprc