Open Rincewind34 opened 1 year ago
Im getting the same result using the P900W
Check out https://github.com/boxine/rasterprynt. I used this library for the same printer when I had one for work related stuff.
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.
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.
@Rincewind34 @bashyftw can you confirm this works with 'pt*' labels?
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.
@Rincewind34 have you had a chance to check?
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](https://user-images.githubusercontent.com/13020648/216289370-32b989d9-0f1c-42dd-9232-8b4aff5b4d72.png)
And this is what comes out:![Screenshot 2023-02-02 at 10 47 15](https://user-images.githubusercontent.com/13020648/216290290-55339d21-eb5a-4124-ae7a-dbe1903e15b4.png)
And this is what the CLI does: