I just do this from the browser. I don''t mind having that info... On
some browsers it prints the date on there even. :) Print stylesheets
can do an awful lot, and if it''s an invoicing application, chances are
your users can just remove that info from their print settings (one
office I worked for did just that.)
That said, PDFs are nice too...
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of Rick Olson
Sent: Wednesday, December 07, 2005 4:43 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails] how can I print a page?
On 12/7/05, Frank <farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org>
wrote:>
> Hello,
>
> I have a page that shows invoice amounts.
> I do not want the user to print from the browser, as it prints page
> numbers and url info on the form.
>
> How can I print the form?
>
> Thanks
>
> Frank
There''s a javascript function, window.print() or something, but it uses
the browser''s printing function.
--
rick
http://techno-weenie.net _______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails