philpem / printer-driver-ptouch

P-Touch PT-series and QL-series printer driver for Linux (under CUPS)
GNU General Public License v2.0
97 stars 25 forks source link

QL-550 - command example #17

Closed maki3000 closed 1 year ago

maki3000 commented 2 years ago

Hello,

I successfully installed this printer driver on my Raspberry Pi Noobs OS.

Now I'd like to print an image on my QL-550 on a 62mm endless roll with following command:

lp -d Brother_P-Touch image.png

The green light of my printer starts to blink, but furthermore nothing happens. I guess, my cmd is wrong. Maybe I need to specify the size or take another image than PNG. I don't know.

There is no error feedback in my terminal thrown.

Could somebody please give me an example of how this cmd could look like?

philpem commented 2 years ago

I've never directly sent data to the P-touch driver using lp, but you'll need to get the printing options (notably the page width and label type (continuous or cut-feed) correct, otherwise the printer will reject the image data. I don't know how to pass these into lp -- you'll have to consult the manpages and possibly the CUPS documentation.

Sending a PNG file directly to the printer is not likely to work -- though if you can convert it into a PDF, it should.

Bear in mind that the page on the P-touch printers is rotated 90 degrees. That means the width of your page should be 62mm, and the height is the length of the label you wish to print.

philpem commented 1 year ago

Closed due to being inactive for nearly a year with no response from submitter