Hello,
If the user who prints from your linux box (RH 5.1) hasn't got an account
on the remote printer server, then there's a bug with lpd and he can't
print.
This bug has been noticed to http://developer.redhat.com .
If you want, I have corrected it (very simply but it works). Mail me, and
I'll send you the fix.
Lionel
/----------------------------\
| Lionel TRESSENS |
| [EMAIL PROTECTED] |
| Tel : (+33) 6 12 48 94 77 |
\----------------------------/
On Sat, 13 Jun 1998 [EMAIL PROTECTED] wrote:
>
> Hello, people:
>
> Can someone tell me what is wrong about my setup, that I cannot print
> from one Linux box (RH 5.1, fresh re-install) to another (RH 4.2, has
> been running 24/7 for most of the last 6 months). As background, it
> used to be that I could print to a RH 3.0.3 (yes, I was around, that
> early-- everyone else that I know was on Slackware) from a Sparc/SunOS
> box without much hassle, but since I upgraded to 4.0, I was unable to
> get any remote printing done on my printer, despite RTFM several times
> over. Now that I just reupgraded and it being summer vacation ...
>
> This is what I have in my /etc/hosts.lpd on the local machine
>
> #
> # File: hosts.lpd
> #
>
> 140.112.50.23
> 140.112.50.160
> 140.112.50.162
>
> #
> # <-- End Script -->
> #
>
> 140.112.50.23 is my newly installed RH 5.1 box.
>
> Here is my /etc/printcap on the local machine
>
> ######### /etc/printcap
> ## LABEL apsfilter
> # apsfilter setup Mon May 25 14:24:02 CST 1998
> #
> # APS_BASEDIR:/usr/src/aps-491
> #
> #
> ascii|lp1|ljet4-a4-ascii-mono|ljet4 ascii mono:\
> :lp=/dev/lp0:\
> :sd=/usr/spool/ljet4-a4-ascii-mono:\
> :lf=/usr/spool/ljet4-a4-ascii-mono/log:\
> :af=/usr/spool/ljet4-a4-ascii-mono/acct:\
> :if=/usr/src/aps-491/filter/aps-ljet4-a4-ascii-mono:\
> :mx#0:\
> :sh:
> #
> lp|lp2|ljet4-a4-auto-mono|ljet4 auto mono:\
> :lp=/dev/lp0:\
> :sd=/usr/spool/ljet4-a4-auto-mono:\
> :lf=/usr/spool/ljet4-a4-auto-mono/log:\
> :af=/usr/spool/ljet4-a4-auto-mono/acct:\
> :if=/usr/src/aps-491/filter/aps-ljet4-a4-auto-mono:\
> :mx#0:\
> :sh:
> #
> raw|lp3|ljet4-a4-raw|ljet4 auto raw:\
> :lp=/dev/lp0:\
> :sd=/usr/spool/ljet4-raw:\
> :lf=/usr/spool/ljet4-raw/log:\
> :af=/usr/spool/ljet4-raw/acct:\
> :if=/usr/src/aps-491/filter/aps-ljet4-a4-raw:\
> :mx#0:\
> :sh:
>
> The following is my /etc/printcap in 140.112.50.23, the RH 5.1 box
> that wants to do the printing. terrorist.math.ntu.edu.tw is the name
> of the local machine (140.112.50.234).
>
> #
> # 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 ljet4 600x600 a4 {} LaserJet4 Default {}
> lp:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :sh:\
> :lp=/dev/lp0:\
> :if=/var/spool/lpd/lp/filter:
> ##PRINTTOOL3## REMOTE ljet4 600x600 a4 {} LaserJet4 Default 1
> lp0:\
> :sd=/var/spool/lpd/lp0:\
> :mx#0:\
> :sh:\
> :rm=terrorist.math.ntu.edu.tw:\
> :rp=lp:\
> :if=/var/spool/lpd/lp0/filter:
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.