Printing to a Windows

Pietro Cerutti pietro.cerutti at gmail.com
Tue Mar 1 21:47:40 GMT 2005


Yes, I think the problem is in CUPS.
The Unix Printing System service on w2k3 is enabled, and the
/etc/printcap is ok (i followed the instructions on the books).

I created a "test" plain text file

> lp test
>
> lpq
Warning: no daemon present
Rank   Owner      Job  Files                                 Total Size
3rd    <user>      9    test                                  5 bytes
>

but the print server doesn't receive any input.

This is my /etc/printcap configuration:
> cat /etc/printcap
lp|HPLaserJ:rm=<host-name>:rp=HPLaserJ:
>

where <host-name> is replaced with the effective name, which is mapped
into /etc/hosts



On Tue, 1 Mar 2005 15:37:21 -0600, Hauan David A
<david.hauan at fairchild.af.mil> wrote:
> > -----Original Message-----
> > From: Pietro Cerutti [mailto:pietro.cerutti at gmail.com]
> > Sent: Tuesday, March 01, 2005 1:29 PM
> > To: FreeBSD
> > Subject: Printing to a Windows
> >
> >
> > Hi folks,
> > I would like to print from my FreeBSD box to a Windows
> > printer on a Win2003 server on my LAN. I read the handbook,
> > the CUPS documentation and the chapter on the Absolute BSD
> > book, but I can't get things working.
> >
> > My problem is that I really can't understand the basis, how
> > things are connected between cups, samba and the Kde printing system.
> >
> > Can anyone explain me how does the thing have to be done?
> >
> > some info:
> > > uname -spr
> > FreeBSD 5.3-RELEASE i386
> >
> > > pkg_info | grep cups | cut -d " " -f 1
> > cups-base-1.1.23.0_3
> > cups-lpr-1.1.23.0
> > cups-pstoraster-7.07_3
> >
> > > pkg_info | grep samba | cut -d " " -f 1
> > samba-3.0.11,1
> > samba-libsmbclient-3.0.11_1
> >
> > Thank you for helping, best regards
> 
> If your dead set on CUPS I can't help.
> 
> Otherwise,
> Enable print services for unix on the w2k3 box
> and create a printcap entry for the IP of the
> w2k3 box just as you would any normal tcp/ip
> printer.
> 
> dave
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


-- 
Pietro "Piter" Cerutti
<pietro.cerutti at gmail.com>
<piter at beansidhe.ch>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"


More information about the freebsd-questions mailing list