A. L. Meyers on Sat, 30 Jun 2001 17:15:19 +0200 (CEST)


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

problem with ascii files


Dear Apsfilter-Helpers,

Thanks for the quick messages. Resume of the problem:

apsfilter 6.1.1
HP2000C printer on /dev/lpt0
FBSD 4.3
cdjcolor driver
ghostscript 6.1
printers defined by apsfilter: lp and raw1
command: "lptest 25 25 | lpr -Plp
Result: nothing, zero, nada


I set up a log file according to your instructions.
It is attached.

Greetings,

Lucien Meyers

+ PATH=/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin:/etc/apsfilter
+ 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
+ [ 8 -gt 0 ]
+ variable=
+ variable=variable
+ [ variable ]
+ value=132
+ [ ! 132 ]
+ eval variable="$value"
+ variable=132
+ shift
+ [ 7 -gt 0 ]
+ variable=
+ variable=variable
+ [ variable ]
+ value=66
+ [ ! 66 ]
+ eval variable="$value"
+ variable=66
+ shift
+ [ 6 -gt 0 ]
+ variable=
+ variable=variable
+ [ variable ]
+ value=0
+ [ ! 0 ]
+ eval variable="$value"
+ variable=0
+ shift
+ [ 5 -gt 0 ]
+ variable=
+ variable=USER
+ [ USER ]
+ value=
+ [ !  ]
+ shift
+ value=alm
+ eval USER="$value"
+ USER=alm
+ shift
+ [ 3 -gt 0 ]
+ variable=
+ variable=HOST
+ [ HOST ]
+ value=
+ [ !  ]
+ shift
+ value=consult-meyers
+ eval HOST="$value"
+ HOST=consult-meyers
+ shift
+ [ 1 -gt 0 ]
+ variable=
+ ACCT_FILE=/var/spool/lpd/lp/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 ~alm
+ echo /home/alm
+ HOMEDIR=/home/alm
+ SPOOLDIR=/var/spool/lpd/lp
+ [ /var/spool/lpd/lp ]
+ basename /var/spool/lpd/lp
+ QUEUE=lp
+ [ -f /etc/apsfilter/apsfilterrc ]
+ . /etc/apsfilter/apsfilterrc
+ RAW_PROLOGUE=\033&k2G\033(s2Q\033&k5W\033&l0L\033&a7L\033(s12H
+ RAW_EPILOGUE=\014
+ [ -f /etc/apsfilter/lp/apsfilterrc ]
+ . /etc/apsfilter/lp/apsfilterrc
+ PRINTER=cdjcolor
+ PAPERSIZE=a4
+ METHOD=auto
+ RESOLUTION=600x600
+ GS_FEATURES=-dBitsPerPixel=24
+ GS_RESOL=600x600
+ [ -f /etc/apsfilter/lp/apsfilterrc.alm ]
+ [ -n  -a -f /home/alm/.apsfilter/apsfilterrc.lp ]
+ export PATH
+ : /tmp
+ APS_TMPDIR=/tmp/apsfilter403
+ rm -rf /tmp/apsfilter403
+ mkdir -m 711 /tmp/apsfilter403
+ [ 0 -ne 0 ]
+ export TEMP=/tmp/apsfilter403 TMPDIR=/tmp/apsfilter403
+ [ 600x600 = default ]
+ [ !  ]
+ read pid
+ read -r control_file
+ read -r line
+ value=consult-meyers
+ HOST=consult-meyers
+ read -r line
+ value=alm
+ USER=alm
+ read -r line
+ value=consult-meyers
+ CLASS=consult-meyers
+ read -r line
+ value=dfA000consult-meyers
+ read -r line
+ value=dfA000consult-meyers
+ read -r line
+ value= 
+ FNAME= 
+ read -r line
+ [ x = x ]
+ JOB= 
+ unset pid control_file line value
+ [   = stdin -o   = (stdin) -o   = (STDIN) ]
+ find_filter gs
+ type gs
+ gs --version
+ GS_VERSION=6.50
+ [ consult-meyers ]
+ old_ifs= 	

+ IFS=:,
+ echo consult-meyers,
+ tr A-Z a-z
+ set -- consult-meyers 
+ 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/apsfilter403/header1
+ dd bs=1k count=16
+ file /tmp/apsfilter403/header1
+ FILE_TYPE=/tmp/apsfilter403/header1: ASCII text
+ echo ASCII text
+ tr A-Z a-z
+ FILE_TYPE=ascii text
+ unpacker=
+ [  ]
+ cat /tmp/apsfilter403/header1 -
+ eval print_auto
+ print_auto
+ print_ascii
+ local features jobname lang
+ jobname= 
+ echo  
+ wc -c
+ [ 2 -gt 40 ]
+ find_filter a2ps
+ type a2ps
+ [  ]
+ [ !  ]
+ A2PS_PAPERSIZE=A4
+ A2PS_PAPERSIZE=A4dj
+ features=-1
+ unset LANDSCAPE PS_NUP
+ [  ]
+ features=-1 --borders=no
+ [  ]
+ features=-1 --borders=no --no-header
+ eval a2ps -M A4dj --center-title="$jobname" -b"Printed by $USER from $HOST" -X iso1 -g --prologue=color -1 --borders=no --no-header -q -o -
+ a2ps -M A4dj --center-title=  -bPrinted by alm from consult-meyers -X iso1 -g --prologue=color -1 --borders=no --no-header -q -o -
+ print_ps
A2ps v4.3 usage: a2ps [pos. or global options] [ f1 [ [pos. options] f2 ...] ]
pos.   =  -#num		number of copies to print
          -1		one page per sheet
          -2		TWIN PAGES per sheet
          -a		Use USA paper size (8.5" x 11")
          -d	-nd	print (DON'T PRINT) current date at the bottom
          -Fnum		font size, num is a float number
          -Hstr		use str like header title for subsequent files
          	-nL	don't print login ID on top of page
          -l		print in LANDSCAPE mode
          -lnum		use num lines per page
          -m		process the file as a man
          -n	-nn	NUMBER (don't number) line files
          -p		print in portrait mode
          -q		print in quiet mode (no summary)
          -s	-ns	PRINT (don't print) surrounding borders

global =  -?		print this information
          -B	-nB	print (DON'T PRINT) in bold font
          -b	-nb	force (DON'T FORCE) binary printing
          -c	-nc	allow (DON'T ALLOW) two files on the same sheet
          -f	-nf	FOLD (don't fold) lines
          	-nH	don't print any header
          -h		print this information
          -Ifile	include this file as a2ps prologue
          -i	-ni	INTERPRET (don't interpret) tab, bs and ff chars
          -Pprinter -nP	SEND (don't send) directly to the printer
			(with options '-l' and -Pprinter)
          -r	-nr	RESTART (don't restart) page number after each file
          -tnum		set tab size to n
          	-nu	don't print a filename footer
          -v	-nv	VISIBLE (blank) display of unprintable chars
          -8	-n8	display (DON'T DISPLAY) 8-bit chars
+ ps_postprocessing
+ [  ]
+ print_data
+ cat
+ eval cat
+ cat
+ rm -f /tmp/apsfilter403/header1
+ :