Re: Remote printing with lprng
I'm not too sure. If you print to a remote printer then the file must be sent over the
network. I'm not sure why the daemon would complain then about the file not being linked.
"Joseph A. Martin" wrote:
> I found part of the problem. I added my brothers' computer to
> /etc/hosts.lpd and it gave them access. However I have another
> problem. After they print a message is sent by the lpd on my server
> back to the user account on their machine. The message says:
> "Your printer job ((stdin)) was not printed because it was not linked
> to the original file." The job did print, but what do I need to modify
> in order to stop that error message from being mailed.
> On Wed, 02 Feb 2000, Jens B. Jorgensen wrote:
> > Symbolic links work fine across separate filesystems, NFS or otherwise. Hard links
> > cannot be made to files outside the filesystem where the file linked to resides. I
> > would guess rather that the link failure refers to an inability to connect (or a
> > connection which terminates). Look at the lpd man page to see how access is controlled
> > to the printer. Perhaps try telneting to port 515 on the machine to see if you get
> > connected.
> > "Joseph A. Martin" wrote:
> > > Hello,
> > > I have a system set up for my family that is networked with
> > > the rest of my systems. I want their machine to be able to print to my
> > > machine. I have lprng installed on their system and a printcap entry
> > > setup. This printcap entry works for network printing from my laptop
> > > also running lprng. However, when I try to print from their machine
> > > lpq shows status as "Link failure when sending j".
> > > I have a suspicion as to the cause of the error. I seem to
> > > remember that lpr will create a link from the real file to a file in
> > > the spool directory. BUT their home directory is NFS mounted from my
> > > server. IIRC links don't work across disparate file systems. How can I
> > > tell lprng to copy the file rather than create a link? Am I off
> > > balance in my analysis here?
> > >
> > > later,
> > > joseph
> > > --
> > > the "LaterDude"
> > > ICQ: 52640402
> > > email@example.com
> > > http://www.ice-works.com/personal/LaterDude/
> > >
> > > All opinions expressed are my own and not necessarily those of
> > > my employer unless otherwise noted.
> > >
> > > --
> > > Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null
> > --
> > Jens B. Jorgensen
> > email@example.com
> > --
> > Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null
> the "LaterDude"
> ICQ: 52640402
> All opinions expressed are my own and not necessarily those of
> my employer unless otherwise noted.
Jens B. Jorgensen