From: Till Kamppeter <till.kamppeter@gmail.com>
To: Michael Sweet <msweet@msweet.org>
Cc: AbdElRahman Khalifa <abdelrahman.5alifa@gmail.com>,
printing-architecture@lists.linux.dev
Subject: Re: Recommended way to manually add an undiscovered IPP printer in CUPS 3.x
Date: Sat, 1 Aug 2026 23:21:37 +0200 [thread overview]
Message-ID: <6ac225de-ac78-4dee-805a-37db7b15937e@gmail.com> (raw)
In-Reply-To: <BFC15E62-A87D-40EC-8462-BCC9B6CD2593@msweet.org>
On 8/1/26 22:41, Michael Sweet wrote:
> Till,
>
>> On Aug 1, 2026, at 3:50 PM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>> ...
>> But how to proceed under CUPS 3.x?
>
> CUPS 3.x uses PAPPL 2.x which has different operations and attribute names (as part of standardization in the PWG) but otherwise works similarly.
>
> The Create-Printer operation accepts the "smi55357-device-uri (uri)" and "smi55357-driver (keyword)" operation attributes to provide the device URI and model/driver name, and cupslocald (from the cups-local project) supports the following driver names:
>
> - 'everywhere': IPP Everywhere/AirPrint/Mopria/Wi-Fi Direct printer
> - 'pcl': Generic B&W PCL printer
> - 'pcl_duplex': Generic B&W PCL printer with 2-sided printing support
> - 'ps': Generic B&W PostScript printer
> - 'ps_duplex': Generic B&W PostScript printer with 2-sided printing support
> - 'ps_color': Generic Color PostScript printer
> - 'ps_color_duplex': Generic Color PostScript printer with 2-sided printing support
>
> The PCL and PostScript drivers are extremely limited and are just there to support legacy Samba printing basic support for local (typically enterprise) laser printers.
>
So when I send a Create-Printer request to a CUPS 3.x daemon (both local and
sharing) an entry in a profile (~/.cups/profiles/ or /etc/cups/profiles/*,
latter only for sharing server) is created?
>> If I have only the local server, it is stateless, it only uses temporary queues.
>
> It is not stateless. It just doesn't have permanent queues and doesn't share local queues with other systems.
>
>> How do I, in case of not using mDNS/DNS-SD, tell my discoveries/manual IP selections to the local server so that it sticks with them? Or am I REQUIRED to use mDNS/DNS-SD when I have a system with only the local server of CUPS 3.x as print environment?
>
> We have been talking about this ("printer profiles") for a very long time:
>
> https://github.com/OpenPrinting/cups-local/issues/2
>
OK, so they also work with the local server.
So this means that our printer setup tool which Abdelrahman is working on
creates entries in the profile when manually adding print destinations, either
if mDNS/DNS-SD is not used or when the printer is outside the local network
(VLAN or so)?
OK, so we need to settle on a format for this file so that Abdelrahman can
implement that.
>> Or do I have to use the sharing server when I just want to print locally but not use mDNS/DNS-SD? Does the sharing server has a config file for holding such printers?
>
> The sharing server is more of a traditional "all queues are permanent" service and saves the queue state/configuration across runs.
>
Does the sharing server not get its queues the same way as the local one, both
by discovering printers via mDNS/DNS-SD AND including destinations by entries in
the profile (which can be system-wide now)? And it adds rules for how to share
these printers also in the profile?
Till
next prev parent reply other threads:[~2026-08-01 21:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-01 16:44 Recommended way to manually add an undiscovered IPP printer in CUPS 3.x AbdElRahman Khalifa
2026-08-01 17:16 ` Michael Sweet
2026-08-01 19:50 ` Till Kamppeter
2026-08-01 20:41 ` Michael Sweet
2026-08-01 21:21 ` Till Kamppeter [this message]
2026-08-01 23:03 ` Michael Sweet
2026-08-01 21:48 ` Till Kamppeter
2026-08-01 23:59 ` Till Kamppeter
2026-08-02 9:18 ` AbdElRahman Khalifa
2026-08-02 12:04 ` Till Kamppeter
2026-08-02 17:47 ` Michael Sweet
2026-08-07 19:14 ` AbdElRahman Khalifa
2026-08-07 20:11 ` Michael Sweet
2026-08-01 22:46 ` Alexander Pevzner
2026-08-01 23:11 ` Till Kamppeter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ac225de-ac78-4dee-805a-37db7b15937e@gmail.com \
--to=till.kamppeter@gmail.com \
--cc=abdelrahman.5alifa@gmail.com \
--cc=msweet@msweet.org \
--cc=printing-architecture@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.