Date: Sun, 09 May 2004 17:03:00 -0400 From: Don Tyson <tyson@stanfordalumni.org> To: Bjarne Wichmann Petersen <freebsd.nospam@mekanix.dk> Cc: freebsd-questions@freebsd.org Subject: Re: [samba] can't print from w2k to bsd printer Message-ID: <E1BMvRy-0001Me-00@flamingo.mail.pas.earthlink.net> In-Reply-To: Your message of "Sun, 09 May 2004 22:07:36 %2B0200." <200405092207.37061.freebsd.nospam@mekanix.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi > > I've spend several hours trying to get samba to play nice. I can get user to > login from windows to their bsd-account, mount CD's etc.. But I can't get the > users to print. I can see the printer and I can install it. But when I click > on the installed printer I get "access denied". > [snipped] > My setup is a desktop PC running FBSD and a laptop with w2k. These are > connected through a router. The printer is a laserjet and works great on the > FBSD. > I can't help you with samba, but Windows 2000 and Windows XP users are able to use the LaserJet attached to my FreeBSD machine, which runs apsfilter. I've attached a copy of my /etc/printcap file at the end of this message. The Windows users do not log in to the FreeBSD machine to use the printer. I don't have samba installed at all. The Windows hosts are listed in my FreeBSD /etc/hosts.lpd file; otherwise the FreeBSD machine won't know who they are and won't permit them to connect. Follow the Windows instructions to install "print services for unix," then install a local, not network, printer using the LPR port on the Windows machines. Share the printer so all Windows users can use it. Hope this helps. Don Tyson /etc/printcap file: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL lp|ljet4;r=600x600;q=photo;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/lp:\ :lf=/var/spool/lpd/lp/log:\ :af=/var/spool/lpd/lp/acct:\ :mx#0:\ :sh:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BMvRy-0001Me-00>