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
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.
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!
(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.