Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulate/advertise official AirPrint compatibility #22

Open
DaveR2408 opened this issue May 30, 2020 · 6 comments
Open

Emulate/advertise official AirPrint compatibility #22

DaveR2408 opened this issue May 30, 2020 · 6 comments

Comments

@DaveR2408
Copy link

Hi all,
I‘ve got an issue that is not limited to this script, yet I think for a start chances are that the good people here could guide me to the right direction.

Project idea:
Use CUPS to print text via a thermal printer from a specific app (iZettle) that requires AirPrint functionality.

Outcome:
Printing to thermal printer works flawlessly when using the airprint-generate.py code here to print some random text within iOS apps like Notes and Mail. However, when using the specific iZettle App, CUPS printer gets detected as an AirPrint printer but when wanting to print, the following error occurs:
„UIPrintErrorDomain Error 4“ followed by „Printer couldn‘t be reached“

After talking to Customer Service, iZettle told me that this is a correct behaviour as only official AirPrint printers are allowed to work. This seems to be true as a compatible Canon printer could do the job.

Question (finally)
Is there a way to advertise my CUPS printer so that it is recognized as officially AirPrint compatible? Stated differently, does anyone know what it is (key, certificate?) that printer and app have to share with each other to be identified correctly?

Sorry for such a long message. In case that I should try my luck elsewhere, advice on where to go would be highly appreciated. You can find two CUPS logs here. The “faulty” one with iZettle and a working print job using the standard iOS Notes app

Thank you very much and best regards!
iZettle.txt
Normal_Print.txt

@AndrewAubury
Copy link

If anyone has any idea on this please comment, Having the exact same issue with the exact project plan (iZettle -> Receipt Printer)

@WanderingApps
Copy link

Likely something very similar with Square POS. iOS sees the AirPrinter, but within the Square app it does not display. Somehow Square is able to determine the printer is not legit.

@joschkopf
Copy link

Hi, did you meanwhile find a solution to this issue? I accidently bought a printer which is not compatible with zettle and had the same idea. Really frustrating, as printing "normal" stuff via AirPrint works just fine...

@WanderingApps
Copy link

WanderingApps commented Aug 7, 2022 via email

@joschkopf
Copy link

I don't understand your reply. I'm not listing my printer on eBay, I bought it from there and I wonder how to make it work with Zettle. So if you know of a way, any hints would be highly appreciated. Thanks!

@DaveR2408
Copy link
Author

Anybody by chance found a solution here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants