[Sugar-devel] Fwd: Regarding the print support idea(GSoC)

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Sun Mar 15 15:57:28 EDT 2009

Hash: SHA1

Vamsi Krishna Davuluri wrote:
> Hello,
>  A Student trying to get into GSoC here
> After a bit of research I have come up with this approach for the mandatory
> requirements that a printer would assume to comply.

I think your project proposal is very good, but I think your "mandatory
requirements" are a bit more difficult than is necessary.

One of Sugar's major goals is that the system should provide as many
services as possible automatically, so that Activities can be written very
simply.  In the case of printing, I suggest that you consider printing
directly from the Journal.  Perhaps in the drop-down menu for each item in
the Journal, there could be a "Print this item" option if the item has a
MIME type of (pdf, odt, png, jpg...).  You would then only have to (1)
write a little bit of code in the Journal to add this option, and (2)
create a small program that can print all these different types.

With this system, Activities don't have to know about printing, and
hopefully you have to write less code.  If you want the user to be able to
print from inside an Activity, that can be arranged by placing a print
icon in the Activity Toolbar.  When clicked, this icon triggers an
autosave, and then uses the same system to print directly from the datastore.

- --Ben
Version: GnuPG v2.0.9 (GNU/Linux)


More information about the Sugar-devel mailing list