Sadly, my kids run Windows on a computer for a couple of games that they 
play.  It also happens to work out for me since I tend to use it to test 
printing interoperability.  At any rate, They have an old Epson Color 
Stylus 777
printer connected to it and I can print to it from Solaris without any 
problems.  I had to do the following:
    1) make sure it's shared from windows
    2) make sure that the /etc/sfw/smb.conf file had the appropriate 
workgroup setting
    3) add a "new network printer" printer using the printmgr.
            Select the "uri" protocol
            use "smb://server/printer" or something similar for the 
"destination" (see man -M/usr/sfw/man smbspool)

Once I completed that, I was able to print.

       -Norm

I recommend using the printmgr, but the equivalent lpadmin commands is 
roughly

# lpadmin -p epson -v smb://192.168.0.145/epson -m uri  -Ipostscript \
     -n 
/usr/lib/lp/model/ppd/system/foomatic/Epson/Epson-Stylus_Color_777-Stc777p.upp.ppd.gz
 
...

 + accept, enable, lpfilter invocations.


% uname -a
SunOS snappy 5.11 snv_40 i86pc i386 i86pc
% lpstat -p epson -v epson -l
printer epson is idle. enabled since Tue May 30 12:53:53 2006. available.
        Form mounted:
        Content types: postscript
        Printer types: unknown
        Description: Kids printer
        Connection: direct
        Interface: /usr/lib/lp/model/uri
        PPD: 
/usr/lib/lp/model/ppd/system/foomatic/Epson/Epson-Stylus_Color_777-Stc777p.upp.ppd.gz
        After fault: continue
        Users allowed:
                (all)
        Forms allowed:
                (none)
        Banner page never printed
        Character sets:
                (none)
        Default pitch:
        Default page size:
        Default port settings:

device for epson: smb://192.168.0.145/epson



Stefan Parvu wrote:
> Im trying to print to a Windows share printer from my Solaris 10.
> Something like:
>
> \\server\printerA
> which translates into SMB as smb://server/printerA
>
> I have read the FAQ as described: 
> http://www.opensolaris.org/os/community/printing/faq/sol2win.htm
>
> If I understood right to print to a Window printer I would need:
>
> 1. Samba running (start svcadm enable samba and make /etc/sfw/smb.conf ok)
> 2. Configure the printer via printmgr right ?
>
> Do I need to do anything else in Samba to configure the printer or simple add 
> a printer using printmgr ?
>
> Many thanks,
> Stefan
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> printing-discuss mailing list
> printing-discuss at opensolaris.org
>   


Reply via email to