Skip to main content



      Home
Home » Eclipse Projects » GEF » Printing support in GEF...
Printing support in GEF... [message #4380] Tue, 28 May 2002 09:45 Go to next message
Eclipse UserFriend
Hello,

Is there any word on printing support in GEF? Is this in the current plans?

Question to the newsgroup: what kind of printing support would you be
looking for?

Some of the things I would need eventually:
- print to fit page.
- tiled printing
- print preview

Regards,

Steve
Re: Printing support in GEF... [message #4590 is a reply to message #4380] Tue, 28 May 2002 14:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dominic.nospam.com

What about a drawing "area" that corresponds to your paper size ? Visio does
the same thing for example.

"Steven Shaw" <sshaw@rational.com> wrote in message
news:ad00sr$qh2$1@rogue.oti.com...
> Hello,
>
> Is there any word on printing support in GEF? Is this in the current
plans?
>
> Question to the newsgroup: what kind of printing support would you be
> looking for?
>
> Some of the things I would need eventually:
> - print to fit page.
> - tiled printing
> - print preview
>
> Regards,
>
> Steve
>
>
Re: Printing support in GEF... [message #4662 is a reply to message #4380] Tue, 28 May 2002 15:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.ibm.com

We have not investigated printing yet. It is relatively easy to capture the
figures onto an SWT Image, but I would like to investigate whether printing
on a Printer GC will result in finer detail for things like diagonal lines
and circles.

There was also a thread on eclipse.tools stating that for some reason you
cannot use an Image created on the Display to print on a GC created on a
Printer. Does anyone know why this is?

"Steven Shaw" <sshaw@rational.com> wrote in message
news:ad00sr$qh2$1@rogue.oti.com...
> Hello,
>
> Is there any word on printing support in GEF? Is this in the current
plans?
>
> Question to the newsgroup: what kind of printing support would you be
> looking for?
>
> Some of the things I would need eventually:
> - print to fit page.
> - tiled printing
> - print preview
>
> Regards,
>
> Steve
>
>
Re: Printing support in GEF... [message #5422 is a reply to message #4662] Wed, 29 May 2002 05:48 Go to previous messageGo to next message
Eclipse UserFriend
> There was also a thread on eclipse.tools stating that for some reason you
> cannot use an Image created on the Display to print on a GC created on a
> Printer. Does anyone know why this is?

I'm not sure, but the resolution of the screen (72dpi?) is very much lower
than on a printer. I think that it would work better if it was drawn
directly to the printer (like sending lines, and circles etc)

/Jonas
Re: Printing support in GEF... [message #5440 is a reply to message #5422] Wed, 29 May 2002 09:49 Go to previous message
Eclipse UserFriend
Yes, I believe that it is much better to render directly to the printer GC
then to send an image to the printer. Generally the resolution of printers
are much higher then the screen (600 dpi vs. 72 dpi) and merely sending the
screen image would not benefit from that additional granularity. This would
be especially noticable on connections and text labels.

The basic printing functionality would probably be tied somewhat to the zoom
feature. Both of these features need to the ability to scale the primitive
graphics operations to a different resolution / ratio. The Print command
would essentially "paint" the primary layer and the connection layer into a
scaled graphic context where the scale factor represents the ratio between
the screen resolution and the printer resolution.

Regards,

Steve.



"Jonas Bengtsson" <jonas.b@home.se> wrote in message
news:ad2791$o1o$1@rogue.oti.com...
>
> > There was also a thread on eclipse.tools stating that for some reason
you
> > cannot use an Image created on the Display to print on a GC created on a
> > Printer. Does anyone know why this is?
>
> I'm not sure, but the resolution of the screen (72dpi?) is very much lower
> than on a printer. I think that it would work better if it was drawn
> directly to the printer (like sending lines, and circles etc)
>
> /Jonas
>
>
Previous Topic:GEF defects...
Next Topic:How to set bg color for PolylineConnection?
Goto Forum:
  


Current Time: Sat May 24 18:33:14 EDT 2025

Powered by FUDForum. Page generated in 0.04628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top