| Eric Le Bras on Sun, 18 Nov 2001 21:09:06 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Color printing problems |
Le Dimanche 18 Novembre 2001 08:39, vous avez écrit :
> Could you both enable debugging in apsfilter (set -x) and send
> the result of one print session to this list.
> Then we could compare, if gs is really executed the same way.
> I suggest you both simply print the testpage with no -C or -Z
> parameters...
>
> Maybe then we all get a clue whats really happening.
> And you both should perform gs -h, then we see the gs version
> in use.
>
> Thanks
>
> Andreas ///
Trace obtained after printing the testpage with debugging enabled :
+ PATH=/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin
+ VERSION=6.1.1
+ umask 077
+ trap '' 1 13
+ trap 'rm -rf "$APS_TMPDIR"; exit $return_code;' 0
+ trap 'exit 9' 1 5 7 10 12 15
+ '[' 10 -gt 0 ']'
+ variable=
+ variable=variable
+ '[' variable ']'
+ value=132
+ '[' '!' 132 ']'
+ eval 'variable="$value"'
++ variable=132
+ shift
+ '[' 9 -gt 0 ']'
+ variable=
+ variable=variable
+ '[' variable ']'
+ value=66
+ '[' '!' 66 ']'
+ eval 'variable="$value"'
++ variable=66
+ shift
+ '[' 8 -gt 0 ']'
+ variable=
+ variable=variable
+ '[' variable ']'
+ value=0
+ '[' '!' 0 ']'
+ eval 'variable="$value"'
++ variable=0
+ shift
+ '[' 7 -gt 0 ']'
+ variable=
+ variable=USER
+ '[' USER ']'
+ value=
+ '[' '!' '' ']'
+ shift
+ value=eric
+ eval 'USER="$value"'
++ USER=eric
+ shift
+ '[' 5 -gt 0 ']'
+ variable=
+ variable=HOST
+ '[' HOST ']'
+ value=
+ '[' '!' '' ']'
+ shift
+ value=darkstar
+ eval 'HOST="$value"'
++ HOST=darkstar
+ shift
+ '[' 3 -gt 0 ']'
+ variable=
+ variable=variable
+ '[' variable ']'
+ value=
+ '[' '!' '' ']'
+ shift
+ value=test.ps
+ eval 'variable="$value"'
++ variable=test.ps
+ shift
+ '[' 1 -gt 0 ']'
+ variable=
+ ACCT_FILE=/var/spool/lpd/auto2/acct
+ '[' '' ']'
+ shift
+ '[' 0 -gt 0 ']'
+ unset variable value
+ echo dummy
+ read -r dummy
+ read_r=-r
++++ dirname /etc/apsfilter/basedir/bin/apsfilter
+++ dirname /etc/apsfilter/basedir/bin
++ dirname /etc/apsfilter/basedir
+ CONF_DIR=/etc/apsfilter
+ '[' -d /etc/apsfilter/basedir ']'
++ eval echo '~eric'
+++ echo /home/eric
+ HOMEDIR=/home/eric
+ SPOOLDIR=/var/spool/lpd/auto2
+ '[' /var/spool/lpd/auto2 ']'
++ basename /var/spool/lpd/auto2
+ QUEUE=auto2
+ '[' -f /etc/apsfilter/apsfilterrc ']'
+ . /etc/apsfilter/apsfilterrc
+ '[' -f /etc/apsfilter/auto2/apsfilterrc ']'
+ . /etc/apsfilter/auto2/apsfilterrc
++ PRINTER=stc600pl.upp
++ PAPERSIZE=a4
++ METHOD=auto
++ RESOLUTION=default
+ '[' -f /etc/apsfilter/auto2/apsfilterrc.eric ']'
+ '[' -n '' -a -f /home/eric/.apsfilter/apsfilterrc.auto2 ']'
+ export PATH
+ : /tmp
+ APS_TMPDIR=/tmp/apsfilter270
+ rm -rf /tmp/apsfilter270
+ mkdir -m 711 /tmp/apsfilter270
+ '[' 0 -ne 0 ']'
+ export TEMP=/tmp/apsfilter270 TMPDIR=/tmp/apsfilter270
+ TEMP=/tmp/apsfilter270
+ TMPDIR=/tmp/apsfilter270
+ '[' default = default ']'
+ RESOLUTION=
+ '[' '!' '' ']'
+ read pid
+ read -r control_file
+ read -r line
+ value=darkstar
+ HOST=darkstar
+ read -r line
+ value=eric
+ USER=eric
+ read -r line
+ value=test.ps
+ JOB=test.ps
+ read -r line
+ value=darkstar
+ CLASS=darkstar
+ read -r line
+ value=eric
+ read -r line
+ value=dfA001darkstar
+ read -r line
+ value=dfA001darkstar
+ read -r line
+ value=test.ps
+ FNAME=test.ps
+ read -r line
+ '[' xtest.ps = x ']'
+ unset pid control_file line value
+ '[' test.ps = stdin -o test.ps = '(stdin)' -o test.ps = '(STDIN)' ']'
+ find_filter gs
+ type gs
++ gs --version
+ GS_VERSION=5.50
+ '[' darkstar ']'
+ old_ifs=
+ IFS=:,
++ echo darkstar,
++ tr A-Z a-z
+ set -- darkstar
+ IFS=
+ unset old_ifs
+ unset option
+ : 10
+ '[' '' ']'
+ COPIES=1
+ '[' 1 -gt 10 ']'
+ '[' 1 = 0 ']'
+ '[' '' = mono ']'
+ COLOR=set
+ MONO=
+ '[' '' ']'
+ LANDSCAPE=
+ PORTRAIT=set
+ '[' '' = short ']'
+ BINDING=long
+ '[' '' ']'
+ :
+ unset PS_NUP
+ WIDTH_POINTS=595
+ HEIGHT_POINTS=842
+ WIDTH_INCHES=8.26
+ HEIGHT_INCHES=11.69
+ trap : 0
+ unpack print_auto
+ local HEADER FILE_TYPE unpacker
+ DEPTH=1
+ HEADER=/tmp/apsfilter270/header1
+ dd bs=1k count=16
++ file /tmp/apsfilter270/header1
+ FILE_TYPE=/tmp/apsfilter270/header1: PostScript document text conforming at
level 3.0 - type EPS
++ echo PostScript document text conforming at level 3.0 - type EPS
++ tr A-Z a-z
+ FILE_TYPE=postscript document text conforming at level 3.0 - type eps
+ unpacker=
+ '[' '' ']'
+ cat /tmp/apsfilter270/header1 -
+ eval print_auto
++ print_auto
++ print_ps
++ local input
++ '[' '' ']'
++ find_filter gs
++ type gs
++ : /usr/X11R6/lib/X11/fonts/Type1:/var/X11R6/lib/X11/fonts/Type1
++ : /usr/X11R6/lib/X11/fonts/Type1:/var/X11R6/lib/X11/fonts/Type1
++ export GS_FONTPATH GS_LIB
++ input=-
++ ps_postprocessing
++ '[' '' ']'
++ eval cat
+++ cat
++ eval gs -q -dNOPAUSE -dSAFER @stc600pl.upp -sPAPERSIZE=a4 -sOutputFile=- -
+++ gs -q -dNOPAUSE -dSAFER @stc600pl.upp -sPAPERSIZE=a4 -sOutputFile=- -
++ print_data
++ cat
+ rm -f /tmp/apsfilter270/header1
+ :
Output from gs -h :
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
-dNOPAUSE no pause after page | -q `quiet', fewer messages
-g<width>x<height> page size in pixels | -r<res> pixels/inch resolution
-sDEVICE=<devname> select device | -dBATCH exit after last file
-sOutputFile=<file> select output file: - for stdout, |command for pipe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono
lvga256 vgalib sxlcrt appledmp iwhi iwlo iwlq t4693d2 t4693d4 t4693d8
tek4696 ap3250 epson eps9mid eps9high epsonc lp8000 lq850 st800 stcolor
hl7x0 uniprint cdeskjet cdjcolor cdjmono cdj500 cdj550 cdj670 cdj850
cdj880 cdj890 cdj970 cdj1600 djet820c deskjet djet500 djet500c dnj650c
paintjet pj pjetxl pjxl pjxl300 hpdj stp laserjet ljet2p ljet3 ljet3d
ljet4 lj4dith ljetplus lj5mono lj5gray cljet5 lp2563 bj10e bj200 bjc600
bjc800 lbp8 lips3 lxm5700m lex7000 lex5700 lex3200 lex2050 declj250
dl2100 la50 la70 la75 la75plus ln03 lj250 ccr cp50 ibmpro imagen jetp3852
m8510 necp6 oce9050 oki182 oki4w okiibm r4081 sj48 xes pbm pbmraw pgm
pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw plan9bm inferno
dfaxhigh dfaxlow faxg3 faxg32d faxg4 tiffcrle tiffg3 tiffg32d tiffg4
tiff12nc tiff24nc tifflzw tiffpack psmono psgray psrgb bit bitrgb bitcmyk
mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 pcxmono pcxgray pcx16 pcx256
pcx24b pcxcmyk pngmono pnggray png16 png256 png16m sgirgb bmpmono bmp16
bmp256 bmp16m cgmmono cgm8 cgm24 cif jpeg jpeggray miff24 pdfwrite bbox
pswrite epswrite pxlmono pxlcolor nullpage
Search path:
. : /usr/share/ghostscript/5.50 : /usr/share/ghostscript/fonts
For more information, see /usr/share/ghostscript/5.50/doc/Use.htm.
Report bugs to ghost@aladdin.com, using the form in Bug-form.htm.