pklaus / brother_ql

Python package for the raster language protocol of the Brother QL series label printers (QL-500, QL-550, QL-560, QL-570, QL-700, QL-710W, QL-720NW, QL-800, QL-810W, QL-820NWB, QL-1050, QL-1060N and more).
GNU General Public License v3.0
547 stars 156 forks source link

QL-820NWB Error wrong roll type #52

Open akilinomendez opened 5 years ago

akilinomendez commented 5 years ago

Hi i run this command: brother_ql print -l 62 tmp.png

And in terminal get: WARNING:brother_ql.conversion:Need to resize the image... INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 5731 bytes.

But in printer error wrong roll type

akilinomendez commented 5 years ago

IF not pass de command --red or black not print.

With roll 62 not problemn but the de rolls 17x54|17x87|23x23|29x42|29x90|39x90|39x48|52x29|62x29|62x100|102x51|102x152|d12|d24|d58 display same error.

inneralien commented 5 years ago

I am also getting this error on the QL-820NWB with the sample 62mm endless tape that comes with the device. I am however able to successfully print on the 29mm x 90.3mm die-cut label sample which also comes with the device. Below is a bunch of information that might be helpful. I'd be happy to help debug the issue if you wouldn't mind giving me some hints at the best place to start looking.

The printer screen reports:

! Wrong Roll Type Check the print data and try again.

The command line being used is: ➜ brother_ql print -l62 sample_label_print_wide.png

The output on the command line: ➜ brother_ql print -l62 sample_label_print_wide.png INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 37444 bytes. WARNING:brother_ql.backends.helpers:'printing completed' status not received. WARNING:brother_ql.backends.helpers:'waiting to receive' status not received. WARNING:brother_ql.backends.helpers:Printing potentially not successful?

Environment variables are: BROTHER_QL_PRINTER=usb://0x04f9:0x209d BROTHER_QL_MODEL=QL-820NWB

The png I'm attempting to print is: sample_label_print_wide

Thanks!

inneralien commented 5 years ago

I figured out the issue after reading the command line help more thoroughly. Since the sample 62mm roll that comes with the unit is a red/black the --red option has to be passed on the command line.

brother_ql print -l62 --red sample_label.png INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 74644 bytes. INFO:brother_ql.backends.helpers:Printing was successful. Waiting for the next job.

bobbysmith007 commented 4 years ago

Its very easy to miss that "--red" must be supplied with certain roll sizes and models.

I wonder if it would be possible to default to --red when it must be true (-l 62 seems to require --red on QL-810W and QL-820)

We could probably close this ticket, but it is useful for others to find this issue. Thanks for pointing that out @inneralien

akilinomendez commented 4 years ago

Exactly @bobbysmith007 . It is not closed because it can be helpful. But @pklaus want i close it

bobbysmith007 commented 4 years ago

Is there a way to detect the roll type that the machine recognizes internally? It would be nice to be able to insert either roll and have it detect and use the correct one. I dont see any options for retrieving info from the printer about what is loaded