Newest Files

Date iconMay.15

Two blank BFS formatted & bootable Vmware disc ...

Date iconMay.12

This is a 10gb expanding VMWare disk image. I p...

Date iconApr.27

Be na Life is a game of life.

Date iconApr.26

This is a Virtual Box disk image of the popular...

Date iconApr.25

This is a Parallels disk image of the popular S...

Date iconApr.25

This is a Qemu disk image of the popular weekly...

Date iconApr.25

This project was based on the popular weekly su...

Date iconApr.20

Git is an open source version control system de...

Date iconApr.17

Niue is a basic, easy to use but powerful devel...

Date iconApr.05

Cdrecord is used to record data or audio Compac...

Date iconApr.01

Latest GCC and cross compiling tools needed to ...

Date iconMar.27

Beam (BEware, Another Mailer) is an open source...

Date iconMar.26

HotSyncs your Palm Pilot with BeOS.

Date iconMar.26

The latest version (5.02) of the 3ivx MPEG-4 A...

Date iconMar.25

Slows speed of CD-ROM, increases reliability of...

Featured Software

Click on the slide!

Vision - Premier IRC Client

Vision -  Premier IRC Client

Click on the slide!

SampleStudio - Audio Editing

SampleStudio - Audio Editing

Click on the slide!

BePodder - A media aggregator.

BePodder - A media aggregator.

Click on the slide!

Niue - development enviroment

Niue - development enviroment

Click on the slide!

Senryu Personal Edition

Senryu Personal Edition

Click on the slide!

3ivx MPEG-4 video decoder/encoder

 3ivx MPEG-4 video decoder/encoder

Click on the slide!

VLC - Multimedia Client

VLC -  Multimedia Client

Click on the slide!

Gobe Productive - A Comprehensive Office Suite

Gobe Productive - A Comprehensive Office Suite

CUPS Porting Bounty
(2 votes)
Written by Karl vom Dorff   
Wednesday, 18 July 2007

Description

cups_left.png

There are a couple of components you usually see together with desktops and notebooks. A mouse, monitor, keyboard, tower, and printer... What is a computing experience without a printer!?

Haiku will need to address this problem as most other operating systems have by porting the CUPS libraries (the Common Unix Printing Services). A port and integration of this project with Haiku's printing kit will bring the support of hundreds of printers! It has already been shown to be operational on the commercial BeOS-based derivative Zeta. You can download the sources here .

A port of CUPS isn't a question of if it will happen, but rather when and by who (and possibly how much)!

Technical information

technical.png
So what do you think you're capable of?
==============================
=========

Stage1:
A port of at least the low-end printing part of CUPS. This means all the
actual printer-driver related code, but not necessarily the printer
sharing, and web based configuration interface code. I would rather
implement this at a later stage in a more proper Haiku native manner
(and I already have some ideas for that).

This means at the end of this stage, you should be able to print any
postscript file to any printer hooked up to your Haiku machine that is
supported by CUPS.

Stage 2:
Modify the Postscript printer driver to be able to select and recognise
a CUPS PPD. In this case it will automagicly use CUPS for printing (if
available on the system, of course).
I would also want to try to add automatic suggestion of PPD for USB
printers, but that will depend on the stability of the USB stack in my
development environment, and the availability of (USB) printers when I'm
close to finishing this task.

Hah, and when do you think you'll be done?
==========================================

I expect to finish these activities at the Code Asylum / BeGeistert 18,
in Dusseldorf, DE, latest on the 13th of January. If I'm going to be
able to finish this sometime, that should be the ultimate moment (seeing
I'll have the core Haiku hackers available around me ;)).

And who the f%%^^&ck do you think you are anyway?
=================================================

Well, original developer of the Print Kit when Haiku was still called
OpenBeOS, co-developer on the CUPS porting for ZETA, and
last-but-not-least the most cola-induced coder in the community :P







Back to the bounties...









Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Hits: 2053
Comments (10)add comment

vasper said:

I started reviewing the port yesterday and it is going better than I hoped. I am not sure if I can port it fully, but at least I will have documented what is needed to complete the port. If I manage to port it my self, the donation money can be moved to the next bounty.
 
report abuse
vote down
vote up
July 30, 2007 | url
Votes: +0

ithamar said:

Please be aware that CUPS itself will not be _very_ useful on BeOS/Haiku. You need integration between BeOS/Haiku and CUPS to make it truly useful. E.g. ZETA had a special printer driver that interfaced with CUPS.

Hmmm, that reminds me, would Mozilla Print Support on BeOS/Haiku not be a nice bounty too? smilies/wink.gif
 
report abuse
vote down
vote up
August 14, 2007
Votes: +0

thenerd said:

Would it be possible for Haiku to have the same sort of special driver to interface with CUPS?

Also, I took a quick look at Mozilla Print Support and I am not 100% sure I understand what it does so I can't really say if it would make a good bounty or not. Is it just a layer that Mozilla products use to interface with the local printing system?
 
report abuse
vote down
vote up
August 14, 2007 | url
Votes: +0

ithamar said:

yes, it would be possible to do it that way. Personally, I would prefer to do much tighter integration, simply because I remember the pains we had with ZETA smilies/wink.gif

Mozilla Printing Support was probably too vague, what I meant was to have the ability to print from Mozilla S/W, e.g. Firefox. This would indeed mean writing the code to interface Mozilla's framework with the native 'Print Kit' in BeOS/Haiku.
 
report abuse
vote down
vote up
August 14, 2007
Votes: +0

thenerd said:

yes, it would be possible to do it that way. Personally, I would prefer to do much tighter integration, simply because I remember the pains we had with ZETA


I don't know exactly how it was done in Zeta but it does sound like it wasn't the best way. Maybe that is something that can be worked on once CUPS has been ported.

Mozilla Printing Support was probably too vague, what I meant was to have the ability to print from Mozilla S/W, e.g. Firefox. This would indeed mean writing the code to interface Mozilla's framework with the native 'Print Kit' in BeOS/Haiku.


Printing from any application would is most definitely important. IMO I am not so worried about Firefox because I'm really looking forward to Ryan's webkit port and the browser that will hopefully come from that. But none the less Firefox is popular and if it's something that a dev wants to put his/her efforts behind then I'm all for it.
 
report abuse
vote down
vote up
August 14, 2007 | url
Votes: +0

ithamar said:

IMHO, the whole 'lets go through Ghostscript' architecture of CUPS is broken for an OS as Haiku. What ZETA did was a printer driver generate postscript, and then use CUPS to output the postscript file to the printer. IT basicly completely bypassed the normal Print Kit architecture.

With most printer drivers now being either network printers or usb printers, things get a little more easy. I think it would be much more worthwhile to reuse the foomatic database of printers (which contain supported protocols (postscript,hpcl,etc) and the properties of the printers) as a front end, use native Haiku code for detecting printers (this is actually quite simple for USB printers, will commit a driver for doing that into Haiku soon), and create some printer driver front-ends to drive the GhostScript backends (which IIRC basicly translate drawing operations / bitmaps into the native printer protocol, just like native printer drivers in Haiku/BeOS do).

This is obviously a lot more work, but creates a _much_ nicer integration with the core OS, and as a bonus, will make printing _much_ faster too smilies/cheesy.gif

I'm offering my experience with the Print Kit architecture for OpenBeOS/ZETA and CUPS to anyone who wants it, and I would be more then willing to at least design this integration....

(My paying job prevents me from actually having enough time to fully implement this)
 
report abuse
vote down
vote up
August 16, 2007
Votes: +0

thenerd said:

I'm offering my experience with the Print Kit architecture for OpenBeOS/ZETA and CUPS to anyone who wants it, and I would be more then willing to at least design this integration....


My suggestion for this would be to contact vasilis and see what he thinks. Maybe the bounty could be changed to reflect a combined effort to create a native printing system. I'm not expert on printing but if what you are proposing would be better than CUPS I can't see why it wouldn't be a viable alternative to this bounty.
 
report abuse
vote down
vote up
August 16, 2007 | url
Votes: +0

karlvd said:

I second thenerd's suggestion smilies/grin.gif
 
report abuse
vote down
vote up
August 16, 2007
Votes: +0

thenerd said:

any status updates?
 
report abuse
vote down
vote up
January 04, 2008 | url
Votes: +0

ithamar said:

check my blog for status update smilies/wink.gif
 
report abuse
vote down
vote up
January 19, 2008
Votes: +0

Write comment
You must be logged in to a comment. Please register if you do not have an account yet.

busy
 
< Prev   Next >




Latest Comments

Haiku Code Drive 200...
Fixed. Impressive results thus far! At this rate, the goal will be fulfilled.
Haiku Code Drive 200...
Hi Karl. Thank you for spreading the word. smiley The DONATE button seems to be pointing to the wrong ...
Senryu Personal Edit...
Thanks hey68you. Your name reminds me of a good Pink Floyd tune hehe. Anyways, yes, I will include ...
Senryu Personal Edit...
Great job Karl - and thanks for including my Rdesktop-manager GUI. However, I noticed in the versio...
Haikuware hits the 3...
Its gonna gain a lot more when Haiku becomes an everyday useable OS . . . :-)
Senryu Personal Edit...
hey, the driver comes from the OSS package mmu_man ported to Haiku. You can specify adding it to you...

Login

Haiku Code Drive

  • Haiku Code Drive

File Search

Search For: 
File Titles: 
File Description: 

Most Popular Files

May.12
Downloads
File iconSenryu Personal Edition Vmware Image - Weekly
4626
Jul.09
Downloads
File iconAbiWord
781
May.21
Downloads
File iconOpera
720
Apr.26
Downloads
File iconSenryu Virtual Box Edition
427
Apr.25
Downloads
File iconSenryu Developer Edition Vmware Image
416
Jul.08
Downloads
File iconBeOS 5 PE Max Edition
228
Aug.15
Downloads
File iconICH AC97 Driver
209
Jun.06
Downloads
File iconHaikuPC-Info
201
Aug.24
Downloads
File iconAti Radeon Graphics Driver
189
May.21
Downloads
File iconLinks
144
Apr.25
Downloads
File iconSenryu Qemu Edition
144
Oct.28
Downloads
File iconHaikuLiveCDScript
132
Apr.17
Downloads
File iconNiue
129
Oct.04
Downloads
File iconHaiku Radeon Driver
123
Jun.06
Downloads
File iconJammin
103
Sep.15
Downloads
File iconAural Illusion
89
Sep.15
Downloads
File iconBeFar
81
Dec.29
Downloads
File iconFinalBurn:
62

Who's Online

No users online
Guests: 2
Hits Today: 457
Hits Yesterday: 444
Hits Total: 113548
Since: 2007-07-25