I am trying to print a PDF file via CUPS. The first page of the file always prints OK, but then the process fails with the error "pstoraster failed". My CUPS installation was working fine. This condition seemed to appear by itself. I recently did a fresh install of FreeBSD 9.0 hoping that the problem would be resolved and unfortunately it still exists. I enabled debug mode in my CUPS config file and the error log has the line: D [18/Jan/2012:20:30:44 +0000] PID 23252 (/usr/local/libexec/cups/filter/pstoraster) stopped with status 255 (Unknown error: 155) I can supply my CUPS error_log file if required. Thanks. How-To-Repeat: Try to print a PS, PDF with CUPS.
Responsible Changed From-To: freebsd-ports-bugs->rea Fix synopsis and assign.
Good day. I will need the following information: - CUPS version; - CUPS config, including the information about the printer; - logs; - example of a file that fails to print. -- Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
I think I'm having the same problem as Chris with cups-pstoraster and failing print jobs (only printing the first page). It's been happening on the three printers I regularly use (brother hl2070n, ricoh document server, and an hp color laser jet) - CUPS version; cups-base-1.5.0 cups-client-1.5.0 cups-image-1.5.0 cups-pstoraster-8.15.4_6 gutenprint-cups-5.2.7 - CUPS config, including the information about the printer; http://www.thecoffinclub.com/cups/printers.conf http://www.thecoffinclub.com/cups/cupsd.conf all three previously worked with this config prior to upgrading to 9.0-rc (now at 9.0-stable), and being rebuilt due to the upgrade. - logs; http://www.thecoffinclub.com/cups/error_log - example of a file that fails to print. any pdf I've tried fails. but most recently an example is http://www.thecoffinclub.com/cups/bad_pdf.pdf If there's more you need, or I forgot to something, please let me know. And thanks for looking at this. -- Jacob Frelinger jacob.frelinger@duke.edu CBB Graduate Student
I'm currently working on upgrading cups-pstoraster to the version that will use the native GNU Ghostscript port, but this will take up some time: a number of ports depend on the espgs, so they need to be properly tested. -- Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
I am having the same problem with an up-to-date src and ports tree. > uname -a FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jan 28 10:11:39 PST 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC amd64 > ls /var/db/pkg | grep cups cups-1.5.0/ cups-base-1.5.0/ cups-client-1.5.0/ cups-image-1.5.0/ cups-pstoraster-8.15.4_6/ cups-smb-backend-1.0_6/ The error message in /var/log/cups/error_log is: ... D [09/Feb/2012:20:55:46 -0800] [Job 64] Wrote 5 pages... D [09/Feb/2012:20:55:46 -0800] [Job 64] PID 56961 (pstops) exited with no errors. D [09/Feb/2012:20:55:46 -0800] [Job 64] PID 56960 (gs) exited with no errors. D [09/Feb/2012:20:55:46 -0800] [Job 64] End of messages D [09/Feb/2012:20:55:46 -0800] [Job 64] printer-state=3(idle) D [09/Feb/2012:20:55:46 -0800] [Job 64] printer-state-message="/usr/local/libexec/cups/filter/pstoraster failed" D [09/Feb/2012:20:55:46 -0800] [Job 64] printer-state-reasons=none X [09/Feb/2012:20:57:48 -0800] kevent() returned Bad file descriptor E [09/Feb/2012:20:58:46 -0800] [Job 64] Job stopped due to filter errors; please consult the error_log file for details. Tom Dean
Can everyone interested try the patch at http://codelabs.ru/fbsd/ports/cups-pstoraster/update-to-9.0.diff and report the results? -- Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
dinoex 2012-02-13 20:11:12 UTC FreeBSD ports repository Modified files: print/cups-base Makefile distinfo pkg-plist Removed files: print/cups-base/files patch-str3914 Log: - update to 1.5.2 PR: 164293 Submitted by: Eygene Ryabinkin Revision Changes Path 1.168 +1 -1 ports/print/cups-base/Makefile 1.35 +2 -2 ports/print/cups-base/distinfo 1.2 +0 -35 ports/print/cups-base/files/patch-str3914 (dead) 1.66 +158 -0 ports/print/cups-base/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Fri, Feb 10, 2012 at 07:18:37PM +0400, Eygene Ryabinkin wrote: > Can everyone interested try the patch at > http://codelabs.ru/fbsd/ports/cups-pstoraster/update-to-9.0.diff > and report the results? No one is interested or able to test? -- Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
Is this PR still relevant?
The port has been replaced with print/cups-filters.