[SLE] Printing - plip & the kernel
How should I configure the 2.2.10 kernel for plip printing? I get the following when I run lpc: LPC (nariana): status lp: queuing is enabled printing is enabled 2 entries in spool area no daemon present *************************** The "no daemon present" line seems to be the problem. When I ps jax | grep lpd I get: bash-2.03# ps jax | grep lpd 1 150 150 150 ? -1 S 0 0:00 lpd: accepting connections This is my dmesg dump: bash-2.03# dmesg Linux version 2.2.10 (root@nariana) (gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)) #12 Mon Dec 13 00:23:16 EST 1999 Detected 400912958 Hz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 399.77 BogoMIPS Memory: 128152k/131008k available (892k kernel code, 408k reserved (endbase 0x9f000), 1516k data, 40k init) CPU: Intel Pentium II (Deschutes) stepping 01 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.35 (19990512) Richard Gooch (rgooch@atnf.csiro.au) PCI: PCI BIOS revision 2.10 entry at 0xf0750 PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP Initializing RT netlink socket Starting kswapd v 1.5 Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 20480K size PIIX4: IDE controller on PCI bus 00 dev 21 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:DMA ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:pio hdb: WPI CDS-32X, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Uniform CDROM driver Revision: 2.55 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 [ ... snip the scsi stuff ...] Freeing unused kernel memory: 40k freed Adding Swap: 136544k swap-space (priority -1) Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A 3c59x.c:v0.99L 5/28/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html eth0: 3Com 3c905B Cyclone 100baseTx at 0xb800, 00:10:4b:37:61:ab, IRQ 11 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface. MII transceiver found at address 24, status 786d. MII transceiver found at address 0, status 786d. Enabling bus-master transmits and whole-frame receives. eth0: Overriding PCI latency timer (CFLT) setting of 0, new value is 32. parport0: PC-style at 0x378 [SPP,PS2] parport0: no IEEE-1284 device present. lp0: using parport0 (polling). bash-2.03# *********************** What am I doing wrong? I have spent far more time trying to figure out printing under linux than I have printing under Linux. I really wish the printer section of the SuSE book were more comprehensive. TIA Steve -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Steven T. Hatton" wrote:
How should I configure the 2.2.10 kernel for plip printing? I get the following when I run lpc:
LPC (nariana): status lp: queuing is enabled printing is enabled 2 entries in spool area no daemon present ***************************
The "no daemon present" line seems to be the problem. When I ps jax | grep lpd I get:
bash-2.03# ps jax | grep lpd 1 150 150 150 ? -1 S 0 0:00 lpd: accepting connections
first try should be "lpc up all" and / or "lpc enable all". (If it helps, the lpc manpage might tell you why...) Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Steven T. Hatton" wrote:
How should I configure the 2.2.10 kernel for plip printing? I get the following when I run lpc:
LPC (nariana): status lp: queuing is enabled printing is enabled 2 entries in spool area no daemon present ***************************
The "no daemon present" line seems to be the problem. When I ps jax | grep lpd I get:
bash-2.03# ps jax | grep lpd 1 150 150 150 ? -1 S 0 0:00 lpd: accepting connections
[...]
What am I doing wrong? I have spent far more time trying to figure out printing under linux than I have printing under Linux. I really wish the printer section of the SuSE book were more comprehensive.
If there is anything that plagues a sysadmin's life it is printing and printing usually means getting to know your user's better than you really wanted to. When lpd starts you get a master that accepts connections and spools jobs, that's the one you see. When a queue has jobs you should get an additional daemon for that queue and that's the one that lpc reports. Sometimes they die, you can start the daemon with lpc restart. If it continues to die then first check you log files, you may find something interesting but if you don't then you can start lpd with -D and/or -F to see more about what is going wrong. I haven't used plip but my understanding was that it is incompatible with printing, i.e. you can have one or the other but not both at the same time, could tht be your problem? /Michael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
hattons@cpkwebser5.ncr.disa.mil
-
juergen.braukmann@ruhr-west.de
-
Michael.Salmon@uab.ericsson.se