Andrei Loukinykh on Wed, 27 Feb 2002 07:06:52 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


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

Re: Again - it doesnt print for some reason



Here is the result of :  `cat chess.ps | aps2file -D > /dev/null`

===============================================================
+ 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=cow.evp.sf.ukrtel.net
+ '[' '!' cow.evp.sf.ukrtel.net ']'
+ eval 'HOST="$value"'
++ HOST=cow.evp.sf.ukrtel.net
+ shift
+ '[' 2 -gt 0 ']'
+ variable=
+ variable=USER
+ '[' USER ']'
+ value=root
+ '[' '!' root ']'
+ eval 'USER="$value"'
++ USER=root
+ shift
+ '[' 1 -gt 0 ']'
+ variable=
+ variable=JOB
+ '[' JOB ']'
+ value=stdin
+ '[' '!' stdin ']'
+ eval 'JOB="$value"'
++ JOB=stdin
+ 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 '~root'
+++ echo /root
+ HOMEDIR=/root
+ SPOOLDIR=lp
+ '[' lp ']'
++ basename lp
+ QUEUE=lp
+ '[' -f /usr/local/etc/apsfilter/apsfilterrc ']'
+ . /usr/local/etc/apsfilter/apsfilterrc
+ '[' -f /usr/local/etc/apsfilter/lp/apsfilterrc ']'
+ . /usr/local/etc/apsfilter/lp/apsfilterrc
++ PRINTER=ljet4
++ PAPERSIZE=a4
++ METHOD=auto
++ QUALITY=high
++ COLOR=full
++ RESOLUTION=600x600
+ '[' -f /usr/local/etc/apsfilter/lp/apsfilterrc.root ']'
+ '[' dummy ']'
+ USE_USER_CODE=set
+ '[' -n set -a -f /root/.apsfilter/apsfilterrc.lp ']'
+ export PATH
+ : /tmp
+ APS_TMPDIR=/tmp/apsfilter16594
+ rm -rf /tmp/apsfilter16594
+ mkdir -m 711 /tmp/apsfilter16594
+ '[' 0 -ne 0 ']'
+ echo 0
+ export TEMP=/tmp/apsfilter16594 TMPDIR=/tmp/apsfilter16594
+ TEMP=/tmp/apsfilter16594
+ TMPDIR=/tmp/apsfilter16594
+ : /usr/bin/gawk
+ : high bi plain full
+ '[' -n '' -a -z '' ']'
+ '[' '!' dummy ']'
+ '[' stdin = stdin -o stdin = '(stdin)' -o stdin = '(STDIN)' ']'
+ unset JOB
+ '[' '' ']'
+ : 10
+ '[' '' ']'
+ COPIES=1
+ '[' 1 -gt 10 ']'
+ '[' 1 = 0 ']'
+ '[' '' ']'
+ LANDSCAPE=
+ PORTRAIT=set
+ '[' '' = short ']'
+ BINDING=long
+ '[' '' ']'
+ :
+ unset PS_NUP
+ PSNUP_ROTATE=-l
+ '[' -e /usr/local/etc/apsfilter/restrictions ']'
+ '[' -e /usr/local/etc/apsfilter/lp/restrictions ']'
+ WIDTH_POINTS=595
+ HEIGHT_POINTS=842
+ WIDTH_INCHES=8.26
+ HEIGHT_INCHES=11.69
+ '[' set ']'
+ '[' -f /usr/local/etc/apsfilter/lp/netware.conf -o -f
/usr/local/etc/apsfilter+ unset HARDWARE_COPIES
+ DRIVER_SCRIPT=ljet4
+ '[' '!' -e /usr/local/etc/apsfilter/basedir/driver/ljet4 ']'
+ '[' -z ljet4 ']'
+ '[' -e /usr/local/etc/apsfilter/basedir/driver/ljet4 ']'
+ . /usr/local/etc/apsfilter/basedir/driver/ljet4
++ RESOLUTION=600x600
++ '[' '' ']'
++ '[' -n '' -a -n '' ']'
+ '[' ljet4 '!=' PS ']'
+ '[' '' ']'
+ '[' '' ']'
+ unpack print_auto
+ local HEADER FILE_TYPE unpacker unpacker_opts
+ DEPTH=1
+ HEADER=/tmp/apsfilter16594/header1
+ dd bs=1k count=16
++ file /tmp/apsfilter16594/header1
+ FILE_TYPE=/tmp/apsfilter16594/header1: PostScript document text
conforming at
++ echo PostScript document text conforming at level 2.1
++ tr A-Z a-z
+ FILE_TYPE=postscript document text conforming at level 2.1
+ unpacker=
+ '[' '' ']'
+ cat /tmp/apsfilter16594/header1 -
+ eval print_auto
++ print_auto
++ print_ps
++ local paper gs_cmd
++ '[' '' ']'
++ '[' ljet4 = 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
-sDEVICE='ljet4'++ '[' '' ']'
++ 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 '-sDEVICE='\''ljet4'\'''
'-sPAPE+++ gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=ljet4
-sPAPERSIZE=a4 -r600x++ print_data
++ local c
++ '[' '' ']'
++ '[' 1 = 1 -o -n set ']'
++ print_copy
++ local rc=0 ncp_print
++ '[' dummy ']'
++ cat
++ '[' 0 -ne 0 ']'
+ rm -f /tmp/apsfilter16594/header1
++ cat /tmp/apsfilter16594/rc
+ rc=0
+ rm -rf /tmp/apsfilter16594
+ exit 0
===============================================================



>Please create a debugging log with aps2file, just to see
>if the error occurs independently of the nprint stuff.


>Michael


Andrei V. Loukinykh , Evpatoria Ukrtelecom ISP, +380 6569 29376
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"UNIX is like a vigvam - no Windows, no Gates and an Apache inside"