| Rob Fantini on Tue, 13 Mar 2001 21:26:49 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| apsfilter 6.0-devel: set -x does not create a log |
(1) Some simple questions:
Operating System : RedHat 7.0
apsfilter Rel. : apsfilter-6.0 developement SNAPSHOT
ghostscript Rel. : gs 6.50 (2000-12-02)
Printer : HP 40000N
serial/parallel : network.
Mono/Color : mono
Postscript-Printer: yes
Print Resolution : 300?
or : GS_RESOL = default
Your Full Name : Rob Fantini
Your e-mail addr : robertfantini@yahoo.com
(2) - Problem description
- what ghostscript printer driver did you use ?
I'm trying to get ascii files to print landscape. To debug,I uncommented the
'set -x' line in BASEDIR/bin/apsfilter.
However nothing is written to /var/spool/lpd/QUE/log .
(3) Any error messages from your operating system, indicating trouble
concerning TCP/IP, lpd ? Browse your systems syslog logfiles, i.e.
/var/log/messages or /var/log/lpd-errs, ...
no, the reports prints.
(4) Did you read all help-files ?
The most important are:
README, INSTALL, FAQ, TODO, ChangeLog, doc/README.TeX
If not, then please do so first.
ok did that
(5) Did you enable debugging in the apsfilter shellscript to track down
simple errors yourself ? For more infos on how to do this, see the FAQ
file. Please do so first !!!
If you can't find the problem, then please send me the debugging
output of *exactly* one print session.
(6) The printer entry from your /etc/printcap file, that caused trouble,
i.e. if you have trouble forcing ASCII printing the entry from the
printer named auto would be fine:
apslj5|Printer2 auto:\
:lp=:\
:rm=192.168.1.13:\
:rp=lpd:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/apslj5:\
:lf=/var/spool/lpd/apslj5/log:\
:af=/var/spool/lpd/apslj5/acct:\
:mx#0:\
:sh:
(7) Did you modify apsfilterrc in /etc/apsfilter and/or in the printer
specific config directory /etc/apsfilter/NAME ?
If you modified the file, try printing without the modifications.
Still problems ?
YES, [I had changed the 'METHOD' to 'ascii'. I just now changed back to
'auto'.
(8) Does a private (user defineable) apsfilterrc exist ? NO
(9) Is it perhaps a file type recognition problem ?
I just ran 'file' on test file I've been trying to print, result:
ASCII text .
(10) The part of your printers logfile that logged the commands of
your failed print session, see lf= in /etc/printcap, i.e.:
lp|Printer1 auto:\
...
:lf=/var/spool/lpd/lp/log:\
...
So you find debugging output in the file
/var/spool/lpd/lp/log
This logfile contains debugging data, if you enabled debugging as
described in the FAQ.
For LPRng spoolers: depending on the configuration, debugging output
might also be logged to the "status" file in the spool directory, e.g.
/var/spool/lpd/lp/status
(11) Mostly true on Linux Distributions:
Do you use the traditional printer spooler (lpd)
or the one that is called LPRng (line printer next generation) ?
LPRng
Thanks for complete informations !
Andreas ///
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com