k' took a little fiddling, but here's what i did:
1) created an /etc/hosts.equiv file to including "localhost2"
2) deleted /etc/printcap
3) reran the DrakConf or printtool.
i did #1, #3 but it still didn't work. think there was a mess of junk in
the printcap or just the fact that it was already configured in some areas
that it didn't work after a #1 and #3. so after doing #2 also, it finally
works.
somewhat of a pain to get to linux boxes to see a printer on a localdomain
eh?
cptkidd wrote:
> I have 2 linux boxes, both on a "localdomain" or local area network
> (localhost1 and localhost2). Trying to print from localhost2 to
> localhost1. localhost1 has a fully functioning printer attached!
>
> If i print from localhost2 to localhost1 using smb when localhost1 is
> running win98 o/s, i think it has periodically worked, but am not too
> worried about this since i usually spend more time in linux. (win98 is
> for games, lol)
>
> Below is what the DrakConf > printtool configured to do. My printer
> quene on localhost1 is at defaults, just clicked enter when configuring
> the names for it in DrakConf on localhost1.
>
> ##This is my localhost2 /etc/printcap file
> ##PRINTTOOL3## REMOTE ljet2p 300x300 letter {} LaserJet2p Default 1
> lp:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :sh:\
> :rm=localhost1:\
> :rp=/var/spool/lpd/lp:\
> :if=/var/spool/lpd/lp/filter:
>
> ##This is localhost1 /etc/printcap file!
> ##PRINTTOOL3## LOCAL ljet2p 300x300 letter {} LaserJet2p Default 1
> lp:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :sh:\
> :lp=/dev/lp0:\
> :if=/var/spool/lpd/lp/filter:
>
> ERROR MESSAGE WHEN using DrakConf to setup the remote printer:
>
> Test page(s) have been sent to the printer daemon.
> This may take a little time before printer start.
> Printing status:
> localhost2: waiting for queue to be enabled on localhost1
> localhost1: lpd: lp: Your host does not have line printer access
>
> In theory, this should work w/o a problem when printing from
> linux-linux.....same distro's, versions, etc. btw: the localdomain is
> set on a ethernetwork which is fully functional