* Re: Printer problem
@ 1997-07-08 18:18 Andrea Dell'Amico
0 siblings, 0 replies; 5+ messages in thread
From: Andrea Dell'Amico @ 1997-07-08 18:18 UTC (permalink / raw)
"Michael J. Donahue" <donahue@ulexite.nist.gov> wrote on Mon, 7 Jul 1997:
>
> This looks like the problem David Mosberger-Tang put up a patch for
> back in March. I've included it below. One note: Make *REAL* sure
> you set '-Dgetline=get_line' as specified, or else this patch doesn't
> work!!!
Thank you, the patch was integrated in the SRPM, but the compilation
options were commented out. I rebuilt the rpm with the "right" options and
now I'm happy remotely printing.
>
> -mike
>
Cheers,
andrea
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Printer problem
@ 1997-07-07 21:08 Michael J. Donahue
0 siblings, 0 replies; 5+ messages in thread
From: Michael J. Donahue @ 1997-07-07 21:08 UTC (permalink / raw)
"Andrea Dell'Amico" <adellam@ZIA.ms.it> writes
>I have another problem instead: I cannot remotely print on a printer
>attached to the parallel port of an UDB. These are the error messages:
>
>Jul 7 21:36:22 ceva kernel: lpd: memory violation at pc=12000c698
>rp=1555570a0b4 (bad address = 00000000)
>Jul 7 21:37:23 ceva kernel: lpd: memory violation at pc=12000c698
>rp=1555570a0b4 (bad address = 00000000)
>
>This with a stock 2.0.30 rpm kernel source. I recompiled the kernel adding
>printer and zip support. I'm able to print from the local machine without
>problems.
This looks like the problem David Mosberger-Tang put up a patch for
back in March. I've included it below. One note: Make *REAL* sure
you set '-Dgetline=get_line' as specified, or else this patch doesn't
work!!!
-mike
########################################################################
David Mosberger-Tang (davidm@azstarnet.com)
Wed, 5 Mar 1997 09:39:40 -0700
Here is a micro-patch for the lpd SRPM in the updates directory at Red
Hat (lpr-0.14-2.src.rpm). In addition to applying this patch, you
should make sure to compile with -Dgetline=get_line (e.g., make
RPM_OPT_FLAGS="-O2 -Dgetline=get_line). After applying this patch,
accessing lpd from remote systems should work properly.
--david
--- lpr/lpd/lpd.c Wed Sep 4 13:31:49 1996
+++ lpr-good/lpd/lpd.c Tue Mar 4 19:48:58 1997
@@ -450,8 +450,8 @@
hostf = fopen(_PATH_HOSTSEQUIV, "r");
again:
if (hostf) {
-#ifdef __alpha__
- if (!__ivaliduser(hostf, fromb, DUMMY, DUMMY, baselen)) {
+#if __GNU_LIBRARY__ - 0 >= 6
+ if (!__ivaliduser(hostf, f->sin_addr.s_addr, DUMMY, DUMMY)) {
(void) fclose(hostf);
return;
}
########################################################################
--
Michael J. Donahue
National Institute of Standards and Technology
Mathematical & Computational Sciences Division
Bldg 820, Rm 365
Gaithersburg, MD 20899
email: michael.donahue@nist.gov
voice: (301) 975-5424
fax: (301) 990-4127
web: http://math.nist.gov/mcsd/Staff/MDonahue/
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Printer problem
@ 1997-07-07 20:20 Andrea Dell'Amico
0 siblings, 0 replies; 5+ messages in thread
From: Andrea Dell'Amico @ 1997-07-07 20:20 UTC (permalink / raw)
"Jose A. Martinez" <jamartin@dali.ualm.es> wrote on Mon, 7 Jul 1997:
> Hello,
>
> The hardware is: AlphaStation 400 (Avanti) and RedHat 4.2.
> We have a problem with the printing commands. For example:
>
> [vruiz@alpha vruiz]$ lpq
> bash: /usr/bin/lpq: No such file or directory
> [vruiz@alpha vruiz]$ lpr
> bash: /usr/bin/lpr: No such file or directory
> [vruiz@alpha vruiz]$ lprm
> bash: /usr/bin/lprm: No such file or directory
>
> We think that the entere RedHat distribution is installed. Where is the
> problem ?
>
Did you install all the updates? There's a lpr replacement, I think the
original package whas the i386 binary one.
I have another problem instead: I cannot remotely print on a printer
attached to the parallel port of an UDB. These are the error messages:
Jul 7 21:36:22 ceva kernel: lpd: memory violation at pc=12000c698
rp=1555570a0b4 (bad address = 00000000)
Jul 7 21:37:23 ceva kernel: lpd: memory violation at pc=12000c698
rp=1555570a0b4 (bad address = 00000000)
This with a stock 2.0.30 rpm kernel source. I recompiled the kernel adding
printer and zip support. I'm able to print from the local machine without
problems.
> Thanks in advance.
>
> Jose A. Martinez Garcia
Cheers,
andrea
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Printer problem
@ 1997-07-07 16:58 Jose A. Martinez
0 siblings, 0 replies; 5+ messages in thread
From: Jose A. Martinez @ 1997-07-07 16:58 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]
Hello,
The hardware is: AlphaStation 400 (Avanti) and RedHat 4.2.
We have a problem with the printing commands. For example:
[vruiz@alpha vruiz]$ lpq
bash: /usr/bin/lpq: No such file or directory
[vruiz@alpha vruiz]$ lpr
bash: /usr/bin/lpr: No such file or directory
[vruiz@alpha vruiz]$ lprm
bash: /usr/bin/lprm: No such file or directory
We think that the entere RedHat distribution is installed. Where is the
problem ?
Thanks in advance.
_______________________________________________________________________
Jose A. Martinez Garcia
Dpto. Arq. de Computadores y Electronica
Universidad de Almeria Tel: +34 (9)50 215074
La Cañada de S. Urbano Fax: +34 (9)50 215486
04120 ALMERIA E-mail: jamartin@dali.ualm.es
ESPAÑA URL: http://dali.ualm.es/
-----------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* printer problem
@ 1996-11-22 20:26 David Bernstein
0 siblings, 0 replies; 5+ messages in thread
From: David Bernstein @ 1996-11-22 20:26 UTC (permalink / raw)
Hi All,
I installed Redhat 4.0 about four weeks ago on my 200 4/233 (the install
was much easier than the 2.1 release, my thanks to all involved), but have
yet to get my HP laserjet functioning. I'm using the printer setup tool in
the control panel and think all the settings are correct (Postscript,
/dev/lp0, etc.), lpd
is running but all I get is "waiting for printer to become ready (offline?)."
If I do "cat file > /dev/lp0" the printer winks at me a couple of times but
nothing comes out. The printer is actually connected correctly since it
works under winnt.
Any ideas?
Thanks,
David
P.S. I've tried repeatedly to get support@redhat.com to respond to this
question with absolutely no luck. I'm pretty happy with the Redhat
products I've purchased but have to admit this part has been frustrating.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-07-08 18:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-08 18:18 Printer problem Andrea Dell'Amico
-- strict thread matches above, loose matches on Subject: below --
1997-07-07 21:08 Michael J. Donahue
1997-07-07 20:20 Andrea Dell'Amico
1997-07-07 16:58 Jose A. Martinez
1996-11-22 20:26 printer problem David Bernstein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox