Bug 917333

Summary: I cannot print from application (Test page is o.k.)
Product: [Fedora] Fedora Reporter: antonio montagnani <antonio.montagnani>
Component: splixAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: splix-2.0.1-0.14.20121128svn.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-15 00:08:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log/cup/ error file
none
troubleshoot file
none
file error with debugging on none

Description antonio montagnani 2013-03-03 09:54:39 UTC
Description of problem:

Test page can be printed, all applications don't print and cause error on printer

Version-Release number of selected component (if applicable):
1.5.4-20.fc18.i686

How reproducible:
always printing from libreoffice, evince, gimp

Steps to Reproduce:
1.print any kind of document
2.
3.
  
Actual results:
error on my Samsung Laser printer ML-1610

Expected results:
it should print

Additional info:
Working fine on F17

Comment 1 antonio montagnani 2013-03-03 10:23:32 UTC
I can print from firefox, thunderbird, Adobe Reader.
In any case opening of printer window for selecting printer (I have a multiple choice of printers) is really slow (I am using an old prinetr server P4 with only 1GB of RAM)...never experienced with F17

Comment 2 antonio montagnani 2013-03-03 10:31:32 UTC
Created attachment 704529 [details]
/var/log/cup/ error file

tried to print from libreoffice writer (in the last lines)

Comment 3 antonio montagnani 2013-03-03 11:08:49 UTC
I get the On Line/Error led flashing green (as normal), then turning red with some applications

Comment 4 antonio montagnani 2013-03-03 14:30:21 UTC
I made another test: libreoffice with only text prints fine, it stops when an image is in the document

Comment 5 antonio montagnani 2013-03-03 14:46:09 UTC
EOG doesn't print any image, funny that if I load an image in Firefox, printer works fine

Comment 6 antonio montagnani 2013-03-03 15:44:30 UTC
Created attachment 704573 [details]
troubleshoot file

trying to print a file with two small images

Comment 7 Tim Waugh 2013-03-04 12:07:40 UTC
Please do this:

su -c 'cupsctl --debug-logging'

to turn on debugging, then try printing again.  Afterwards, turn off debugging again:

su -c 'cupsctl --no-debug-logging'

Finally, attach /var/log/cups/error_log.  Thanks.

Comment 8 Jiri Popelka 2013-03-04 13:13:29 UTC
There have been couple similar bugs, like bug #827632, bug #828301 and bug #864492.

I'd prefer using SpliX driver for Samsung ML-1610.

- install SpliX with 'yum install splix'
- systemctl restart cups.service
- run system-config-printer
- double-click Samsung-ML-1610
- press 'Change...' to change Make and Model
- select Samsung, '->Forward'
- select 'ML-1610' on the left side and 'Samsung ML-1610, 2.0.0' on the right side, '->Forward', 'Apply'

Comment 9 antonio montagnani 2013-03-04 16:36:13 UTC
Created attachment 705065 [details]
file error with debugging on

as per your request

Comment 10 antonio montagnani 2013-03-04 16:40:10 UTC
installing splix, made printing work fine (as per comment #8 )

Comment 11 Tim Waugh 2013-03-05 11:35:13 UTC
The question is: how come splix wasn't installed automatically when configuring this printer?  It seems to have lost all the postscriptdriver tags...

Comment 12 antonio montagnani 2013-03-05 12:06:20 UTC
This is a brand new installation of F18: in the past it was running from F4 to F17 as updated system with no problems, I forgot to check if splix was installed

Comment 13 Tim Waugh 2013-03-05 12:08:29 UTC
Yes, but splix should be installed automatically when the printer is connected.  It wasn't, and that's because of a problem with the splix package.

Problem identified: it needs to have 'BuildRequires: python-cups, cups', not just 'BuildRequires: python-cups'.

Comment 14 Tim Waugh 2013-03-05 12:30:14 UTC
Fixed in commit 7561f7e432e202f561c5e00d76938a20bde23fa0.

Comment 15 Fedora Update System 2013-03-06 10:52:00 UTC
splix-2.0.1-0.14.20121128svn.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/splix-2.0.1-0.14.20121128svn.fc18

Comment 16 Fedora Update System 2013-03-06 10:52:33 UTC
splix-2.0.1-0.12.20121128svn.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/splix-2.0.1-0.12.20121128svn.fc17

Comment 17 Fedora Update System 2013-03-06 22:58:01 UTC
Package splix-2.0.1-0.15.20121128svn.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing splix-2.0.1-0.15.20121128svn.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3492/splix-2.0.1-0.15.20121128svn.fc18
then log in and leave karma (feedback).

Comment 18 antonio montagnani 2013-03-09 11:09:12 UTC
I understood that splix should be installed automatically?? if so, it doesn't work as updates-testing repo is disabled.
If I install splix by hand, correct driver is installed.

Comment 19 Jiri Popelka 2013-03-11 09:19:34 UTC
(In reply to comment #18)
> I understood that splix should be installed automatically??

correct

> if so, it doesn't work as updates-testing repo is disabled.

Can you enable it for testing purposes ?
Just change enabled=0 to enabled=1 in /etc/yum.repos.d/fedora-updates-testing.repo

Then
- yum remove splix
- turn the printer off
- remove the printer in for example system-config-printer
- turn the printer on

Comment 20 antonio montagnani 2013-03-11 18:01:08 UTC
confirmed as working fine

Comment 21 Fedora Update System 2013-03-15 00:08:08 UTC
splix-2.0.1-0.13.20121128svn.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2013-03-15 00:12:47 UTC
splix-2.0.1-0.15.20121128svn.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.