[IPP] Changing defaults of a driverless printer (physical device) via CLI[EXTERNAL]

[IPP] Changing defaults of a driverless printer (physical device) via CLI[EXTERNAL]

Kennedy, Smith (Wireless & IPP Standards) smith.kennedy at hp.com
Mon Aug 22 13:57:25 UTC 2022


Hi Zdenek,

I want to echo Uli's comments. Changing defaults in the printer itself will affect all users of that printer***, while setting the defaults for the print queue on the client's system will only affect one user or the users of that client system. (I've never looked at whether any client operating systems allow per-user print queue defaults - interesting question.)

Which are you trying to set - the printer's defaults or the queue's defaults?

Smith

/**
    Smith Kennedy
    HP Inc.
*/

> On Aug 22, 2022, at 6:21 AM, Uli Wehner via ipp <ipp at pwg.org> wrote:
> 
> CAUTION: External Email
> Hi Zdenek,
> 
> Traditionally default print settings are applied by the driver, or by an administrator for the printer object on the server.
> 
> The printer defaults are usually set by the printer administrator, or as a factory default. Larger office printers have many defaults set that way. Usually those are set for print data that is not formatting the print data, ASCII text for example. Default Font, default paper size, default media type, default paper source, simplex/duplex, color/BW, etc.
> 
> Since those printer defaults would be applied to all users and jobs sent to that printer it would not be prudent to allow any user to change them.
> 
> My expectation is that users only change THEIR settings, and choose a default preference. Those settings will then override the default settings on the printer for that particular job, without affecting the other users jobs.
> 
> CUPS allows default settings. With the correct permissions the user would set them for their system, but definitely not on the printer.
> 
> Is this what you are asking?
> 
> 
> Regards
> 
> Uli Wehner
> Sr Technology Specialist, Technology Solutions Support (TSS)
> SDC Americas
> RICOH Digital Services Center
> 
> -----Original Message-----
> From: ipp <ipp-bounces at pwg.org <mailto:ipp-bounces at pwg.org>> On Behalf Of Zdenek Dohnal via ipp
> Sent: Monday, August 22, 2022 1:08 AM
> To: Open Printing <printing-architecture at lists.linux-foundation.org <mailto:printing-architecture at lists.linux-foundation.org>>; ipp at pwg.org <mailto:ipp at pwg.org>
> Subject: [IPP] Changing defaults of a driverless printer (physical device) via CLI[EXTERNAL]
> 
> Hi all,
> 
> Fedora user brought up an interesting question for me - whether user has some CLI tool for changing default options on the printer itself (which supports one or more of driverless standards - AirPrint, IPP Everywhere etc.), without going to printer's web interface.
> 
> IMHO it might be possible - printer supports IPP 2.0+, CUPS supports IPP as well and CUPS CLI tools, which work with CUPS, have an option for setting a CUPS server which they want to send the request to. Once the local user has the correct permissions (since IPP backend is run under root, my guess is root has at least some permissions...) it could be possible.
> 
> Is my understanding incorrect? Is there a different CLI tool which can do the trick? (maybe ipptool?) To be honest I'm interested how is IPP usually implemented internally in the printer - is there some CUPS version? Or HTTPD (Apache) with proprietary IPP support on the top of that? Or  whole HTTP+IPP implementation is written as a new there?
> 
> Thank you in advance!
> 
> 
> Zdenek
> 
> --
> Zdenek Dohnal
> Software Engineer
> Red Hat, BRQ-TPBC
> 
> _______________________________________________
> ipp mailing list
> ipp at pwg.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.pwg.org_mailman_listinfo_ipp&d=DwIGaQ&c=5hYF0Zu0Yz-C6S-kaHDIt4ADo8NP5Dtlv81GI_RNZig&r=Kf2OsKTEH35gSgu0U6HqdHzbU1TrLWRQF9AyGiFJjds&m=jPbj9oAHpZ8miBkYxSXPaBAEtQbhgciv1RCoISc96kcPZLtrgYDeDc3OAW-Txk_D&s=7PBguuC6Jci33WMRy6_6pNFs0WmiloKEZTZWmNGw_XI&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.pwg.org_mailman_listinfo_ipp&d=DwIGaQ&c=5hYF0Zu0Yz-C6S-kaHDIt4ADo8NP5Dtlv81GI_RNZig&r=Kf2OsKTEH35gSgu0U6HqdHzbU1TrLWRQF9AyGiFJjds&m=jPbj9oAHpZ8miBkYxSXPaBAEtQbhgciv1RCoISc96kcPZLtrgYDeDc3OAW-Txk_D&s=7PBguuC6Jci33WMRy6_6pNFs0WmiloKEZTZWmNGw_XI&e=>
> _______________________________________________
> ipp mailing list
> ipp at pwg.org <mailto:ipp at pwg.org>
> https://www.pwg.org/mailman/listinfo/ipp <https://www.pwg.org/mailman/listinfo/ipp>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20220822/85db38e3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://www.pwg.org/pipermail/ipp/attachments/20220822/85db38e3/attachment.sig>


More information about the ipp mailing list