normal1.lists at gmail.com
Sun Jan 23 10:50:47 PST 2005
Make sure all the permissions are correct on the spool directories,
they should be 755. During this troubleshooting, I'd recommend looking
at any tcp communication while trying to print..
On Sun, 23 Jan 2005 20:33:47 +0200, Mikko Heiskanen
<mikko at whitecortex.net> wrote:
> Hi list,
> I'm having hard time getting printing working from samba winXP client to
> a printer parallelport connected to my FreeBSD-4.10-release box.
> I have a HP Laserjet 1200 -printer, and am using LPD and apsfilter with
> postscript driver as suggested by linuxprinting.org.
> Everything works real well under BSD, but I am unable to get any output
> to printer from the Windows box.
> I have gathered different bits and pieces from around the net and
> manuals, and have come up with the following:
> raw|hp|HP LaserJet 1200:\
> $ ls -ld /var/spool/lpd/lp
> drwxr-xr-x 2 root daemon 512 Jan 23 19:59 /var/spool/lpd/lp
> $ ls -ld /var/spool/raw/
> drwxr-xr-x 2 root wheel 512 Jan 23 19:57 /var/spool/raw/
> hosts allow 10.0.0.
> security = user
> encrypt passwords = yes
> socket options = TCP_NODELAY
> client code page=850
> wins support = yes
> printing = bsd
> printcap name = /etc/printcap
> comment = Laserjet 1200
> path = /var/spool/samba
> printer name = raw
> public = yes
> writeable = no
> printable = yes
> $ ls -ld /var/spool/samba/
> drwxrwxrwt 2 root wheel 512 Jan 23 20:03 /var/spool/samba/
> In the Windows box, I've added a local printer with the "Add new printer
> wizard" pointing it to lpt1-port. After that, I have opened a command
> prompt, and typed "net use lpt1: \\10.0.0.1\lp".
> I have filesharing also in samba, and that works without problems.
> My windows username and password are same as samba username and
> However, as said, nothing gets printed. No files are in the
> spooldirectories. I do not know how to proceed, and would love some
> guidance. Thanks,
> ps. would hate to have to put it into windows box, as printer supports
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions