[Seaside] Print document from www page based on seaside
dev at archonet.com
Mon May 22 16:06:59 UTC 2006
Dario Trussardi wrote:
> Hi All,
> i work with VisualWorks 7.4 and seaside support.
> I have create some www page based on seaside.
> My question is:
> What' is the best solution to print " document " from www page based
> on seaside?
> When i' use the print button of IE on copy of www page is printed.
> But in bussines application i'm interest print a document based of
> www page information with other server data all formated
Are you trying to print a document at the web-server or at the client?
If the server, I'd use an external program - something like html2ps /
will display the standard print dialogue-box. You'll want to display a
new document laid out in the format you want, and you can have different
stylesheets for printing vs. screen display. That will give you
reasonable control of the layout.
If you want to precisely control the layout, you'll have to produce a
PDF that the client can download/print.
More information about the Seaside