Bug 156033
| Summary: | Printing Silently fails shows only in cups error_log | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dennis Gilmore <dennis> | ||||
| Component: | qt | Assignee: | Than Ngo <than> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4 | CC: | barryn | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| URL: | www.royalpublishing.com/cups.log | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-05-19 08:24:46 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 136450 | ||||||
| Attachments: |
|
||||||
|
Description
Dennis Gilmore
2005-04-26 19:38:10 UTC
Does the CUPS test page (/usr/share/cups/data/testprint.ps) work? The test page prints ok What is the least complicated job that fails to print? i created a one line text document in kate and it failed to print Please attach the output of 'printconf-tui --Xexport'. Thanks. Created attachment 114041 [details]
output from printconf-tui
i have found that firefox prints ok as does a text document if i run lpr <document> at the command line but printing from any kde application fails on my HP Laserjet 1012 at work Openoffice.org prints ok from here. i will test my Samsung some more at home tonight. I get this from error_log when printing a single line from kate using your configuration settings: D [05/May/2005:11:53:58 +0100] [Job 4] renderer PID kid4=4696 D [05/May/2005:11:53:58 +0100] [Job 4] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- - D [05/May/2005:11:53:58 +0100] [Job 4] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=HP LaserJet' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [05/May/2005:11:53:59 +0100] [Job 4] D [05/May/2005:11:53:59 +0100] [Job 4] Closing renderer D [05/May/2005:11:53:59 +0100] [Job 4] Error: /undefined in 35.: D [05/May/2005:11:53:59 +0100] [Job 4] Operand stack: D [05/May/2005:11:53:59 +0100] [Job 4] D [05/May/2005:11:53:59 +0100] [Job 4] Execution stack: D [05/May/2005:11:53:59 +0100] [Job 4] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- D [05/May/2005:11:53:59 +0100] [Job 4] Dictionary stack: D [05/May/2005:11:53:59 +0100] [Job 4] --dict:1078/1123(ro)(G)-- --dict:1/20(G)-- --dict:178/200(L)-- D [05/May/2005:11:53:59 +0100] [Job 4] Current allocation mode is local D [05/May/2005:11:53:59 +0100] [Job 4] Last OS error: 2 D [05/May/2005:11:53:59 +0100] [Job 4] GNU Ghostscript 7.07: Unrecoverable error, exit code 1 D [05/May/2005:11:53:59 +0100] [Job 4] renderer return value: 1 D [05/May/2005:11:53:59 +0100] [Job 4] renderer received signal: 1 Not sure yet whether the fault lies with ghostscript, kate, foomatic, or something else. Okay, the problem seems to be in qt. It's generating this code, even with
'Print to file':
/pageinit {
35.: 24 translate
% 191*262mm (portrait)
0 744 translate 0.75 -0.75 scale/defM matrix CM d } d
The ".:" here makes no sense, and there's no indication in the source code about
how that might have happened. Possible compiler/C library bug?
The source code I'm looking at, for reference, is in
qt-x11-free-3.3.4/src/kernel/qpsprinter.cpp:5974-5983:
outStream << "/pageinit {\n";
if ( !printer->fullPage() ) {
if ( printer->orientation() == QPrinter::Portrait )
outStream << mleft*scale << " "
<< mbottom*scale << " translate\n";
else
outStream << mtop*scale << " "
<< mleft*scale << " translate\n";
}
it seems a compiler bug, which has caused this problem. Could you please try to downgrade to qt-3.3.4-10. Does this problem still appear? Printing works as expected using qt-3.3.4-10 it's now fixed in qt-3.3.4-14. Many thanks for your report. |