Re: [gnome-print] printing a ps or eps file
- From: "Trever L. Adams" <tadams-lists myrealbox com>
- To: Chema Celorio <chema ximian com>
- Cc: Allin Cottrell <cottrell wfu edu>, gnome-print ximian com
- Subject: Re: [gnome-print] printing a ps or eps file
- Date: 30 Apr 2002 16:40:26 -0700
On Tue, 2002-04-30 at 17:07, Chema Celorio wrote:
> On Wed, 2002-04-03 at 10:24, Allin Cottrell wrote:
> > My app generates graphs in postscript or EPS. I'd like to offer the
> > user the chance to print these files via gnome-print, but I'm not sure
> > how to use gnome-print when the material to print is already in
> > postscript form. Any help appreciated.
>
> This is not currently supported and i don't think it will be in the sort
> term. It requires a lot of code on our side for a not so important
> feature. Even if somebody wrote the code i think we will not add it into
> gnome-print, it isn't trivial.
Obviously, I am not providing code at the moment. Though, I could send
someone my libfax or they can look at the sendfax scripts (which is
where I got mine) on how to use gv to convert to an image. Then
gnome-print could just print the image.
app -> gnome-print -> ghostscript -> jpeg -> gnome-print -> "printer"
Not sure it is that much code. The only problem is the dpi of the
printer, etc. Do you always convert image to 300? 600? 1200? Is there
a way the gnome-print knows the dpi so ghostscript can do the right
conversion?
Anyway, as I said, no code, and I am not very familiar with gnome-print,
but using ghostscript for the conversion of ps or eps to an image should
not be that big of a deal, I don't think. Maybe I am off in the weeds,
but it seems I did some of this for libfax and mgetty+sendfax is where I
got the idea (since my libfax is just a wrapper around sendfax,
ghostscript, etc.).
Trever
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]