Howdy!
I can't print. It seems that I can detect the printer just fine, but I
haven't been able to cat file.txt > /dev/lp0 with any success.
#uname -a
Linux eeyore 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown
#cat /etc/conf.modules
alias scsi_hostadapter BusLogic
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
alias dummy dummy
alias sound opl3sa
pre-install sound insmod sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options opl3sa io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 mpu_irq=9
(have also tried including this line in conf.modules ...
post-install parport /sbin/modprobe parport_pc )
#rpm -q lpr
lpr-0.48-1
--- latest version of lpr
#cat /etc/printcap
#
# Please don't edit this file directly unless you know what you are
doing!
# Be warned that the control-panel printtool requires a very strict
format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.
##PRINTTOOL3## LOCAL uniprint NAxNA letter {} U_EpsonStylusColor
stc740pl {}
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp/filter:
-----------------------------------
-- created by printtool. plan to use 740.upp files for
ghostscript.
#more /proc/parport/0/autoprobe
.
CLASS:PRINTER;
MODEL:Stylus COLOR 740;
MANUFACTURER:EPSON;
DESCRIPTION:EPSON Stylus COLOR 740;
COMMAND SET:ESCPL2,BDC,D4;
-- the printer is detected just fine!
#more /proc/parport/0/devices
lp
#more/proc/parport/0/irq
7
#ls -al /dev/par*
.
crw-r----- 1 root daemon 6, 0 May 5 1998 par0
crw-r----- 1 root daemon 6, 1 May 5 1998 par1
crw-r----- 1 root daemon 6, 2 May 5 1998 par2
crw-rw---- 1 root daemon 99, 0 Feb 27 15:43 parport0
crw-rw---- 1 root daemon 99, 1 Feb 27 15:43 parport1
crw-rw---- 1 root daemon 99, 2 Feb 27 15:43 parport2
crw-rw---- 1 root daemon 6, 0 May 5 1998 lp0
crw-rw---- 1 root daemon 6, 1 May 5 1998 lp1
crw-rw---- 1 root daemon 6, 2 May 5 1998 lp2
---- is 99 correct?
#tail /var/log/messages
Mar 1 22:31:26 eeyore gnome-name-server[598]: starting
Mar 1 22:31:26 eeyore gnome-name-server[598]: name server starting
Mar 1 22:31:26 eeyore gnome-name-server[606]: starting
Mar 1 22:31:26 eeyore gnome-name-server[606]: name server was running
on display, exiting
Mar 1 22:55:57 eeyore kernel: parport0: PC-style at 0x378, irq 7 [SPP]
Mar 1 22:55:57 eeyore kernel: parport0: Printer, EPSON Stylus COLOR 740
Mar 1 22:55:57 eeyore kernel: lp0: using parport0 (interrupt-driven).
Mar 1 22:57:37 eeyore lpd: lpd shutdown succeeded
Mar 1 22:57:37 eeyore lpd: lpd startup succeeded
Mar 1 23:05:03 eeyore modprobe: can't locate module char-major-99
- the last line is a result of doing a #cat
/dev/parport0
For printing, I'm trying to simply #cat filename.txt > /dev/lp0
or lpr filename.txt
I get no text, nothing. The printer LED does not even blink once.
Any suggestions?
Best regards,
Guy
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Fri Mar 03 2000 - 00:38:18 EST