On 4/4/23 08:48, Rich Shepard wrote:
> On Tue, 4 Apr 2023, King Beowulf wrote:
>
>> Depending on the manufacturer (or CUPS) driver package. filters and ppd
>> can be in a variety of locations.
> Ed,
>
> The Lexmark C3326DW has 64-bit linux drivers, including:
> Driver files for 64-bit Linux distributions with Debian-based packaging [1 
> MB]        Driver  Linux/Unix
> Ubuntu 16.04 Sep 5, 2019
>
> Driver files for 64-bit Linux distributions with RPM-based packaging [1 MB]   
> Driver  Linux/Unix
> OpenSUSE 42.3 Sep 5, 2019
>
> Driver files for CUPS-based systems [2 MB]    Driver  Linux/Unix
> Ubuntu 16.04 LTS Sep 5, 2019
>
> Slackware has CUPS installed (always has). Could I use that one? If so,
> after running deb2tgz how does it install as a CUPS printer?
These are all the "same".  the "CUPS BASED" one is agnostic as to any
distro package tools.  This one (tar.Z) has detailed manual install
instructions and even an install script.

once the ppd/filter is installed, you "install" CUPS printer via
http://localhost:631/admin as for any printer.

OTOH, Look for the Lexmark C3426DW as that printer is included in CUPS
and via foomatic (Slackbuilds.org)

You can also check https://openprinting.org/printers for printers
supported natively in CUPS and foomatic.

> My system shows a cups_pdf printer available (and I now see that it has this 
> problem: Idle -
> "File "/usr/lib/cups/filter/Xerox_Phaser_6000_6010/XRM_MF" has insecure
> permissions (0100755/uid=1000/gid=100)." What should the perms be?
>

Interesting. According to https://www.cups.org/doc/api-filter.html
----
For security reasons, CUPS will only run filters and backends that are
owned by root and do not have world or group write permissions. The
recommended permissions for filters and backends are 0555 - read and
execute but no write. Backends that must run as root should use
permissions of 0500 - read and execute by root, no access for other
users. Write permissions can be enabled for the root user only.

To avoid a warning message, the directory containing your filter(s) must
also be owned by root and have world and group write disabled -
permissions of 0755 or 0555 are strongly encouraged.
----

That file owned by YOU (user id=1000) and users group and should be
root:root.  Try, as ROOT:

chown root:root /usr/lib/cups/filter/Xerox_Phaser_6000_6010/XRM_MF

restart

/etc/rc.d/rc.cups restart

can' hurt.

-Ed






Reply via email to