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

exim and printer second try



On Tue, Feb 26, 2002 at 02:33:47PM -0800, paul wrote:
 I have debian potato 2.2. The printer will not work. 
 at the command line it will print with cat filename >
 /dev/lp0. No cr, no lf. windows text file will print
 ok.
 The culprit seems to be exim which was sending all
 print jobs to my isp, ie, lp@isp.net and of course
 coming back as an error. exim was commented out and
 now there is a hidden file screaming for exim. If
this
 ever gets solved, I, as an ordinary user will have a
 working system.
I was asked for details and I hope this answers
questions
Printer is hplaserjet4plus

Old and new printcap as one file
#PRINTCAP
# Copyright (c) 1983 Regents of the University of
California.
# All rights reserved.
#
# Redistribution and use in source and binary forms
are permitted
# provided that this notice is preserved and that due
credit is given
# to the University of California at Berkeley. The
name of the 
University
# may not be used to endorse or promote products
derived from this
# software without specific prior written permission.
This software
# is provided ``as is'' without express or implied
warranty.
#
#	@(#)etc.printcap	5.2 (Berkeley) 5/5/88
#
# This file was generated by
/usr/sbin/magicfilterconfig.
#
#lp|hplj4l|hplaserjet4plus:
lp|hp4:\
	:lp=/dev/lp0:\
	:sd=/var/spool/lpd/lp:\
	:if=/etc/magicfilter/hp4000t-filter:\
	:af=/var/log/lp-acct:\
	:lf=/var/log/lp-errs:\
	:sh:\
	:mx#0:

#lp:\
#	:lp=/dev/lp0:\
#	:sd=/var/spool/lpd/hplj4l:\
#	:if=/etc/magicfilter/hjet4-filter:\
#	:af=/var/log/lp-acct:\
#	:lf=/var/log/lp-errs:\
#	:sh:\
#	:mx#0:
Commands:
cat filename > /dev/lp0 
works but no cr or lf
lp filename 
command not found
lpr filename lpr not found
lp -Plp (found in netscape only)
sh  lp not found
files commented:
/etc/exim.conf
/etc/mailname
when take out mail no long is sent to lp@isp.net
log file now says can't open exim.
I don't know how to sue vi to get the last 10 lines 
exim is in /usr/sbin/exim (machine language)
I can't find a reference to exim in /var/spool/lpd
I don't think dselect is working at full blast but
here is waht I got
dselect lp   unknown action string
dselect lpr  unknown action string
dselect lprng unknown action string

I am willing to hire a paid expert but no one wants to
touch the printer problem.






__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com



Reply to: