Looking for developers: processing of Windows EMF files for CUPS, NX, Samba and Freedesktop.org printing

Fabian Franz FabianFranz at gmx.de
Sat Jun 12 15:53:13 GMT 2004

Am Samstag, 12. Juni 2004 11:28 schrieb Michael B Allen:
> On Sat, 12 Jun 2004 09:35:10 +0200
> Fabian Franz <FabianFranz at gmx.de> wrote:
> > > The point is a *good* EMF to PostScript converter requires some serious
> > > forethought and a very good understanding of GDI and PostScript and
> > > where the drawing primatives intersect. It's a little like writing a
> > > compiler actually.
> >
> > Well, EMF to PostScript is no issue I would say. OpenOffice.org (again)
> > has rather good printing quality (I'm no expert there, you might know
> > better).
> Hrmm. I think I'm loosing track of what you're trying to do.
> I thought you wanted to send EMF (actually windows spool files) to Samba
> so you can print with the native windows print driver enabling you to
> do something from this "NX" thing that you otherwise could not.

No, I want to do exact the opposite.  I create Windows spool files containing 
EMF with linux by going from PS -> EMF and send tehm to a _real_ Windows 

> Thus you want to convert the EMF to PostScript so you can print it using
> whatever Unix side printing system?
> > My point was to create kind of an foomatic driver, that would export to
> > EMF.
> >
> > So vice versa:
> >
> > PS -> EMF
> Yes, now I'm totally lost :)
> > While I understand that it is rather difficult to go from a "primitive"
> > like EMF to PS, I believe it is not that difficult in the vice-versa way.
> No. I think it would actually be harder to go from PostScript to EMF
> because EMF is basically a subset of what PostScript can do. 

Are u sure ? I thought both are vector based todether with PS allowing 
embedding of Fonts ...

> PostScript
> generated from EMF would just be a "primative" linear sequence of
> drawing commands (depending on how sophisticated the conversion was). But
> onverting PostScript to EMF requires normalizing scaling and flatting
> fonts. I think it would be quite a mess actually.

No, EMF can also embed fonts and as far as I know OpenOffice already does 
that ...

What is _your_ point? That is what I actually don't understand :-).



More information about the samba-technical mailing list