OpenSolaris Print Manager

Japanese version of this blog
This is something I should have blogged about earlier, it is always very hard for me to do something that I have stopped doing for a little while and under time constraints. Better late than never...

The Phase II of the Presto project as detailed in section 4 of the paper had finally integrated into Solaris Nevada build 97 in mid August. A HUGE THANKS to Norm , Wendy, Calum for sticking in through phase I and II of the project. Though the greatest honors should be bestowed on Evan and Halton who resolved more than 90 bugs between them over the last few weeks before integration! Of course, they would be so great without all the bugs logged by Conny Cheng :).

So what are the features in this release:
o A shinning brand new Print Manager which supports Auto Detection of local USB printer. See this,
opensolaris-pm-all-printers
o It also auto-discover network printers when this service, svc:/network/device-discovery/printers:snmp is turned on
o Added queues are automatically reflected in the Print Manager Queue window.
o The Print Manager also provides a Printer Group view and a job view.
o The print system supported is LP, no CUPS yet (just to disappoint a few, sorry)

Details of the Printer Group is described in the paper above and also in my previous blog

Thanks to Juanita and Calum, we also integrated the Online Help into Nevada 99. Thanks go to Matt for dealing with the yelp required format. This has been truly a team worked project! It has been GREAT experience when there were times when I thought I would never see the end it :)

Update: Added the screen shot owned to Alberto (a.k.a ARC).

Comments:

Did you guys spend anytime looking at system-config-printer from Fedora which is being used by Ubuntu, Mandriva and others? It totally rocks.

Posted by neo on October 07, 2008 at 10:42 PM GMT+00:00 #

Hi neo,
Yes. I have indeed. In fact if you read my previous blog. I was mentoring a GSOC student on system-config-printer which is something we are looking into as the CUPS print system solution. We did this Print manger for Solaris LP :) using PAPI.

-Ghee

Posted by guest on October 08, 2008 at 07:19 AM GMT+00:00 #

Any plan to have Presto into Indiana?

Posted by Luca Morettoni on October 08, 2008 at 08:58 AM GMT+00:00 #

Hi Luca,

Yeah! Indeed. Presto Phase I which support local USB autodetection is in OpenSolaris (a.k.a. Indiana) 2008.05. This current integration will also support discovery of network printers via snmp will be part of the 2008.11 release :).

Currently the snmp on OpenSolaris may be hitting this bug, http://defect.opensolaris.org/bz/show_bug.cgi?id=2656

and the fix is on the way!

-Ghee

Posted by Ghee Teo on October 08, 2008 at 09:09 AM GMT+00:00 #

Please fix me if I am wrong, is there chance the program to be ported to GTK2?

Posted by Jones Lee on October 08, 2008 at 04:05 PM GMT+00:00 #

Few month ago I try a Presto (presto is an Italian word for early) installation but I have some difficult with SMB network printer and with NWAN service (I think presto service depend on physiscal service). I'll wait new version of Presto, because with CUPS I can't print under java applications...

Posted by Luca Morettoni on October 08, 2008 at 11:58 PM GMT+00:00 #

Jones, your wish is my command :). The OpenSolaris Print Manager 8is\* a GTK2 program!

Luca,
Presto does not yet address SMB network printer. Full project info is here, http://www.opensolaris.org/os/project/presto . This is something we really want to tackle soon!
Meanwhile, have you try to access SMB printers manually?
I tried out once as here, http://blogs.sun.com/gheet/entry/printing_to_windows_printer_from
Not pretty :(

-Ghee

Posted by Ghee on October 09, 2008 at 03:39 AM GMT+00:00 #

@Ghee: omg, it looks really nice, i gotta try it out 2nite :D

Posted by Jones Lee on October 09, 2008 at 07:23 PM GMT+00:00 #

I don't seem to be able to get the auto-discover to work, I enabled the service, via command-line like above but nothing happened. When in the preferences dialog for the Print Manager under Network Printers, Auto-detect is enabled, but it shows a warning "No detection services currently enabled, click Configure". SNMP is available as an option, but I when I check it, close the Advanced Settings dialog, the change is not applied. The warning does not go away, SNMP is not checked, and it doesn't work. The printer, a HP Officejet Pro L7500, does SNMP and is currently in use (via CUPS on other systems).

Any help would be great.

(BTW any chance of getting faxing to work?)

Posted by Zak on October 10, 2008 at 09:00 AM GMT+00:00 #

Previously posted bug:

http://defect.opensolaris.org/bz/show_bug.cgi?id=2656

resolved that problem. At first it didn't seem relevant, but turns out I should have read closer. However, it hasn't yet detected my printer.

Posted by Zak on October 10, 2008 at 09:15 AM GMT+00:00 #

Zak, you should see a little popup dialog on the panel when a printer is auto-detected and added to the system.

what do you get with svcs printers:snmp ?
You can also do a lshal | grep printer to see if the printer is added to the hal device tree, you need to be root in this case.

We can have more detailed discussion if you send mail also to presto-discuss@opensolaris.org.

Thanks,

-Ghee

Posted by Ghee on October 10, 2008 at 09:36 AM GMT+00:00 #

When is CUPS going to be supported in OpenSolaris? I can't switch to OpenSolaris for my development workstation until I can use my Xerox.

Posted by Ryan de Laplante on October 25, 2008 at 10:19 PM GMT+00:00 #

Hi Ryan,
You can switch over to CUPS by doing
/usr/sbin/print-services -s cups

Or you can use lp by using the Print manager here to set up a print queue to your Xerox printer.

More questions can be posted here at printing-discuss@opensolaris.org

-Ghee

Posted by Ghee Teo on October 28, 2008 at 05:38 AM GMT+00:00 #

#1 this is great!
#2 this is awesome!
#3 I really like it!

I'm downloading b101 to give it a try.

I'm wondering if there is a global file on the server that I can set a dynamic group of printers.

We manage 20 sunrays, and it would be nice to set the dynamic group on each sunray for the users.

Posted by Karl Rossing on October 28, 2008 at 10:30 AM GMT+00:00 #

Hi Karl,
The file the stores the printer group is $HOME/.ospm-printer-groups.xml.
In the case of Sun Ray, you may want to create the group of queues you want for a particular group of users on the console. Rename the file, create another one. Copy that file for the users. A bit laborious, but the tool wasn't really designed for system admin but for user.

However, the current tool does not really allow DTU user to create their own group, since we do not want DTU user starts to remove system's queues.

-Ghee

Posted by guest on October 28, 2008 at 11:01 AM GMT+00:00 #

Hello,

My name is Ken Okubo. Japanese.
I am from OpenSolaris community and Sun contributor (SCA No. OS0322)
Mainly, my contribution is Globalization (translation into Japanese).
I have reviewed the Japanese translation of “Getting Started With OpenSolaris 2008.05” and “Release Notes for the OpenSolaris 2008.05 Release”.
http://blogs.sun.com/reiko/entry/%E5%85%A5%E9%96%80%E3%81%AE%E7%BF%BB%E8%A8%B3%E3%82%82%E5%AE%8C%E6%88%90_getting_started_guide_translated
I have translated several “man pages” of OpenSolaris command.
http://wikis.sun.com/display/g11n/Working+Table

As "What's New in OpenSolaris 2008.11" document point your blog for the reference, I would like to translate your blog into Japanese Language for the convenience of Japanese OpenSolaris users.
Please kindly grant permission for the translation.

Regards,

Ken Okubo
se5k-ookb@asahi-net.or.jp

Posted by Ken Okubo on November 28, 2008 at 12:25 AM GMT+00:00 #

Hi Ken,

You are very welcome to take any of my blogs to translate into the Japanese! They were written and published for the very purpose of information and education.

Do send me a link when they are done :)

Thank you for your interest and participation in OpenSolaris.

-Ghee

Posted by guest on November 28, 2008 at 02:32 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