xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <dev.jerem...@greenmail.ch>
Subject Re: [OT] Windows spool file size
Date Tue, 16 Mar 2004 07:25:48 GMT
Sorry. GDI basically represents the graphics API from Windows and EMF is
the file representation of a sequence of calls to this graphics API. The
advantage to serialize the GDI calls is simply to have a format that can
be saved and reproduced. In most Windows setups, when you print to a
remote printer, you application generates GDI commands which are
serialized to EMF by Windows and sent to a remote (or local) spooler.
From the spooler the printer driver (a DLL) is called, the EMF once
again converted into a series of GDI calls which the printer driver
converts to the printers native language. Some printers can work with
GDI calls directly so (I think) they directly get the EMF file which
they print out.

The biggest resource, of course, is the Microsoft developer network

You should find plenty of useful information there.

On 15.03.2004 22:58:27 Prabhat Kumar (IT) wrote:
> you lost me there. I was with you till the GDI part. Is there an
> advantage to serializing GDI to EMF? It's probably elementary, but
> pointers to resources will be greatly appreciated.
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
> Sent: Monday, March 15, 2004 4:52 PM
> To: fop-user@xml.apache.org
> Subject: Re: [OT] Windows spool file size
> It can't really be controlled. PDF is a very compact format (it uses a
> lot of compression). When you print it on Windows a lot of so-called GDI
> (Graphics Device interface, I think) commands are generated which can be
> serialized as EMF files (enhanced metafiles). The printer driver
> converts GDI/EMF to the printer's language (PCL, PS or even GDI directly).
> These formats are usually a lot bigger than PDF. So the spool file size
> mostly depends on the printer driver (or printer language) and the size
> of your document.
> On 15.03.2004 22:36:39 Prabhat Kumar (IT) wrote:
> > Does anyone know if the spool file size can be controlled, if at all?
> > We use FOP to generate PDF reports and a 60KB PDF file generates a spool
> > file 10 times that size on Windows. What does spool file size depend on?

Jeremias Maerki

To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

View raw message