Bug 2012698 - The printer cannot be configured Xerox Phaser 3140
Summary: The printer cannot be configured Xerox Phaser 3140
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 34
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-11 06:25 UTC by Mike
Modified: 2021-10-12 05:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-12 05:05:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
run install.sh (not root) (6.96 KB, image/png)
2021-10-11 06:25 UTC, Mike
no flags Details

Description Mike 2021-10-11 06:25:06 UTC
Created attachment 1831707 [details]
run install.sh (not root)

Description of problem:
Hello. I have old printer Xerox Phaser 3140. This printer cannot be configured.

1. cups hot have drivers for this model
I tryed select Phaser 3150, but not sense

2. I download official drivers for linux from Xerox support, but it's too old.
Cannot install it:
If run install.sh (not root) - display widget with message about needed root privelege
If run install.sh from root:
# stdout
****  It seems Qt library is not installed, or X display is not accessible.
****  Custom Qt library will be configured for use with this package.
Failed to load widget from </home/rastaukropchik/ 
Загрузки/P3140_3155/media/P3140_3155/Linux/x86_64/install/../../noarch/install/share/ui/WizardTemplate.ui>
QMutex::unlock: unlock from different thread than locker
                was locked by 0, unlock attempt from -1050218816

Qt Creator installed in system.

3. I tryed add PPD file from gnome-control-center, but not sense. Also gnome is crash after set PPD file. My report here:
https://bugzilla.redhat.com/show_bug.cgi?id=2012681

Printer is working. I tested it on Windows. After installing the drivers, everything works as expected

Comment 1 Zdenek Dohnal 2021-10-11 08:51:28 UTC
Hi Mike,

thank you for reporting the issue!

Your printer should be supported by splix package, would you mind checking if it works for you?

The steps are:

$ sudo dnf -y install splix
$ lpadmin -p <name> -v <device_uri> -m drv:///splix/splix-xerox.drv/ph3140.ppd -E

<name> is a name for print queue
<device_uri> is an uri how to connect to the printer - f.e. ipp://IP_or_hostname:631/ipp/print , socket://IP_or_hostname , usb://smth - check output of 'lpinfo -l -v' if you're not sure.

Regarding official drivers from Xerox, we in Fedora don't support software which aren't in Fedora repos, so it would be great if splix driver worked.

Comment 2 Mike 2021-10-11 16:32:55 UTC
Thanks for solution.
After i entered this commant in terminal:
lpadmin -p "Xerox Phaser 3140" -v usb://Xerox/Phaser%203140%20and%203155?serial=3871369657...... -m drv:///splix/splix-xerox.drv/ph3140.ppd -E

this device_uri was shown by the program. 
Output:
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.

In gnome-control-center printer appeared, but after send anything to print - the queue was stuck with the status "in progress".
I remove printer and added from gnome-control-center. Now drivers set automatically right - Phaser 3140 and everything works!

Comment 3 Zdenek Dohnal 2021-10-12 05:05:05 UTC
(In reply to Mike from comment #2)
> In gnome-control-center printer appeared, but after send anything to print -
> the queue was stuck with the status "in progress".

IMHO it was due the name you've chosen - queue names don't accept whitespaces.

> I remove printer and added from gnome-control-center. Now drivers set
> automatically right - Phaser 3140 and everything works!

Ok, closing as WORKSFORME.


Note You need to log in before you can comment on or make changes to this bug.