Skip to content

Error on PT-P700 #2

@thinkl33t

Description

@thinkl33t

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions