Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2000 12:53:50 -0500
From:      Peter Schwenk <schwenk@math.udel.edu>
To:        dave <dmehler22@earthlink.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: error printing to remote printer.
Message-ID:  <38CE7CAE.DEF47FBD@math.udel.edu>
References:  <000d01bf8ddc$3430d400$0400a8c0@davemehler.tzo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I didn't see your earlier thread, so here goes...

If the printer is a stand-alone network printer, then you don't need samba at
all.  You just need an entry similar to the following in your printcap file:

lp:\
        :sh:\
        :rm=<IP address of printer>\
        :rp=raw:\
        :sd=/var/spool/output/lp:\
        :lf=/var/log/lpd-errs:

'rm' means remote machine
'rp' means remote print queue name

The JetDirect print servers do the LPD protocol.  JetDirect print servers have
a queue named 'raw'.  And you need the IP protocol enabled on it.

If the HP printer is plugged into a Windows machine, then you need samba, and
you need to provide more information about how the Windows box is setup.

dave wrote:

> Hello,
>     I posted a few days ago about wanting to print to my remote hp printer.
> Well, I'm using samba, smbprint, and an entry in /etc/printcap to do the
> job, see section 7.2 of the online book: using samba, for what I did. The
> problem is, I can cue the job, but the printer refuses the connection, it
> does not have a password on it. Any ideas?
> Thanks.
> Dave.

--
PETER SCHWENK                        | Campus IT Associate 3
Department of Mathematical Sciences  | University of Delaware
schwenk@math.udel.edu                | (302)831-0437





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38CE7CAE.DEF47FBD>