Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Android and my printer

Default Print Service

For the built-in Android Default Print Service, omit the protocol.

print.ipa.example.com:631/printers/ml1865w

CUPS Printing

To use CUPS Printing with my printer, use this url:

https://print.ipa.example.com:631/printers/ml1865w

It complained about the untrusted cert, which suggests that CUPS Printing does not rely on the user-added certificates.

Alternative research

I researched, and unfortunately this fix for this app is not eough.

Perhaps the application needs to update the network_security_config.xml to include <certificates src="user" /> like F-droid itself needed

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config cleartextTrafficPermitted="true">
        <trust-anchors>
            \<!-- Trust preinstalled CAs --\>
            <certificates src="system" />
            \<!-- Additionally trust user added CAs --\>
            <certificates src="user" />
        </trust-anchors>
    </base-config>

Comments