LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-14-2006, 07:21 AM   #1
Eliot
LQ Newbie
 
Registered: Sep 2006
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Printer abort printing when page with figure occur


Hello,

the problem is that my printer (HP DeskJet 710C) aborts printing when a page with a figure occur (latex generate pdf file). Text pages work fine!

For bug tracking I switched LogLevel to debug in /etc/cups/cupsd.conf.

One general warning appears within perl (regardless the page contains a figure or not):
Quote:
D [14/Nov/2006:11:33:13 +0100] [Job 15] 0 %%BeginResource: procset xpdf 3.00 0
D [14/Nov/2006:11:33:13 +0100] [Job 15] perl: warning: Setting locale failed.
D [14/Nov/2006:11:33:13 +0100] [Job 15] perl: warning: Please check that your locale settings:
D [14/Nov/2006:11:33:13 +0100] [Job 15] LANGUAGE = (unset),
D [14/Nov/2006:11:33:13 +0100] [Job 15] LC_ALL = (unset),
D [14/Nov/2006:11:33:13 +0100] [Job 15] LANG = "de"
D [14/Nov/2006:11:33:13 +0100] [Job 15] are supported and installed on your system.
D [14/Nov/2006:11:33:13 +0100] [Job 15] perl: warning: Falling back to the standard locale ("C").
my locale settings:
Quote:
LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=de_DE@euro
locale settings made in /etc/profile.d/lang.sh (comments removed)
Quote:
#!/bin/sh
export LANG=de_DE@euro
#export LANGUAGE=de_DE@euro tried to fix the problem but change nothing
export LC_COLLATE=C
export LC_ALL=de_DE@euro
# End of /etc/profile.d/lang.sh
The second problem occurs only when a figure is in the page. Text pages before the figure page were printed correctly.
Quote:
D [14/Nov/2006:11:33:14 +0100] [Job 15] Starting renderer
D [14/Nov/2006:11:33:14 +0100] [Job 15] renderer PID kid4=4463
D [14/Nov/2006:11:33:14 +0100] [Job 15] renderer command: gs -q -dNOPAUSE -dPARANOIDSAFER -dBATCH -r600 -sDEVICE=ppmraw -sOutputFile=- - | pnm2ppa -v 720 -B 2 -t 10 -b 150 -l 10 -r 10 -x 160 -y 50 -i - -o -
D [14/Nov/2006:11:33:14 +0100] [Job 15] JCL: <job data>
D [14/Nov/2006:11:33:14 +0100] [Job 15]
D [14/Nov/2006:11:33:14 +0100] [Job 15] 0 %%PageTrailer
D [14/Nov/2006:11:33:14 +0100] [Job 15] 0 %%Trailer
D [14/Nov/2006:11:33:14 +0100] [Job 15] Saw Trailer!
D [14/Nov/2006:11:33:14 +0100] [Job 15] Saw EOF!
D [14/Nov/2006:11:33:14 +0100] [Job 15] ESP Ghostscript 815.03: Unrecoverable error, exit code 1
D [14/Nov/2006:11:33:14 +0100] [Job 15] renderer return value: 1
D [14/Nov/2006:11:33:14 +0100] [Job 15] renderer received signal: 1
D [14/Nov/2006:11:33:14 +0100] [Job 15] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [14/Nov/2006:11:33:14 +0100] [Job 15] error: No such file or directory (2)
D [14/Nov/2006:11:33:14 +0100] [Job 15] Possible error on renderer command line or PostScript error. Check options.
D [14/Nov/2006:11:33:14 +0100] [Job 15] tail process done writing data to STDOUT
D [14/Nov/2006:11:33:14 +0100] [Job 15] KID4 finished
D [14/Nov/2006:11:33:14 +0100] [Job 15]
I compiled pnm2ppa with the standard make and make install and copied it to the right place (/usr/bin and /usr/share/man)
(I also changed the printer version to 720 because the 710series should use this one.. but 720 is the default so it do not change really anything)

Complete printing log files:
log printing text page
log printing figure page

I have Slackware 11.0
cups-1.1.23-i486-4
ESP Ghostscript 8.15.3 (2006-08-25)
pnm2ppa version and build date: 1.12 (November 19, 2002) Nov 13 2006 22:03:20
HP-DeskJet_710C-pnm2ppa.ppd (latest form http://www.linuxprinting.org for installing printer on cups)

Last edited by Eliot; 11-14-2006 at 07:29 AM.
 
Old 11-29-2006, 10:19 PM   #2
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
Hi, I'm Brian Mauter not whoever pxumsgdxpcvjm is (thanks BugMeNot).

Anyway, I'm having the same problem. I have CUPS on Debian Unstable printing to an HP720C. Raw printing from a Windows machine to CUPS is flawless. Printing with a non-raw printer works sometimes but not others. From my Mac, I can print the Google homepage from Firefox but I can't print a MS Word doc. I get the same message that Eliot gets. This seems to be the most interesting part of my logs:

D [29/Nov/2006:22:06:20 -0600] [Job 60] renderer command: gs -q -dNOPAUSE -dPARANOIDSAFER -dBATCH -r600 -sDEVICE=ppmraw -sOutputFile=- - | pnm2ppa -v 720 -B 2 -t 10 -b 150 -l 10 -r 10 -x 160 -y 50 -i - -o -
D [29/Nov/2006:22:06:20 -0600] [Job 60] perl: warning: Setting locale failed.
D [29/Nov/2006:22:06:20 -0600] [Job 60] perl: warning: Please check that your locale settings:
D [29/Nov/2006:22:06:20 -0600] [Job 60] LANGUAGE = (unset),
D [29/Nov/2006:22:06:20 -0600] [Job 60] LC_ALL = (unset),
D [29/Nov/2006:22:06:20 -0600] [Job 60] LANG = "en_US"
D [29/Nov/2006:22:06:20 -0600] [Job 60] are supported and installed on your system.
D [29/Nov/2006:22:06:20 -0600] [Job 60] perl: warning: Falling back to the standard locale ("C").
D [29/Nov/2006:22:06:21 -0600] [Job 60] foomatic-gswrapper: gs '-sstdout=%stderr' '-dNOPAUSE' '-dPARANOIDSAFER' '-dBATCH' '-r600' '-sDEVICE=ppmraw' '-sOutputFile=%stdout' '-'
D [29/Nov/2006:22:06:21 -0600] [Job 60] ESP Ghostscript 815.03 (2006-08-25)
D [29/Nov/2006:22:06:21 -0600] [Job 60] Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
D [29/Nov/2006:22:06:21 -0600] [Job 60] This software comes with NO WARRANTY: see the file PUBLIC for details.
D [29/Nov/2006:22:06:21 -0600] [Job 60]
D [29/Nov/2006:22:06:21 -0600] [Job 60] Closing renderer
D [29/Nov/2006:22:06:25 -0600] [Job 60] Warning: the map file cidfmap was not found.
E [29/Nov/2006:22:06:25 -0600] [Job 60] /ioerror in --.outputpage--
D [29/Nov/2006:22:06:25 -0600] [Job 60] Operand stack:
D [29/Nov/2006:22:06:25 -0600] [Job 60] 1 true
D [29/Nov/2006:22:06:25 -0600] [Job 60] Execution stack:
D [29/Nov/2006:22:06:25 -0600] [Job 60] %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-- 0 5 %oparray_pop --nostringval-- --nostringval--
D [29/Nov/2006:22:06:25 -0600] [Job 60] Dictionary stack:
D [29/Nov/2006:22:06:25 -0600] [Job 60] --dict:1127/1686(ro)(G)-- --dict:0/20(G)-- --dict:109/200(L)-- --dict:59/75(L)-- --dict:12/15(L)--
D [29/Nov/2006:22:06:25 -0600] [Job 60] Current allocation mode is local
D [29/Nov/2006:22:06:25 -0600] [Job 60] Last OS error: 32
D [29/Nov/2006:22:06:25 -0600] [Job 60] ESP Ghostscript 815.03: Unrecoverable error, exit code 1
D [29/Nov/2006:22:06:25 -0600] [Job 60] renderer return value: 1
D [29/Nov/2006:22:06:25 -0600] [Job 60] renderer received signal: 1
D [29/Nov/2006:22:06:25 -0600] [Job 60] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [29/Nov/2006:22:06:25 -0600] [Job 60] error: Illegal seek (29)

Please help! Spouse tolerance level near capacity!

-Brian
 
Old 02-28-2007, 02:48 PM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Hi, Brian, welcome to LQ.

Why are you using "pxumsgdxpcvjm" instead of registering? Besides, I thought BugMeNot no longer worked on LQ.
 
Old 02-28-2007, 02:55 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I recommend upgrading to hplip (latest version), and maybe also upgrading to latest EPS Ghostscript.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
latex, put \begin{figure*} on own page hedpe Programming 4 11-30-2009 05:16 PM
Can't seem to figure out how to print to a network printer Ekim8587 Linux - Networking 3 11-16-2005 09:06 AM
cups printing: can print test page, but printer not available in openoffice hamish Linux - Software 4 07-05-2004 11:50 AM
Scribus Printing How to put 4 flyers on a page when printing jazzboy Linux - Software 0 05-02-2004 06:13 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration