[NBLUG/talk] 40 person yearbook roster photo catalog album;
Is OpenOffice the answer?
calvin166 at pseudoweb.net
Sun Dec 17 20:28:34 PST 2006
I'm not sure of how to do it in Linux, but with the pdf printing in safari,
if you go into page setup you can remove the header and footer, thus making
it more like a document. I also imagine ruby has a write to pdf library, but
I've never used it so I can not say.
In terms of php though I don't think you can output to anything besides a
webpage. I've never tried otherwise though.
There are a lot of ways to grab data from mysql databases with php (google
it comes up quickly). And then you would style the output with css.
> -----Original Message-----
> From: talk-bounces at nblug.org [mailto:talk-bounces at nblug.org] On Behalf Of
> Jim Oser
> Sent: Sunday, December 17, 2006 6:37 PM
> To: General NBLUG chatter about anything Linux, answers to questions,etc.
> Subject: Re: [NBLUG/talk] 40 person yearbook roster photo catalog album;Is
> OpenOffice the answer?
> Nat and others,
> I have been reading and experimenting with Ruby on Rails.
> With Ruby on Rails, one can make an online catalog. I am able to have
> a photo (product for a product catalog or portrait for a yearbook)
> which is connected to a sqlite3 database. I was wondering if there is
> a way to print the Ruby on Rails catalog to pdf, which would then be
> suitable to take to Kinkos or someplace else for printing and binding.
> In general is there a way to print a webpage to pdf so that the pdf
> looks like a document rather than a webpage.? With Mac OS X, one can
> print with Safari and other web browsers to pdf but there are
> timestamps and URLs in the header and footer.
> On Dec 15, 2006, at 9:14 AM, Nat W. wrote:
> > Wow, this is a far simpler answer than what I was going to suggest.
> > If you
> > wanted to though, it would be really easy to do what you want with
> > php,
> > mysql, css.
> What was your idea? I have also been reading about css2 which has
> some pagination features.
> Using php, mysql, and css, can one write directly to a file or is it
> only possible to make a web page, and then the web page needs to be
> converted to a file?
> Can you point me to some sample code?
> > /Nat
> >> -----Original Message-----
> >> From: talk-bounces at nblug.org [mailto:talk-bounces at nblug.org] On
> >> Behalf Of
> >> Bob Blick
> >> Sent: Friday, December 15, 2006 9:10 AM
> >> To: General NBLUG chatter about anything Linux, answers to
> >> questions,etc.
> >> Subject: Re: [NBLUG/talk] 40 person yearbook roster photo catalog
> >> album;Is
> >> OpenOffice the answer?
> >>> "desktop publishing" +"open source" +"database"
> >>> This brings up OpenOffice.
> >>> Is OpenOffice the answer?
> >> It is certainly AN answer. There are a ton of macros already
> >> available:
> >> http://www.ooomacros.org/user.php
> >> Cheers,
> >> Bob
> >> _______________________________________________
> >> talk mailing list
> >> talk at nblug.org
> >> http://nblug.org/cgi-bin/mailman/listinfo/talk
> > _______________________________________________
> > talk mailing list
> > talk at nblug.org
> > http://nblug.org/cgi-bin/mailman/listinfo/talk
> talk mailing list
> talk at nblug.org
More information about the talk