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 24 forks source link

To cutter option to support continuous label tape #47

Closed daftada closed 2 months ago

daftada commented 8 months ago

Describe the bug No option for paper cutter. Printing multiples of a label has the cutter trigger after the last label but no option to cut each label printed.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Operating system and platform (please complete the following information):

If you are reporting a print issue Please provide (where possible) a test case, picture of the actual printed output, and a picture or description of the output you expected. The test case can be a PostScript, PDF, or similar file - or an extract

Additional context Add any other context about the problem here.

philpem commented 8 months ago

@daftada Next time you submit a bug report, can you please fill out all the sections? It's helpful to know what you're doing at every step so I can reproduce bugs here.

Is this on the QL-570 printer per your previous issue?

The QL-570 is one of the printers I use here; I've not seen this issue but I don't think I have any continuous tape on hand.

With GLabels, you'll want to go to File -> Print then set:

This should cut the print every label.

daftada commented 8 months ago

Hi,

Yes, it is the QL-570. I am using it with a Pi Zero original as a print server using CUPS. I have updated ptouch driver to version 1.6 and made the necessary adjustments to the cutter options via CUPS' printer management. But it still won't cut between multiple label printing. The 'side per page' option now defaults to 12 lol whereas previously it was 9. I just manually adjust that for now. Strangely my Linux Mint desktop sees the networked printer, but there are no 'finishing' options.

On Fri, 1 Mar 2024 at 13:45, philpem @.***> wrote:

@daftada https://github.com/daftada Next time you submit a bug report, can you please fill out all the sections? It's helpful to know what you're doing at every step so I can reproduce bugs here.

Is this on the QL-570 printer per your previous issue?

The QL-570 is one of the printers I use here; I've not seen this issue but I don't think I have any continuous tape on hand.

With GLabels, you'll want to go to File -> Print then set:

  • Page setup tab: Paper type = Continuous length tape
  • Advanced tab: Finishing - check Auto Cut and Auto Eject

This should cut the print every label.

— Reply to this email directly, view it on GitHub https://github.com/philpem/printer-driver-ptouch/issues/47#issuecomment-1973232003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2226QMCFAD55XC45KSNELYWCA6VAVCNFSM6AAAAABEBWL4FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTGIZTEMBQGM . You are receiving this because you were mentioned.Message ID: @.***>

philpem commented 6 months ago

Please try the latest version - if you want to try the latest bleeding edge version:

sudo apt remove printer-driver-ptouch
sudo apt install build-essential autoconf automake
git clone https://github.com/philpem/printer-driver-ptouch.git
cd printer-driver-ptouch
./autogen.sh
./configure
make
sudo make install

Then delete and recreate the printer and try again. (you may need to restart CUPS)

daftada commented 6 months ago

MANY thanks for this. How do I resolve this error please? @.:~/printer-driver-ptouch $ make make all-am make[1]: Entering directory '/home/pi/printer-driver-ptouch' gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -g -O2 -MT rastertoptch-rastertoptch.o -MD -MP -MF .deps/rastertoptch-rastertoptch.Tpo -c -o rastertoptch-rastertoptch.o test -f 'rastertoptch.c' || echo './'rastertoptch.c rastertoptch.c:273:10: fatal error: cups/raster.h: No such file or directory 273 | #include <cups/raster.h> | ^~~~~~~ compilation terminated. make[1]: [Makefile:550: rastertoptch-rastertoptch.o] Error 1 make[1]: Leaving directory '/home/pi/printer-driver-ptouch' make: *** [Makefile:410: all] Error 2

On Sun, 19 May 2024 at 00:02, philpem @.***> wrote:

Please try the latest version - if you want to try the latest bleeding edge version:

sudo apt remove printer-driver-ptouch sudo apt install build-essential autoconf automake git clone https://github.com/philpem/printer-driver-ptouch.git cd printer-driver-ptouch ./autogen.sh ./configure make sudo make install

Then delete and recreate the printer and try again. (you may need to restart CUPS)

— Reply to this email directly, view it on GitHub https://github.com/philpem/printer-driver-ptouch/issues/47#issuecomment-2119024037, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2226RFY5SK3H25MOMGWL3ZC7MY7AVCNFSM6AAAAABEBWL4FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGAZDIMBTG4 . You are receiving this because you were mentioned.Message ID: @.***>

romainreignier commented 5 months ago

How do I resolve this error please?

sudo apt install libcups2-dev
philpem commented 2 months ago

@daftada , is this fixed in 1.7?

daftada commented 2 months ago

I don't know, as I couldn't successfully compile it on my Raspberry Pi Zero W print server setup. So I gave up and workaround using 1.6.2.

On Mon, 2 Sept 2024 at 05:04, philpem @.***> wrote:

@daftada https://github.com/daftada , is this fixed in 1.7?

— Reply to this email directly, view it on GitHub https://github.com/philpem/printer-driver-ptouch/issues/47#issuecomment-2323770964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2226W7QY27PCTAHXPRO2TZUPPT5AVCNFSM6AAAAABEBWL4FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTG43TAOJWGQ . You are receiving this because you were mentioned.Message ID: @.***>

daftada commented 2 months ago

Feeling bad that I hadn't kept at it with the driver issue after all your hard work, I scrapped my raspbian printer server and overwrote it with Ubuntu. Version 1.7 was the apt default, and now it works perfectly. Thanks to you. Pleased is an understatement.

Cheers, Graham

On Mon, 2 Sept 2024 at 19:51, philpem @.***> wrote:

Closed #47 https://github.com/philpem/printer-driver-ptouch/issues/47 as completed.

— Reply to this email directly, view it on GitHub https://github.com/philpem/printer-driver-ptouch/issues/47#event-14106553964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2226XDW3NNBGS543UFPODZUSXRPAVCNFSM6AAAAABEBWL4FWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGEYDMNJVGM4TMNA . You are receiving this because you were mentioned.Message ID: @.*** com>

philpem commented 2 months ago

Feeling bad that I hadn't kept at it with the driver issue after all your hard work, I scrapped my raspbian printer server and overwrote it with Ubuntu. Version 1.7 was the apt default, and now it works perfectly. Thanks to you. Pleased is an understatement. Cheers, Graham

You're welcome! I'm glad you've got it working. I opened some issues earlier today re. page size issues and better documentation, so it's possible there'll be a 1.8 coming "soon".