Closed andrew867 closed 3 years ago
You shouldn't need rfcomm devices on linux. CUPS supports RFCOMM devices natively via the bluetooth://
protocol backed by bluez-cups.
Also I'm okay with the copyright notice: It was a long time ago that I abandoned the patch and I wasn't really spending time on it to polish it to a usable state anyway. It was mostly just throwing stuff together and I don't really feel like claiming copyright on such stuff.
That being said: I still have the printer and I can test your PR/patch and give feedbacks.
Can you please either -- upload the patch as an attachment (if Github supports it), or create a fork, push your changes and open a pull request?
I'd prefer a pull request as it makes things a lot easier to merge on my end :)
I have no objection to the copyright notice, though you have reminded me that the AUTHORS text file needs updating (the list in the README is current)
Merged, thanks for the patch :)
Here is a patch to support the PT-P300BT based off a patch by @dogtopus (Issue on pytouch-cube). Feel free to update the copyright if it doesn't fit the spirit of the project.
Note this printer connects via Bluetooth SPP, you should be able to send the data to the /dev/tty. SPP device on macOS or the /dev/rfcomm SPP device on Linux.