CUPS Print Manager in build 107

Some of you may have read from Cyril Plisko's blog that in SXCE 107, desktop-print-management supports CUPS. What does that mean? I guess 99% of OpenSolaris users do not know even that the command, desktop-print-management even exists.

Well, it is technical solution that Norm Jacobs came up to have 2 print systems to co-exist in OpenSolaris in a painless way. In simple terms, when the system admin has set the machine to use LP, all the printing related commands point to that of LP; when it is using CUPS, it points to CUPS version of the commands.

'desktop-print-management' is the command behind the menu entry,

OpenSolaris: System->Administration->Print Manager
SXCE: Java logo->Administration->Print Manager

In build 107 when you have set print system to CUPS, will launch system-config-printer. A GUI Print Manager for CUPS from the fedora community. Tim Waugh has been \*incredible\* in making this happened. A screen shot of the main window.

From system-config-printer

A couple of gotchas which I must mention here:

  • After you switch from LP to CUPS (second part of the page) , you should logout and login again. Otherwise, you will get a Add Printer Dialog for LP pop up when a USB printer is inserted. Since that is for LP, even if you add the prit queue, it will not be shown up in the System Config Printer Dialog.

  • The CUPS equivalence of the LP Add Printer Dialog through the package hal-cups-utils is work in progress.
  • Comments:

    Till Kamppeter is also doing a fantastic work on s-c-p since it's the default tool in Ubuntu. Remember that Till is the man behind OpenPrinting :

    And recently s-c-p is also the default tool for Mandriva ;)

    Posted by Kagou on February 10, 2009 at 05:28 AM GMT+00:00 #

    Yes. Probably should have mentioned Till for his work for downloaded of the PPD files from in integration in s-c-p. However I have to mask off that bit of the GUI from this release because he had used python 2.5 features to make it work which we don't yet have in OpenSolaris build 107. I will look to umask that feature once we have the complete python 2.6 in OpenSolaris.


    Posted by Ghee Teo on February 10, 2009 at 06:00 AM GMT+00:00 #

    Nice to see. :-)

    Thanks for the mention. Actually I must also give credit to others from Red Hat who have helped to get system-config-printer to where it is now, in particular Florian Festi who did the vast majority of the original UI coding.

    Posted by Tim Waugh on February 10, 2009 at 09:09 AM GMT+00:00 #

    Wow. This looks amazing!

    Love the theme. What is it called? =)

    Posted by Louise on February 10, 2009 at 09:15 AM GMT+00:00 #

    Hi Tim, glad you noticed. Say thanks to all Red Hat hackers who worked on this :).

    Louise, the theme is called nimbus written by Erwann Chenede, Very cool French guy :)

    BTW, for the red heart, you have to ask Tim Waugh. I don't know where he gets that from.

    Posted by Ghee Teo on February 10, 2009 at 09:41 AM GMT+00:00 #

    Ghee: cups by default in 2009.06?

    Posted by Glynn Foster on February 10, 2009 at 12:05 PM GMT+00:00 #

    Ouch. Solaris just got rid of one print manager, now you're replacing it with \*two\*? Why not just add CUPS to the existing Presto Print Manager? It even has a ready-made 'service configuration' dialog where you could turn CUPS on or off...

    Posted by Ciaran on February 10, 2009 at 12:10 PM GMT+00:00 #

    No firm plan in place. I did have that aspiration to do so. Biggest chunk of works now left is actually packages for the liveCD. Without Norm/Wendy this is definitely tricker.

    The main reason for not making the current OpenSolaris Print Manager to work with CUPS is development efforts. I probably should write another blog to express my thinking and decisions on this. The bottom line though only one Print Manager is run at time. In fact when the user has chosen to run CUPS, the Solaris LP Print Manager should not appear in the menu at all. It will not work then. Look like I need to look for a sponsor for ON/SFW.


    Posted by Ghee Teo on February 11, 2009 at 03:27 AM GMT+00:00 #

    I have (again) problem while printing with some (all?) application under GNOME; I use CUPS as a printer manager (here in office I have only smb-shader printers) and before 117 I can't see the list of the printers when the printer dialog appear but if I leave the "default printer" all the output was redirected to the default CUPS printer.
    Now, after 117 update if I try to print with firefox (or gimp or evince for example) I got a window where I can only select to print to a file.
    The screeshot of this window is here:

    Instead if I print under thunderbird (or OpenOffice) I can select the printer and all is fine, as you can see here:

    any hints to resolve this problem?

    Posted by Luca Morettoni on July 01, 2009 at 07:06 AM GMT+00:00 #

    I fixed the problem! As discussed in indiana-discuss mailing list (thanks to Harry Lu and Norm Jacobs) the problem was in /etc/printer.conf, when I removed the entry _all from that file all goes fine!
    To disable cups autogeneration of printer.conf file you need to run:

    pfexec cupsctl Printcap=

    Posted by Luca Morettoni on July 01, 2009 at 11:47 PM GMT+00:00 #

    Post a Comment:
    • HTML Syntax: NOT allowed

    I work in the Desktop Group Site Meter


    « June 2016