Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF to Zebra printer is blurry and/or poor quality #503

Closed
lite1979 opened this issue Oct 17, 2019 · 9 comments
Closed

PDF to Zebra printer is blurry and/or poor quality #503

lite1979 opened this issue Oct 17, 2019 · 9 comments

Comments

@lite1979
Copy link
Contributor

lite1979 commented Oct 17, 2019

Using 2.1 RC7, Windows 10, Zebra GK420d printer, and compared to Adobe results, QZ-Tray's print results are poor by comparison.

Printing to "Microsoft Print to PDF", the resulting PDF is not blurry, so I suspect either the Zebra driver or the font associated with the print job vs. printer capability in this case.

Drug-print.pdf

@tresf
Copy link
Contributor

tresf commented Nov 11, 2019

Here are the details of my testing:

  • The PDF is confirmed to be printing vector (rasterize: false is being honored), but the font is curtailing at such a small size. Making it bold will help slightly. I recommend the label is redesigned so that it prints better. I feel there's room for improvement in regards to print quality, but it would be an upstream issue for PDFBOX.
  • I've tested turning off dithering in the driver settings and it did not seem to help this particular problem.
  • I've tested the PDF on the latest PDFBOX release and it has the same results.

In summary what worked best (still not the same quality as Adobe) was setting the following in the ZDesigner driver:

  • Darkness: 15
  • Speed: 1.5/s

If we decide to reopen this, it will need to be filed upstream. The tests were done using PDFBOX on command line so QZ Tray is not a factor.

Closing as wontfix for now. We may have to revisit this.

@tresf tresf closed this as completed Nov 11, 2019
@tresf tresf added the wontfix label Nov 11, 2019
@tresf tresf reopened this Dec 11, 2019
@tresf tresf added enhancement and removed wontfix labels Dec 11, 2019
@tresf
Copy link
Contributor

tresf commented Dec 11, 2019

We'll take a deeper dive into this. Assigning to @bberenz and @lite1979.

@bberenz can you provide Lite with a unit test that does the following:

  1. Prints something like a JLabel text, optimized for thermal printing (aliasing off)
  2. Prints a PDF text of same text and size, optimized for thermal printing

Then we'll raise the concerns to PDFBOX.

@tresf tresf added the upstream label Dec 11, 2019
@tresf tresf changed the title PDF printed via QZ-Tray is blurry and/or poor quality PDF to Zebra printer is blurry and/or poor quality Dec 11, 2019
@lite1979
Copy link
Contributor Author

@lite1979
Copy link
Contributor Author

Unfortunately, this issue has been labeled as "won't fix" by Apache, and my bug was labeled as a duplicate of this one:

https://issues.apache.org/jira/browse/PDFBOX-3293

The recommendation is to use another font; the user that raised the issue for the link above lists his fonts as NOTO CJK and CNS11643

@tresf tresf reopened this Jan 21, 2020
@tresf
Copy link
Contributor

tresf commented Jan 21, 2020

Per recommendation of PDFBOX, filed upstream bug report: adoptium/adoptium-support#45

@tresf
Copy link
Contributor

tresf commented Aug 2, 2022

Update:

@tresf
Copy link
Contributor

tresf commented Apr 2, 2023

Initial integration is partially broken... For some reason when added to QZ Tray, the page is cut off half-way.
image

@tresf
Copy link
Contributor

tresf commented Apr 18, 2023

@tresf
Copy link
Contributor

tresf commented Jun 22, 2023

Closed via #1108

@tresf tresf closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants