Falk Schubert on Wed, 4 Dec 2002 19:41:32 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

remote printer prints raw PCL


the debugging with 
aps2file -D -Z options file > /dev/null 2> file.debug
gives the following output, where I can't see an error:

+ PATH=/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin
+ umask 077
+ trap '' 1 13
+ trap 'rc=`cat "$APS_TMPDIR/rc"`; rm -rf "$APS_TMPDIR"; exit $rc' 0
+ trap 'echo 9 >"$APS_TMPDIR/rc"; exit' 1 5 7 10 12 15
+ '[' 3 -gt 0 ']'
+ variable=
+ variable=HOST
+ '[' HOST ']'
+ value=helium
+ '[' '!' helium ']'
+ eval 'HOST="$value"'
++ HOST=helium
+ shift
+ '[' 2 -gt 0 ']'
+ variable=
+ variable=USER
+ '[' USER ']'
+ value=falk
+ '[' '!' falk ']'
+ eval 'USER="$value"'
++ USER=falk
+ shift
+ '[' 1 -gt 0 ']'
+ variable=
+ variable=JOB
+ '[' JOB ']'
+ value=reifen.htm
+ '[' '!' reifen.htm ']'
+ eval 'JOB="$value"'
++ JOB=reifen.htm
+ shift
+ '[' 0 -gt 0 ']'
+ unset variable value
+ echo dummy
+ read -r dummy
+ read_r=-r
++++ dirname /usr/local/etc/apsfilter/basedir/bin/apsfilter
+++ dirname /usr/local/etc/apsfilter/basedir/bin
++ dirname /usr/local/etc/apsfilter/basedir
+ CONF_DIR=/usr/local/etc/apsfilter
+ '[' -d /usr/local/etc/apsfilter/basedir ']'
++ eval echo '~falk'
+++ echo /home/falk
+ HOMEDIR=/home/falk
+ SPOOLDIR=ljet6l
+ '[' ljet6l ']'
++ basename ljet6l
+ QUEUE=ljet6l
+ '[' -f /usr/local/etc/apsfilter/apsfilterrc ']'
+ . /usr/local/etc/apsfilter/apsfilterrc
++ IGNORE_LPD_RAW=set
+ '[' -f /usr/local/etc/apsfilter/ljet6l/apsfilterrc ']'
+ . /usr/local/etc/apsfilter/ljet6l/apsfilterrc
++ PRINTER=lj5gray
++ PAPERSIZE=a4
++ METHOD=auto
++ QUALITY=medium
++ COLOR=full
++ RESOLUTION=600x600
+ '[' -f /usr/local/etc/apsfilter/ljet6l/apsfilterrc.falk ']'
+ '[' dummy ']'
+ USE_USER_CODE=set
+ '[' -n set -a -f /home/falk/.apsfilter/apsfilterrc.ljet6l ']'
+ export PATH
+ : /tmp
+ APS_TMPDIR=/tmp/apsfilter1428
+ rm -rf /tmp/apsfilter1428
+ mkdir -m 711 /tmp/apsfilter1428
+ '[' 0 -ne 0 ']'
+ echo 0
+ export TEMP=/tmp/apsfilter1428 TMPDIR=/tmp/apsfilter1428
+ TEMP=/tmp/apsfilter1428
+ TMPDIR=/tmp/apsfilter1428
+ : /usr/bin/nawk
+ : medium bi plain full
+ '[' -n '' -a -z set ']'
+ '[' '!' dummy ']'
+ '[' reifen.htm = stdin -o reifen.htm = '(stdin)' -o reifen.htm = '(STDIN)' ']'
+ '[' '' ']'
+ : 10
+ '[' '' ']'
+ COPIES=1
+ '[' 1 -gt 10 ']'
+ '[' 1 = 0 ']'
+ '[' '' ']'
+ LANDSCAPE=
+ PORTRAIT=set
+ '[' '' = short ']'
+ BINDING=long
+ '[' '' ']'
+ : '\012\014'
+ : 1
+ unset PS_NUP
+ PSNUP_ROTATE=-l
+ '[' -e /usr/local/etc/apsfilter/restrictions ']'
+ '[' -e /usr/local/etc/apsfilter/ljet6l/restrictions ']'
+ WIDTH_POINTS=595
+ HEIGHT_POINTS=842
+ WIDTH_INCHES=8.26
+ HEIGHT_INCHES=11.69
+ '[' set ']'
+ '[' -f /usr/local/etc/apsfilter/ljet6l/netware.conf -o -f /usr/local/etc/apsfilter/ljet6l/lpr.conf ']'
+ unset REMOTE_COPIES
+ DRIVER_SCRIPT=lj5gray
+ '[' '!' -e /usr/local/etc/apsfilter/basedir/driver/lj5gray ']'
++ grep :lj5gray: /usr/local/etc/apsfilter/basedir/driver/MAPPING
++ sed 's/:.*//'
+ DRIVER_SCRIPT=ljet4
+ '[' -z ljet4 ']'
+ '[' -e /usr/local/etc/apsfilter/basedir/driver/ljet4 ']'
+ . /usr/local/etc/apsfilter/basedir/driver/ljet4
++ RESOLUTION=600x600
++ '[' '' ']'
++ '[' -n '' -a -n '' ']'
+ '[' lj5gray '!=' PS ']'
+ '[' '' ']'
+ '[' '' ']'
+ unpack print_auto
+ local HEADER FILE_TYPE unpacker unpacker_opts
+ DEPTH=1
+ HEADER=/tmp/apsfilter1428/header1
+ dd bs=1k count=16
++ file /tmp/apsfilter1428/header1
+ FILE_TYPE=/tmp/apsfilter1428/header1: HTML document text
++ echo HTML document text
++ tr A-Z a-z
+ FILE_TYPE=html document text
+ unpacker=
+ '[' '' ']'
+ eval print_auto
++ print_auto
++ print_html
++ local opts paper
++ find_filter htmldoc
++ type htmldoc
++ find_filter html2ps
++ type html2ps
+ cat /tmp/apsfilter1428/header1 -
++ find_filter gs
++ type gs
++ '[' full = full ']'
++ opts=-U
++ '[' a4 = tabloid ']'
++ paper=a4
++ eval html2ps -e ISO-8859-1 -u -H -U -D -S '"paper { type: $paper; }"'
+++ html2ps -e ISO-8859-1 -u -H -U -D -S 'paper { type: a4; }'
++ print_ps
++ local paper gs_cmd
++ '[' '' ']'
++ '[' lj5gray = PS ']'
++ 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
++ '[' a4 = tabloid ']'
++ paper=a4
++ gs_cmd=gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sstdout=%stderr 		-sDEVICE='lj5gray' -sPAPERSIZE='a4' 		-r'600x600' -sOutputFile=-  		 - 
++ '[' '' ']'
++ ps_postprocessing
++ '[' '' ']'
++ eval ps_set_duplex
+++ ps_set_duplex
+++ local tray
+++ find_filter psset
+++ type psset
+++ '[' '' ']'
+++ '[' '' ']'
+++ psset -n -q -s
++ eval gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sstdout=%stderr '-sDEVICE='\''lj5gray'\''' '-sPAPERSIZE='\''a4'\''' '-r'\''600x600'\''' -sOutputFile=- -
+++ gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sstdout=%stderr -sDEVICE=lj5gray -sPAPERSIZE=a4 -r600x600 -sOutputFile=- -
++ print_data
++ local c
++ '[' '' ']'
++ '[' 1 = 1 -o -n '' ']'
++ print_copy
++ local rc=0 ncp_print
++ '[' dummy ']'
++ cat
++ '[' 0 -ne 0 ']'
+ rm -f /tmp/apsfilter1428/header1
++ cat /tmp/apsfilter1428/rc
+ rc=0
+ rm -rf /tmp/apsfilter1428
+ exit 0

the weired thing is: when I save the testprintpage from the install and
print this file via lpr then the print is successful....




-- 
enjoy your day!

Falk Schubert
Morgenbreede 21
33615 Bielefeld