Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337057 - [cups-1.4 regression] foomatic-db-4.0.20100218: fails to print with gdi driver
Summary: [cups-1.4 regression] foomatic-db-4.0.20100218: fails to print with gdi driver
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL: http://bugs.linux-foundation.org/show...
Whiteboard:
Keywords:
Depends on:
Blocks: cups-1.4
  Show dependency tree
 
Reported: 2010-09-13 10:47 UTC by Peter Volkov (RETIRED)
Modified: 2011-06-06 22:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2010-09-13 10:47:39 UTC
net-print/foomatic-db-4.0.20100218
net-print/foomatic-db-engine-4.0.4
net-print/foomatic-filters-4.0.4
net-print/cups-1.4.4-r2

After cups upgrade and installation foomatic to reconfigure cups Samsung-ML-1210 printer fails to print with the following error:

D [13/Sep/2010:13:33:25 +0400] [Job 55] Starting renderer with command: "gs -sstdout=%stderr  -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600x600 -sOutputFile=%stdout -c '/Default << /SpotFunction { 180 mul cos exch 180 mul cos add 2 div } bind /HalftoneType 1 /AccurateScreens true /Frequency 137 /Angle 37 /HalftoneName (Round Dot Screen) >> /Halftone defineresource sethalftone << /HalftoneMode 1 /UseWTS false /Accura -f -_ | perl -p -e 's/PJL PAGE LETTER/PJL PAGE A4/; s/PJL PAGE (\S*) AUTO/PJL PAGE $1 AUTO/; s/PJL SET TONERSAVE = OFF/PJL SET TONERSAVE = OFF\r\n\@PJL SET ECONOMODE = OFF/; s/PJL SET PAPERTYPE = NORMAL/PJL SET PAPERTYPE = NORMAL/; s/PJL SET DENSITY = 1/PJL SET DENSITY = 3/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET RET = OFF\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET JAMRECOVERY = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET REPRINT = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET ALTITUDE = OFF\r\n$1/; s/PJL COPIES = 1/PJL COPIES = 1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT TIM
D [13/Sep/2010:13:33:25 +0400] [Job 55] EOUT = 15\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVE = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVETIME = 5\r\n$1/; '"
D [13/Sep/2010:13:33:25 +0400] [Job 55] Starting process "kid3" (generation 1)
D [13/Sep/2010:13:33:25 +0400] [Job 55] Starting process "kid4" (generation 2)
D [13/Sep/2010:13:33:25 +0400] [Job 55] Starting process "renderer" (generation 2)
D [13/Sep/2010:13:33:25 +0400] [Job 55] JCL: %-12345X@PJL
D [13/Sep/2010:13:33:25 +0400] [Job 55] <job data> 
D [13/Sep/2010:13:33:25 +0400] [Job 55] 
D [13/Sep/2010:13:33:25 +0400] [Job 55] /bin/bash: -c: line 0: syntax error near unexpected token `('

This is the error ^^^^^^^^^^^^^


D [13/Sep/2010:13:33:25 +0400] [Job 55] /bin/bash: -c: line 0: `gs -sstdout=%stderr  -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600x600 -sOutputFile=%stdout -c '/Default << /SpotFunction { 180 mul cos exch 180 mul cos add 2 div } bind /HalftoneType 1 /AccurateScreens true /Frequency 137 /Angle 37 /HalftoneName (Round Dot Screen) >> /Halftone defineresource sethalftone << /HalftoneMode 1 /UseWTS false /Accura -f -_ | perl -p -e 's/PJL PAGE LETTER/PJL PAGE A4/; s/PJL PAGE (\S*) AUTO/PJL PAGE $1 AUTO/; s/PJL SET TONERSAVE = OFF/PJL SET TONERSAVE = OFF\r\n\@PJL SET ECONOMODE = OFF/; s/PJL SET PAPERTYPE = NORMAL/PJL SET PAPERTYPE = NORMAL/; s/PJL SET DENSITY = 1/PJL SET DENSITY = 3/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET RET = OFF\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET JAMRECOVERY = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET REPRINT = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET ALTITUDE = OFF\r\n$1/; s/PJL COPIES = 1/PJL COPIES = 1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT TIMEOUT = 15
D [13/Sep/2010:13:33:25 +0400] [Job 55] \r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVE = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVETIME = 5\r\n$1/; ''
D [13/Sep/2010:13:33:25 +0400] [Job 55] renderer exited with status 2
D [13/Sep/2010:13:33:25 +0400] PID 16961 (/usr/libexec/cups/filter/foomatic-rip) did not catch or ignore signal 13.
D [13/Sep/2010:13:33:25 +0400] PID 16960 (/usr/libexec/cups/filter/pstops) did not catch or ignore signal 13.
D [13/Sep/2010:13:33:25 +0400] PID 16962 (/usr/libexec/cups/backend/usb) exited with no errors.



I've tried to downgrade bash on 3.1_p17 and I've tried to upgrade to foomatic-db-4.0.20100913, net-print/foomatic-db-engine-4.0.5, net-print/foomatic-filters-4.0.5 and that does not fixed the issue. I don't have more time to investigate this issue at the moment but still I'd like to report it. Is it possible this is cups-1.4.x related?
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-09-13 11:04:54 UTC
ok, I've installed cups-1.3 and all relevant foomatic packages and printing now works. This is definitely regression.

Also note, that cups testing pages was printed successfully with cups-1.4, while real printing from evince failed...
Comment 2 Maciej Mrozowski gentoo-dev 2010-09-13 11:26:32 UTC
Try net-print/splix for Samsung printers instead.
However, splix is affected by bug 292543.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-09-14 07:50:52 UTC
Thank you  Maciej, I'll try. Ah the same time I've reported this issue upstream.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2011-01-27 14:40:22 UTC
(In reply to comment #3)
> Thank you  Maciej, I'll try. Ah the same time I've reported this issue
> upstream.

 Peter, has anything crept up from upstream or are the problems resolved?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-06-06 22:08:27 UTC
No reply for > 4 months.