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

Uli Wehner via ipp <[email protected]>
Newsgroups gmane.ietf.ipp
Message-ID <MN2PR17MB33128F6E154C9D4740E4F16EA4719@MN2PR17MB3312.namprd17.prod.outlook.com>
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 <[email protected]> On Behalf Of Zdenek Dohnal via ipp
Sent: Monday, August 22, 2022 1:08 AM
To: Open Printing <[email protected]>; [email protected]
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
[email protected]
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
[email protected]
https://www.pwg.org/mailman/listinfo/ipp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.