inventree / inventree-brother-plugin

Label printing plugin for Brother series printers
MIT License
16 stars 12 forks source link

Printer print blank sticker #13

Open Mimosa-oceanis opened 1 year ago

Mimosa-oceanis commented 1 year ago

Hi, I've installed the plugin into my inventree server. It actually detect the printer because it print a sticker, but there's nothing on it. It completely white. The printer is P900W and I'm using 12mm label size. The inventree version is 0.9.0 And the plugin version is 0.5.0

SchrodingersGat commented 1 year ago

Can you check if the label prints normally to PDF?

Mimosa-oceanis commented 1 year ago

If I print the label in PDF the label is correct.

SchrodingersGat commented 1 year ago

Can you share the label template? Are you using a default template or custom?

Mimosa-oceanis commented 1 year ago

I haven't change the template. But I'll send you the template end of next week. The server is at my work and I don't have access from home.

Mimosa-oceanis commented 1 year ago

Hi @SchrodingersGat Here is some print screen of my system configuration.

As describe before, the connection with the printer works because it print something, the only thing is that the result is just blank.

Let me know if you need more informations.

Capture d’écran 2023-01-04 à 15 22 42 Capture d’écran 2023-01-04 à 15 22 58 Capture d’écran 2023-01-04 à 15 23 16 Capture d’écran 2023-01-04 à 15 23 27 Capture d’écran 2023-01-04 à 15 23 56 Capture d’écran 2023-01-04 à 15 24 06 Capture d’écran 2023-01-04 à 15 24 16 Capture d’écran 2023-01-04 à 15 24 27
SchrodingersGat commented 1 year ago

As far as I can see the actual image data is getting through OK. It may be something specific to the printer version.

I have found that some printer models require certain settings to work at all.

I have just released inventree-brother-plugin 0.6.0. Update to this version (using invoke update) and you'll have access to some more settings:

image

Try playing around with the new settings and see if it works?

SchrodingersGat commented 1 year ago

@Mimosa-oceanis I've had some time to look into this further, and have had success with the PT-750W printer and the following settings:

image

Mimosa-oceanis commented 1 year ago

Hi @SchrodingersGat I struggled to update the inventree to the last version. Now it is done so I could test with your last release and the last inventree release.

Unfortunately the problem remains the same on my printer. It print a blank sticker. I tried to play with the option of your driver, like compression or high quality toggle, but nothing change.

Maybe there is something about to play about the DPI of the image ?

Capture d’écran 2023-01-30 à 09 44 37

I don't know if this could be important, but the inventree docker is running on Jetson nano. So it is an ARM processor.