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

Printer Support PT-P950NW #31

Open
Rincewind34 opened this issue Feb 2, 2023 · 7 comments
Open

Printer Support PT-P950NW #31

Rincewind34 opened this issue Feb 2, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Rincewind34
Copy link

Rincewind34 commented Feb 2, 2023

I'm having trouble getting a print on this printer to work (and since that is my only printer, I'm having trouble getting anything to work xD). I understand that support for this printer was patched by you?

The software is communicating with the printer, it is discovering it under the USB port, printing my png does make something come out of the printer, but its garbage.

I adjusted the png to the dimensions 283 × 110 as documented for a 12mm label. Here is what I'm trying to print: barcode

And this is what comes out: Screenshot 2023-02-02 at 10 47 15

And this is what the CLI does:

~/D/K/i/s/brother_ql-inventree master 5.2s ❱ brother_ql -p 'usb://0x04f9:0x2086' -b pyusb --model PT-P950NW print --label 12 --rotate 90 --threshold 0.5 ../barcode.png
INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 20173 bytes.
INFO:brother_ql.backends.helpers:Printing was successful. Waiting for the next job.
@CraigBorrows
Copy link

Im getting the same result using the P900W

@asklc
Copy link

asklc commented Feb 17, 2024

Check out https://github.com/boxine/rasterprynt. I used this library for the same printer when I had one for work related stuff.

@matmair
Copy link
Owner

matmair commented Jun 21, 2024

Hi there! I do not have access to a printer of the PT series so it is difficult for me to debug this. There is this issue upstream, which I have merged in here. Maybe adjusting the compression might help.

@vulpes2
Copy link

vulpes2 commented Aug 3, 2024

Use pt12 instead of 12, and enable compression. print --label pt12 --rotate 90 --compress barcode.png

The label names with the pt prefix are the TZe tape cartridges, which has different geometry compared to the 12mm paper label. The threshold parameter is redundant for a B&W image like the sample you provided. There are currently some geometry bugs that can be worked around by enabling compression.

Update: the geometry issue with uncompressed data is now fixed.

@matmair
Copy link
Owner

matmair commented Aug 4, 2024

@Rincewind34 @bashyftw can you confirm this works with 'pt*' labels?

@matmair matmair self-assigned this Aug 4, 2024
@matmair matmair added the bug Something isn't working label Aug 4, 2024
@Rincewind34
Copy link
Author

I'll try to confirm this in the coming weeks. I'm currently on summer leave, so I don't have access to my firms items.

@matmair
Copy link
Owner

matmair commented Aug 18, 2024

@Rincewind34 have you had a chance to check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants