corvis / tapen Goto Github PK
View Code? Open in Web Editor NEWPrint labels on Brother PTouch label printers with highly customizable HTML templates
License: GNU General Public License v3.0
Print labels on Brother PTouch label printers with highly customizable HTML templates
License: GNU General Public License v3.0
How can this be used on Windows?
I've just received a new PT-P700 and am trying to get it working with tapen. I've tried it in both plite and regular mode, but am having issues with both.
Setup wise, i have installed from pypi
added and tested the SUBSYSTEMS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="04f9", GROUP="plugdev", MODE="0666"
rule to my udev rules, and the printer works using other software.
When i try to print in plite mode, i get an "Operation timed out" error:
$ tapen -v -d -z -l DEBUG print "test"
Tapen version 0.1.0
[D][cli.exec-mng] Running print
[I][loader.local] Loading local:/home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[I][loader.local] Existing package found
[I][loader.local] Package is outdated and will be reloaded
[D][loader.local] Target path: /home/thinkl33t/.local/share/tapen/lib-cache/std-lib-de3bfd17
[D][loader.local] Source path: /home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[D][loader.local] Writing meta data for local:/home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[I][loader.local] Loaded local:/home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[I][loader.lib ] Loading std:default
Detected printer: Brother PT-P700 (s/n: 000F2G698976) [USB dev 29 / Bus 1]
Assuming tape 24mm Black on White
[D][renderer.wea] Persisting generated image at /home/thinkl33t/.cache/tapen/debug/rendered-label-1.png
[D][PIL.PngImage] STREAM b'IHDR' 16 13
[D][PIL.PngImage] STREAM b'bKGD' 41 6
[D][PIL.PngImage] b'bKGD' 41 6 (unknown)
[D][PIL.PngImage] STREAM b'IDAT' 59 8192
[D][renderer.wea] Persisting rendered bitmap at /home/thinkl33t/.cache/tapen/debug/rendered-label-1.bmp
FATAL ERROR: [Errno 110] Operation timed out
when i try to print in non-plite mode, i get a 'list index out of range' error:
$ tapen -v -d -z -l DEBUG print "test"
Tapen version 0.1.0
[D][cli.exec-mng] Running print
[I][loader.local] Loading local:/home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[I][loader.local] Existing package found
[I][loader.local] Package is outdated and will be reloaded
[D][loader.local] Target path: /home/thinkl33t/.local/share/tapen/lib-cache/std-lib-de3bfd17
[D][loader.local] Source path: /home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[D][loader.local] Writing meta data for local:/home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[I][loader.local] Loaded local:/home/thinkl33t/.local/lib/python3.10/site-packages/tapen/resources/std-lib
[I][loader.lib ] Loading std:default
Detected printer: Brother PT-P700 (s/n: 000F2G698976) [USB dev 27 / Bus 1]
Assuming tape 24mm Black on White
[D][renderer.wea] Persisting generated image at /home/thinkl33t/.cache/tapen/debug/rendered-label-1.png
[D][PIL.PngImage] STREAM b'IHDR' 16 13
[D][PIL.PngImage] STREAM b'bKGD' 41 6
[D][PIL.PngImage] b'bKGD' 41 6 (unknown)
[D][PIL.PngImage] STREAM b'IDAT' 59 8192
[D][renderer.wea] Persisting rendered bitmap at /home/thinkl33t/.cache/tapen/debug/rendered-label-1.bmp
FATAL ERROR: list index out of range
Any ideas what i can try to get this working? The png and bmp files being generated both look plausible.
The LICENSE file and the license badge say GPL, but the README says MIT down near the end, which is it?
is work for series PT-P710BT Brother label printer?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.