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

The print function does not work correctly #376

Closed
Gos1k opened this issue Nov 3, 2021 · 12 comments
Closed

The print function does not work correctly #376

Gos1k opened this issue Nov 3, 2021 · 12 comments

Comments

@Gos1k
Copy link

Gos1k commented Nov 3, 2021

1) Summary: The print function does not work correctly

2) Description: When using the print function, the printer prints a blank page, regardless of what is in the document

3) Environment:

Windows 10 Pro x64, Build 19043.1320, Version 21H1

LazPaint 7.1.6, 64-bit, portable

Printer: Kyocera FS – 1035MFP

4) Steps to reproduce

Press File
Press Print

5) Expected behavior
The printer should print the specified image

6) Actual behavior
The printer prints a blank page

@circular17
Copy link
Collaborator

That's surprising. Have you tried another printer, for example Print To PDF?

@lainz
Copy link
Member

lainz commented Nov 6, 2021

I have an HP DeskJet Ink Advantage 2135 and I oftenly print with LazPaint without issues.

@lainz
Copy link
Member

lainz commented Nov 6, 2021

Notice that my printer uses ink and the printer of Gos1k uses toner.

@melchiorrecaruso
Copy link

I just wanted to report that I'm having the same issue.

LazPaint initially printed correctly, but after a few months, it started printing blank pages.

The printer I use in the office is a RICOH IM C2000.

The same images print correctly with other graphic programs like Microsoft Paint or Gimp.

Regarding virtual printers, Adobe PDF doesn't work, but Microsoft Print to PDF works fine.

Operating system: Windows 10 Pro 22H2

Regards

@melchiorrecaruso
Copy link

melchiorrecaruso commented Jun 24, 2024

I think the problem is related to transparency & Windows because it started when I began to cut out the images.

On Linux (Fedora 40), both attached images are printed correctly.
Later, I will try on another PC with Windows 10.

Regards

Edit1: Both images are printed correctly on my home pc with Win10 Home 22H2.

Edit2: If I use one of the two commands to remove the transparency and set the background color to white, the problem is solved. I still haven't figured out why the issue occurs on one PC and not the other.

OK
KO

@melchiorrecaruso
Copy link

I believe I've figured out why the problem occurs at the office but not at home: not all printers support transparency.

Now that I've connected my work PC to the home printer, the issue has disappeared.
Nevertheless, I think this problem should be addressed because it doesn't happen with Gimp or Paint.

Best regards,
Melchiorre

@circular17
Copy link
Collaborator

Hi Melchiorre!

Thank you very much for your feedback. Your detailed explanation seems to point towards a solution. Would that be to fill the background with white before printing?

Regards

@melchiorrecaruso
Copy link

You're welcome!

Yes, the solution could be to fill the background with white before printing.

@circular17
Copy link
Collaborator

Thanks, I'm adding this issue to the next release

@melchiorrecaruso
Copy link

The solution for this problem also resolves the third issue in report #584, and the check for empty images can be removed.

Regards

@circular17
Copy link
Collaborator

I've applied the change on dev branch.

@melchiorrecaruso
Copy link

melchiorrecaruso commented Aug 31, 2024

In my last message, I wrote that the check for the empty images can be removed, but I should have written must be removed. Printing a empty page raises an exception on Linux.

I apologize for the translation error.
Best regards

EDIT: I've added more details to the appropriate page regarding issue #584.

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

4 participants