Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extra space print between some printers

See original GitHub issue

I have used following example for loop printing.

`private void dummyPrinter(DeviceConnection connection){ try { EscPosPrinter printer = new EscPosPrinter(connection, 203, 48f, 32); for(int i=0;i<4;i++){ printer.printFormattedText(“[L]text\n”); } printer.disconnectPrinter(); }catch (Exception e){ e.printStackTrace(); }


But CK710 USB printer give huge space between text. WhatsApp Image 2022-02-27 at 12 02 42 PM(1)

Bluetooth scangle printer it print correctly. WhatsApp Image 2022-02-27 at 12 02 42 PM

Do you have any idea regarding extra space?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

madhura365commented, Feb 28, 2022

Do you mean printFormattedText(String text, float mmFeedPaper) or printFormattedText(String text, int dotsFeedPaper) ?

DantSucommented, Feb 27, 2022

Look optionnal params of printFormattedText.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extra space between letters only when printing
I am getting extra spaces between letters in certain words only when printing. I am printing a word doc (Word 2000) to an...
Read more >
Extra space at top of page - HP Support Community - 6577612
On landscape printing, the extra space is on the right side of the page. I have tried everything but nothing seems to disallow...
Read more >
Extra spaces when printing - python - Stack Overflow
I would like to remove the space that follows each variable in the sentence. In this case the space between 600 and the...
Read more >
Random spaces between letters on some lines - Google Groups
When I type a document and make it full-justified, I am getting random spaces between letters on some lines. It looks fine on...
Read more >
How to Get a Printer to Fill a Whole Page
Choose "Printing Preferences" from the pop-up menu, then look at the setup options your print driver provides. Usually, there will be one called...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found