Replies: 36 comments 5 replies
-
This day I costed 10 hours investigating python-for-android, and bleak integration with it. |
Beta Was this translation helpful? Give feedback.
-
@NaitLee in an other project we see CUPS as a good option |
Beta Was this translation helpful? Give feedback.
-
Hey, current version of this project has a very basic CUPS/IPP support 😄
Note: currently there is no error reporting mechanism. The way to do (via ipp protocol or cmdline) is not determined either. CUPS/IPP is kinda complex. If it's going to be fully supported, around 80% of the code will be of that. Worth to mention is that this project is different: it aims at a user interface, not just backend. So the desired user-friendliness is going to be on the Web interface. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if I should make all the stuffs (like "full" wysiwyg editing and stickers/borders etc) or just keep it simple. EDIT: Determined: the goal is to make a general graphical user interface, while making backend code usable easily with CLI and reusable as library. Both side should be simple & flexible to modify & develop, without requiring heavy dependencies. |
Beta Was this translation helpful? Give feedback.
-
I would love to see templates for barcodes, business cards, shopping lists and route information. |
Beta Was this translation helpful? Give feedback.
-
You mean a full interface 😃 |
Beta Was this translation helpful? Give feedback.
-
If it's possible, the addition of Another differentiating factor I've noticed is that the |
Beta Was this translation helpful? Give feedback.
-
EDIT: Status of this day: investigating iprint & GB03, completing the new version's frontend. EDIT: (removed useless things) |
Beta Was this translation helpful? Give feedback.
-
I ordered a printer yesterday on AliExpress... I don't know which version it would be... But I think I will be brave enough for testing 🙂 |
Beta Was this translation helpful? Give feedback.
-
Oh crap, maybe that's the reason this is not working to me. I just bought a model and it seems to be GB03. How different is it from the older models? |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if I could:
Well, the nRF52840 dongle I've bought have use now... 😜 In addition there's also a "canPrintLabel" stuff that happens in GB03's bitmap procedure. In their code those Chinglish function names really suck. Give them some color to see see. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the long wait, but it's finally released. At the moment there's few function. Going to do them later. |
Beta Was this translation helpful? Give feedback.
-
Oh still waiting for that GB03 update! :( |
Beta Was this translation helpful? Give feedback.
-
Well, just now I set up the bluetooth low energy development environment, modified an example code (a typical "blink" program on all IoT stuffs, but have bluetooth interface, I changed the broadcast name to "GB03" and BLE characteristic to the desired) and successfully fooled iprint to list my dongle 😜 BTW do you really hate "iprint"? I see it just-so-so. Yes it's big. |
Beta Was this translation helpful? Give feedback.
-
Oh yes I do. The whole point for me of getting this little printer is to be able to manage it on CLI and not install any fishy app on my phone. Thanks @NaitLee for all your work! |
Beta Was this translation helpful? Give feedback.
-
I did not get this working as well |
Beta Was this translation helpful? Give feedback.
-
Sorry for the inconvenience, the CUPS/IPP feature is in legacy, As for frontend, check if that: anyway, press F12 in browser and see what's inside the console. |
Beta Was this translation helpful? Give feedback.
-
d) VPN somehow |
Beta Was this translation helpful? Give feedback.
-
It didn't work either. Still waiting for the support! Thanks again |
Beta Was this translation helpful? Give feedback.
-
Oh, no 😢 |
Beta Was this translation helpful? Give feedback.
-
@Claudioruiz did I get it... you have an none working GB03? |
Beta Was this translation helpful? Give feedback.
-
Yup, no luck at all even connecting the printer to the computer. It seems as the printer doesn't even exist for the computer (I did test it with my phone using nRF Connect and it's capable to find it). I can't use it so far :( |
Beta Was this translation helpful? Give feedback.
-
@claudiorrrr could you give me the output of |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Try to change usb to pci |
Beta Was this translation helpful? Give feedback.
-
same |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if it's just problem of Mac. |
Beta Was this translation helpful? Give feedback.
-
I had the idea that the Bluetooth adapter isn't BLE capable... But it wasn't there as a USB or PCI device. So we can't really check that. |
Beta Was this translation helpful? Give feedback.
-
Well, why not just test 🙃 My bluetooth adapter is built inside my computer, but still shown as USB device. And BLE have some concepts, thing like our printer is called "peripheral", and our computer is called "central" when it controls the printer. I will also put apk in the release, for also trying on android. |
Beta Was this translation helpful? Give feedback.
-
See this Bleak Doc, MacOS wants an UUID rather than MAC address. |
Beta Was this translation helpful? Give feedback.
-
It's a long time not updated this repo.
Half years ago I got a laptop (now using) but it's not my development platform at that time, while I need bluetooth on it.
So after a rush the code is very poor, in the sight from 2022 😶🌫️
Now that I'm cleaning up the main python script while making a brand new frontend
Going to commit them all together, because at the moment there's no actual difference at all.
I'm also planing to host this project (also) to somewhere else. Here really have problems accessing GitHub.
I see python-for-android while investigating bleak (the bluetooth lib), found that I can build an working Android version with just what a PC version will have -- Python, basehttp, bleak, and a common web interface.
This way we are all free from the original weird app...
And, feel free to discuss what you guys really need in an "app" 😃
Emm, maybe the image monochrome filter needs enhancement as well...
Wish I'll complete this goal 😉
EDIT: it's ongoing greatly. In this discussion you can view the history directly (some points maybe false now), or see newest thoughts by sorting with "Newest".
Beta Was this translation helpful? Give feedback.
All reactions