Printing to Windows Printer from Solaris

Robert asked me how hard it is to print to Windows from Solaris today. It couldn't be that hard from what I have been told, it is just that I have never done it. So reading up the FAQ from the OpenSolaris Printing page , I figured out I have to do the following things:

o Create a print queue on the Windows box connecting the printer to the network. I have a HP 2600N which I have already created queue connected through the USB. So I share it and use the Add Printer wizard and let it auto discovered on Windows side. From which I got the Server and Printer names (FERRARI/HPColorL, surprise, surprise).

o On the Solaris box (Nevada 76), I copied over the file /etc/sfw/smb.conf-example to /etc/sfw/smb.conf and replace the workground = WORKGROUP (as it is on Windows).

o svcadm enable samba

o lpadmin -v winprinter -v smb://FERRARI/HPColorL -m uri -n /usr/share/ppd/SFEfoo2zjs/foo2zjs/HP-Color_LaserJet_2600n.ppd.gz

o lp -p winprinter

That's it.

NOTE: I have though created the package SFEfoo2zjs so that it can print.
This reminds me that I probably upload the proper patch to what was given to me by Paul Cunningham to sourceforce.

Comments:

Almost seems like too many steps though. Really (so long as the printer is on the network) it should be as simple as selecting the appropriate printer from a list, and printing to it. Having a whole bunch of configuration to back up a 'just works out of the box experience' is something that we really need to get to, fast.

Posted by Glynn Foster on November 13, 2007 at 06:44 PM GMT+00:00 #

It is not doubt too many manual steps. Without proper CIFS support for printing on Solaris, we can't use a browse mode to seek for printer on Windows. I have not come across project that tackle this problem either, Unix/Linux print to Windows printers. Not a popular project because Open Source guys like to avoid Windows until Microsoft is more open towards Open Source.

However, all but not lost. Norm Jacob has integrated network printer discovery based on snmp into nevada 77. We are working on the desktop side as to how best to expose it to the users.

Posted by Ghee on November 14, 2007 at 02:26 AM GMT+00:00 #

Hi There ,
Greetings from KL bro. Meant to thank you for your hospitality during our short trip to Dublin.
HHope to see you all soon here or in Europe.

Cheers

Posted by Dr. John Fan on December 04, 2007 at 04:29 AM GMT+00:00 #

Post a Comment:
Comments are closed for this entry.
About

I work in the Desktop Group Site Meter

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today