On Sunday 2004-02-22 19:58 -0600, Glenn Blicharz wrote:
> When you choose Print Preview on Windows (and Mac Classic builds of
> Mozilla), a nice PostScript looking file gets displayed. I'm wondering if I
> could modify the printPreviewBindings.xml file (or another) to save this
> rendered page out to a file (postscript preferably). If not, is this file
> stored somewhere else, and then displayed in Mozilla? If so, where is it
> stored?  If not, how is this page getting generated and displayed?

I think the print preview on all platforms is just our layout engine
displaying what it would print out.  I don't think there's any file
generated.  (That may be different for something like Camino, but I
think we're at least mostly consistent.)

> Ultimately, I'm hoping to modify Mozilla to generate PostScipt files, or at
> least the "print preview" type layout, where pages are separated. This
> cannot use style sheets or HTML (unless images are loaded) since we will not
> be displaying these pages within Mozilla.

Mozilla can generate postscript -- there's code in gfx/src/ps/.  It's
used as the default way of printing on Unix.  Is there something about
that code that doesn't meet your needs?

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to