<div class="gmail_quote"><br>Thank you!<br><br>I think I'll do what you said, I'll just let every activity send the print request(the file,metadata involved etc) to journal, and use it as a global dock to print the file.<br>
So a button in every activity does just that with minimal tweaking around.<br>
<br>Did you mean the 'difficult than is necessary' by this, or is there a grand ring to it, which i need to check again?<div><div></div><div class="h5"><br><br>Vamsi Krishna D<br><br><div class="gmail_quote">On Mon, Mar 16, 2009 at 1:27 AM, Benjamin M. Schwartz <span dir="ltr"><<a href="mailto:bmschwar@fas.harvard.edu" target="_blank">bmschwar@fas.harvard.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div><br>
Vamsi Krishna Davuluri wrote:<br>
> Hello,<br>
><br>
> A Student trying to get into GSoC here<br>
><br>
> After a bit of research I have come up with this approach for the mandatory<br>
> requirements that a printer would assume to comply.<br>
<br>
</div>I think your project proposal is very good, but I think your "mandatory<br>
requirements" are a bit more difficult than is necessary.<br>
<br>
One of Sugar's major goals is that the system should provide as many<br>
services as possible automatically, so that Activities can be written very<br>
simply. In the case of printing, I suggest that you consider printing<br>
directly from the Journal. Perhaps in the drop-down menu for each item in<br>
the Journal, there could be a "Print this item" option if the item has a<br>
MIME type of (pdf, odt, png, jpg...). You would then only have to (1)<br>
write a little bit of code in the Journal to add this option, and (2)<br>
create a small program that can print all these different types.<br>
<br>
With this system, Activities don't have to know about printing, and<br>
hopefully you have to write less code. If you want the user to be able to<br>
print from inside an Activity, that can be arranged by placing a print<br>
icon in the Activity Toolbar. When clicked, this icon triggers an<br>
autosave, and then uses the same system to print directly from the datastore.<br>
<br>
- --Ben<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkm9XacACgkQUJT6e6HFtqSVTwCePPdoYBzvuRebrNTejf8i4KS5<br>
NLgAnREV5JxJv5JthFJiBJuWT243Lxto<br>
=bEw9<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>
</div></div></div><br>