On Tue, 2003-02-18 at 13:46, Mariano Wahlmann wrote: > i think you should try to remove (in /etc/printcap) the last line > :if=/usr/share/printconf/util/mf_wrapper: > and > :lpd_bounce=true:\ should look :lpd_bounce=true: (whitout the last \). > > then restart lpd (/etc/rc.d/init.d/lpd restart), and try to print > again. ---8<--- hplj4:\ :ml#0:\ :mx#0:\ :sd=/var/spool/lpd/hplj4:\ :af=/var/spool/lpd/hplj4/hplj4.acct:\ :sh:\ :lp=/dev/lp0:\ :lpd_bounce=true: # :if=/usr/share/printconf/util/mf_wrapper: ---8<--- # /etc/rc.d/init.d/lpd restart Stopping lpd: [ OK ] Starting lpd: [ OK ] # ps -elf | grep lpd 040 S lp 20498 1 0 75 0 - 1248 schedu 14:00 ? 00:00:00 lpd Waiting 100 S root 20554 19471 0 76 0 - 912 pipe_w 14:03 pts/0 00:00:00 grep lpd $lp testpage.asc request id is tom@olympus+558 $ lpq Printer: hplj4@olympus Queue: no printable jobs in queue Server: no server active Status: job 'tom@olympus+558' saved at 14:06:43.123 Rank Owner/ID Class Job Files Size Time done tom@olympus+558 A 558 testpage.asc 193 14:06:43 It's not printing... BTW this message is still in the lp.0 file: Status: IF filter 'mf_wrapper' filter msg - 'error closing *main::STDOUT at /usr/sbin/lpdomatic line 812, <KID4_IN> line 305.' at 13:55:13.449 Oh yes, I CAN cat /etc/group > /dev/lp0 and get the printer to print stair-stepping ASCII... T. > Send me the results of this test. > I had tried that, thanks. I tried again just to be sure and it's still > not working. I submitted a test job from redhat-config-printer and saw > this: > > # lpq > Printer: hplj4@olympus > Queue: no printable jobs in queue > Server: no server active > Status: job 'root@olympus+25' saved at 13:02:58.969 > Rank Owner/ID Class Job Files Size > Time > done root@olympus+25 A 25 /usr/share/printconf 18255 > 13:02:56 > > Nothing printing...just sits there...It says it's "done" though... > > Hmmm...I just looked in /var/spool/lpd/hplj4 and found the lpq.0 file: > there is an error message in there: > > ---8<--- > Status: IF filter 'mf_wrapper' filter msg - 'error closing *main::STDOUT > at /usr/sbin/lpdomatic line 812, <KID4_IN> line 672.' at 13:02:58.929 > ---8<--- > > Is this something to do with it not printing? I can send the rest of the > file if needs be. (Sorry, I'm not very good at printing). > > > > if this not solve your problems, reply with the contents of > > /etc/printcap. > > > Here's my printcap. It's autogenerated by redhat-config-printer: > > hplj4:\ > :ml#0:\ > :mx#0:\ > :sd=/var/spool/lpd/hplj4:\ > :af=/var/spool/lpd/hplj4/hplj4.acct:\ > :sh:\ > :lp=/dev/lp0:\ > :lpd_bounce=true:\ > :if=/usr/share/printconf/util/mf_wrapper: > > > # service lpd status > lpd (pid 17787) is running... > # ps -elf | grep lpd > 040 S lp 17787 1 0 75 0 - 1250 schedu 00:35 ? > 00:00:00 lpd Waiting > 100 S root 20057 19471 0 76 0 - 912 pipe_w 13:04 pts/0 > 00:00:00 grep lpd > > What does 'lpd Waiting' mean (above)? Is that normal? > > # lsmod > ---8<-- > parport_pc 19108 1 (autoclean) > lp 8996 0 (autoclean) > parport 37152 1 (autoclean) [parport_pc lp] > ---8<--- > > thanks for you help BTW. > > T. > > > Good Luck. > > When I start redhat-config-printer I get the following errors > on the > > console: > > ---8<--- > > (redhat-config-printer-gui:17616): GLib-GObject-WARNING **: > invalid cast > > from (NULL) pointer to `GObject' > > > > (redhat-config-printer-gui:17616): GLib-GObject-CRITICAL **: > file > > gobject.c: line 972 (g_object_get): assertion `G_IS_OBJECT > (object)' > > failed > > > > (redhat-config-printer-gui:17616): GLib-GObject-WARNING **: > invalid cast > > from (NULL) pointer to `GObject' > > > > (redhat-config-printer-gui:17616): GLib-GObject-CRITICAL **: > file > > gobject.c: line 972 (g_object_get): assertion `G_IS_OBJECT > (object)' > > failed > > ---8<--- > > > > Although I get the errors above the utility seems to work OK > and it > > configures a /etc/printcap. > > > > I must have a hole in my head because I can't work this > out...Any help > > is appreciated. > > > > Regards, > > > > Tom > > > > On Mon, 2003-02-17 at 16:35, Thomas Robinson wrote: > > > > > Hi, > > > > > > I've upgraded to Red Hat 8.0 and now I can't configure a > working > > > printer. Previously I had both a local and a samba printer > working > > > perfectly. Now when I use redhat-config-printer, the > configured printer > > > will print neither an ASCII nor a postscript test page. I > can't print > > > from the command-line either. Here are some of the packages > I have > > > installed on my system: > > > > > > ghostscript-7.05-20 > > > ghostscript-fonts-5.50-7 > > > redhat-config-printer-0.4.24-1 > > > foomatic-1.9-1.20020617.6 > > > Omni-foomatic-0.7.0-6 > > > Omni-0.7.0-6 > > > > > > The local printer is a HP Laserjet 4. I have used the > 'ljet4' driver > > > from the database. The samba printer is a HP 2000C. > > > > > > The 'gs -h' command shows the 'ljet4' driver but not the > 2000C. > > > > > > Am I missing some packages or have I got something else > wrong? I'm > > > really stuck here. Can someone tell me what other > information you need > > > to know and I will send it. Can someone please help? > > > > > > Thanks and regards, > > > > > > Tom > > > > > > -- > > > > > > Every time I think I know where it's at, they move it. > > > > > > -- > > > > -- > > Is this really happening? > > > > > > > > -- > > Psyche-list mailing list > > Psyche-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/psyche-list > > Mariano Agustín Wahlmann > > Administrador Red Ifeva > > T.E.: 4524-8070 (int. 8108) > > Av. San Martín 4453 > > -- > > You know you've been sitting in front of your Lisp machine too long when > you go out to the junk food machine and start wondering how to make it > give you the CADR of Item H so you can get that yummie chocolate cupcake > that's stuck behind the disgusting vanilla one. > > > > > > > -- > Psyche-list mailing list > Psyche-list@redhat.com > https://listman.redhat.com/mailman/listinfo/psyche-list > Mariano Agustín Wahlmann > Administrador Red Ifeva > T.E.: 4524-8070 (int. 8108) > Av. San Martín 4453 __--__-- The thing that really pisses me off about ReiserFS from time to time is not the "FS" part... - Henning Schmiedehausen on linux-kernel -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list