| kai.o on Tue, 16 Jan 2001 19:18:27 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Bug in apsfilter 6? |
Hi,
ich habe oder bessergesagt ich wollte apsfilter 5.x mit 6.0 ersetzen.
Das Setup verlief ohne größere Probleme.
Ich drucke über einen HP jetdirect Printserver an einen HPDjet 520.
Leider bekomme ich jedesmal folgendes Mail, und es wird nicht gedruckt.
-----schnip--------------------------------
apsfilter fatal error: can't determine the lpd spool directory
Please fix your lpd or stop printing to remote printers
directly.
-- apsfilter, your lpd input filter
-----schnapp------------------------------
An was könnte das liegen? Welche Infos braucht Ihr noch?
------schnipp------------------------
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|Printer1 auto:\
:lp=:\
:rm=print:\
:rp=raw:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
raw1|Printer1 raw:\
:lp=:\
:rm=print:\
:rp=raw:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/raw1:\
:lf=/var/spool/lpd/raw1/log:\
:af=/var/spool/lpd/raw1/acct:\
:mx#0:\
:sf:\
:sh:
# APS1_END - don't delete this
-schnapp------------------
kai@kitekat:/var/spool/lpd> ls -l
insgesamt 1
drwxrwsr-x 2 lp lp 484 Jan 16 19:10 lp/
drwxrwsr-x 2 lp lp 94 Jan 15 00:04 raw1/
kai@kitekat:/etc/apsfilter> uname -a
Linux kitekat 2.2.18 #5 Mit Dez 27 15:12:58 CET 2000 i586 unknown
angehängt die /etc/apsfilterrc
Gruß,
Kai O.
--
Windows has detected that your mouse pointer has moved.
Your computer will have to restart for this change to take effect.
Do you wish to restart now (Y/N)?
############################################################################## # $ApsCVS: src/apsfilter/template/apsfilterrc,v 1.34 2000/09/11 06:50:33 andreas Exp $ # # Sample apsfilter template file for apsfilter 6.0 # # This file is for customizing apsfilter's behaviour # Enables you to configures some aspects of apsfilter to fit your own needs. # # # Possible locations for configuration files: # # a) global configuration for all printers: /etc/apsfilter/apsfilterrc # b) printer specific: /etc/apsfilter/QUEUE/apsfilterrc # c) printer specific, supplied by user: /etc/apsfilter/QUEUE/apsfilterrc.USER # d) printer specific, controlled by user: ~user/.apsfilter/apsfilterrc.QUEUE # (admin must set USE_USER_CODE for this to be used) ############################################################################## #============================================================================= # apsfilter specific configuration #============================================================================= # include special paths you need # default: PATH="/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin" #PATH="/opt/bin:/usr/openwin/bin:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin" # who is to be notified in case of a failure # default: NOTIFY=root #NOTIFY=lp # directory for temporary file creation # default: TMPDIR=/tmp #TMPDIR=/var/tmp ### ### WARNING ! ### ### This setting allows users to provide configuration in a shell script; ### do _not_ set this if the input filter runs under a privileged user. ### ### To be on the safe side, you can also create user-specific config files ### /etc/apsfilter/$QUEUE/apsfilterrc.$USER ### which contain settings that have been inspected by the administrator. ### # default: USE_USER_CODE="" #USE_USER_CODE=set #============================================================================= # printer independent configuration #============================================================================= # search path for embedded images used by dvips # default: TEXINPUTS="" #TEXINPUTS=/usr/accounts/andreas/pictures:/usr/share/dvips/pictures # custom DVI-to-PostScript filter (stdin->stdout) # default: PRINT_DVI="" -> will use dvips #PRINT_DVI='/usr/local/bin/my_super_filter -X -Y -Z -' # set this of your MakeTeXPK tool works correctly # default: HAVE_MAKETEXPK="" #HAVE_MAKETEXPK=set # dvips option for setting the resolution # default: DVIPS_RES_DorP=-D #DVIPS_RES_DorP=-P # ghostscript environment variables # defaults: # GS_FONTPATH="/usr/X11R6/lib/X11/fonts/Type1:/var/X11R6/lib/X11/fonts/Type1" # GS_LIB="$GS_FONTPATH" #GS_FONTPATH=/usr/X11R6/lib/X11/fonts/Type1 #GS_LIB=/usr/X11R6/lib/X11/fonts/Type1 #============================================================================ # printer dependent configuration #============================================================================ # escape sequences to be sent before/after a "raw" print job # defaults: # RAW_PROLOGUE="" # RAW_EPILOGUE="" #RAW_PROLOGUE='\033&k2G\033(s2Q\033&k5W\033&l0L\033&a7L\033(s12H' #RAW_EPILOGUE='\014' # ghostscript options; can be altered by class options # defaults: # GS_FEATURES="" # GS_RESOL=<printer dependent; 300x300, 360x360 or 600x600> #GS_FEATURES='-dBitsPerPixel=32 -dMicroweave -sDithering=fscmyk' #GS_RESOL=720x720 # printer initialisation (used by gs) # default: PS_INIT="" #PS_INIT=stcolor.ps # options for pnm2ppa; these override the values given in the config files # /etc/pnm2ppa.conf and /etc/apsfilterrc/QUEUE/pnm2ppa.conf # default: PPA_OPTS="" #> class options: uni, bi, eco, noblack #PPA_OPTS='--bi --eco' # set COLOR=mono for a grayscale printer # default: COLOR=color #> class options: color, colour, mono #COLOR=mono # printer is a duplex capable printer # default: HARDWARE_DUPLEX="" #HARDWARE_DUPLEX=set # disable duplex printing; only needed if HARDWARE_DUPLEX is empty _and_ if # apsfilter doesn't run on the local host # default: DISABLE_DUPLEX="" #DISABLE_DUPLEX=set # papertray selection # default: PAPERTRAY="" #> class options: tray0, ..., tray9 #PAPERTRAY=1 #============================================================================ # visual appearance of the printout #============================================================================ # filter for ASCII files; one of a2ps, mpage, recode # default: ASCII_FILTER=a2ps #> class options: a2ps, mpage, recode #ASCII_FILTER=a2ps # override a2ps default options # defaults: # A2PS_BASIC="-X iso1 --prologue=color" or "-X iso1 --prologue=gray" resp. # A2PS_PAPERSIZE="$PAPERSIZE" #A2PS_BASIC='-X iso1' #A2PS_PAPERSIZE=Letter #A2PS_PAPERSIZE=A4stylus # override the complete a2ps commandline #A2PS_OPTS='-X iso1 -m --borders=yes --prologue=color --highlight-level=heavy' # override mpage default options # defaults: # MPAGE_BASIC="-CISO-Latin.1 -f" # MPAGE_PAPERSIZE="$PAPERSIZE" #MPAGE_BASIC='-CISO-Latin.2 -f' #MPAGE_PAPERSIZE=Letter #MPAGE_PAPERSIZE=A4 # override the complete mpage commandline #MPAGE_OPTS='-CISO-Latin.2 -a -e -r' # print headers and borders for ASCII files # defaults: # ASCII_HEADER="" # ASCII_BORDER="" #> class options: header, noheader, border, noborder #ASCII_HEADER=set #ASCII_BORDER=set # multiple pages per sheet (can be 1,2,4,8) # default: PS_NUP=1 #> class options: 1pps, 2pps, 4pps, 8pps #PS_NUP=2 # same setting, but for ASCII files only # default: ASCII_PPS="$PS_NUP" #ASCII_PPS=2 # force paper orientation # default: LANDSCAPE="" #> class options: landscape, portrait #LANDSCAPE=set # same setting, but for ASCII files only # default: ASCII_LANDSCAPE="$LANDSCAPE" #ASCII_LANDSCAPE=set # override html2ps options # default: HTML2PS_OPTS="-e ISO-8859-1 -u -H" #HTML2PS_OPTS='-e ISO-8859-2 -u -H' # override recode options # default: RECODE_OPTS="-q latin1..ibmpc" #RECODE_OPTS='-q latin1..cp437' # use pstools to alter the PostScript printout # defaults: # PS_BOOK="" # PS_UTILS="" #> class options: book #PS_BOOK=set #PS_UTILS='psselect -r' # duplex printing (will be "faked" if printer can't handle this by itself) # default: DUPLEX="" #> class options: duplex, simplex #DUPLEX=set # binding edge; must be long or short # default: BINDING=long #> class options: shortbind, longbind #BINDING=short