apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.85k stars 452 forks source link

How to resolve cupsLastError(0x1002, 0x40a) #6192

Open shinxxxxwon opened 1 month ago

shinxxxxwon commented 1 month ago

Printing was implemented using CUPS in Android. TLS used boringssl.

Printing occurs normally, but job_id returns -1 for certain printers (printers that require TLS). As a result of checking the log, cupslasterror() was returning 0, but now returning 1002 and 40a. I linked TLS/SSL with boringssl. What is the cause of this problem?

Library I used android code

CUPS

Boringssl

boringssl was built as a dynamic library (.so) for Android and added to the project.