Skip to content

Problem on Raspberry #3

@KataPi

Description

@KataPi

Hello,
I am using @eliasweingaertner 's script on raspberry. I'm not a programmer...
I am running the script through a nodejs server which creates a png and sends it to print.
Both the old script (without svg support) and the new one (with svg support) works well.

I would like to integrate the script directly into my nodejs ( as issue ) but, for now, I just call it.

I installed your package with dependencies, on raspberry it can be installed only via pip3 command.
(Maybe an error in info hcitools + scan)

It doesn't work for me. I also tried pairing the printer from the desktop.

Traceback (most recent call last):
  File "<string>", line 3, in connect
_bluetooth.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/bin/ppa6", line 10, in <module>
    sys.exit(main())
  File "/home/pi/.local/lib/python3.7/site-packages/ppa6/__main__.py", line 39, in main
    printer.connect()
  File "/home/pi/.local/lib/python3.7/site-packages/ppa6/__init__.py", line 94, in connect
    self.sock.connect((self.mac, 1))
  File "<string>", line 5, in connect
bluetooth.btcommon.BluetoothError: timed out

what am I doing wrong?
Thank you
Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedinvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions