Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF printing problem
GEF printing problem [message #235520] Wed, 13 June 2007 05:35 Go to next message
Eclipse UserFriend
Originally posted by: johan.piculell.ericsson.com

Hi.
Strange issue with GEF printing. Running 3.3M6 to make it possible to use
print on Linux, and testing the Logic example (as well as my own efforts).
I have to print to a PDF since network printers does not work (but that is
another issue probably Linux/setup related). And the resulting PDF
contains some 20000 empty pages, and the file is huge. The same thing
happens with my own editor code as well as standard Logic example.

I realize that this could be a platform issue as well, but I figured I
start here since the problem primarily seems to be in GEF, printing text
documents to PDFs works like a charm.
Re: GEF printing problem [message #235571 is a reply to message #235520] Wed, 13 June 2007 13:38 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Johan,

Printing support has been added to SWT for GTK+ in Eclipse 3.3, so I am not
sure anyone has tried with GEF before.

It is important to note that you must be running with GTK+ 2.10 or newer in
order for this support to be utilized.

Can you raise a Bugzilla (and perhaps offer clues to what the issue may be?)

Cheers...
Anthony

"Johan Piculell" <johan.piculell@ericsson.com> wrote in message
news:6e745b37f214cb04fcafd0c5afeaafc2$1@www.eclipse.org...
> Hi.
> Strange issue with GEF printing. Running 3.3M6 to make it possible to use
> print on Linux, and testing the Logic example (as well as my own efforts).
> I have to print to a PDF since network printers does not work (but that is
> another issue probably Linux/setup related). And the resulting PDF
> contains some 20000 empty pages, and the file is huge. The same thing
> happens with my own editor code as well as standard Logic example.
>
> I realize that this could be a platform issue as well, but I figured I
> start here since the problem primarily seems to be in GEF, printing text
> documents to PDFs works like a charm.
>
Re: GEF printing problem [message #235645 is a reply to message #235571] Wed, 13 June 2007 19:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: piculell.telia.com

Anthony,
need to check GTK version at work tomorrow, but I'm quite sure I'm >=
2.10 because I think that you don't even get the possibility to print
any documents whatsoever on older GTK+ version (Print option is dimmed).
Will see what I can dig out, but would be nice if someone with a recent
Linux installation could do the same test because I'm restricted to a
quite old release at work and no possibilities to change this.

thanks
/Johan

Anthony Hunter wrote:
> Hi Johan,
>
> Printing support has been added to SWT for GTK+ in Eclipse 3.3, so I am not
> sure anyone has tried with GEF before.
>
> It is important to note that you must be running with GTK+ 2.10 or newer in
> order for this support to be utilized.
>
> Can you raise a Bugzilla (and perhaps offer clues to what the issue may be?)
>
> Cheers...
> Anthony
>
> "Johan Piculell" <johan.piculell@ericsson.com> wrote in message
> news:6e745b37f214cb04fcafd0c5afeaafc2$1@www.eclipse.org...
>> Hi.
>> Strange issue with GEF printing. Running 3.3M6 to make it possible to use
>> print on Linux, and testing the Logic example (as well as my own efforts).
>> I have to print to a PDF since network printers does not work (but that is
>> another issue probably Linux/setup related). And the resulting PDF
>> contains some 20000 empty pages, and the file is huge. The same thing
>> happens with my own editor code as well as standard Logic example.
>>
>> I realize that this could be a platform issue as well, but I figured I
>> start here since the problem primarily seems to be in GEF, printing text
>> documents to PDFs works like a charm.
>>
>
>
Re: GEF printing problem [message #235765 is a reply to message #235645] Fri, 15 June 2007 16:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: piculell.telia.com

Johan Piculell wrote:
> Anthony,
> need to check GTK version at work tomorrow, but I'm quite sure I'm >=
> 2.10 because I think that you don't even get the possibility to print
> any documents whatsoever on older GTK+ version (Print option is dimmed).
> Will see what I can dig out, but would be nice if someone with a recent
> Linux installation could do the same test because I'm restricted to a
> quite old release at work and no possibilities to change this.
>
> thanks
> /Johan
>
> Anthony Hunter wrote:
>> Hi Johan,
>>
>> Printing support has been added to SWT for GTK+ in Eclipse 3.3, so I
>> am not sure anyone has tried with GEF before.
>>
>> It is important to note that you must be running with GTK+ 2.10 or
>> newer in order for this support to be utilized.
>>
>> Can you raise a Bugzilla (and perhaps offer clues to what the issue
>> may be?)
>>
>> Cheers...
>> Anthony
>>
>> "Johan Piculell" <johan.piculell@ericsson.com> wrote in message
>> news:6e745b37f214cb04fcafd0c5afeaafc2$1@www.eclipse.org...
>>> Hi.
>>> Strange issue with GEF printing. Running 3.3M6 to make it possible to
>>> use print on Linux, and testing the Logic example (as well as my own
>>> efforts). I have to print to a PDF since network printers does not
>>> work (but that is another issue probably Linux/setup related). And
>>> the resulting PDF contains some 20000 empty pages, and the file is
>>> huge. The same thing happens with my own editor code as well as
>>> standard Logic example.
>>>
>>> I realize that this could be a platform issue as well, but I figured
>>> I start here since the problem primarily seems to be in GEF, printing
>>> text documents to PDFs works like a charm.
>>>
>>
>>

Made some tests today, implemented print support on Windows in my
editor. Works great, both on 3.2.2 and 3.3RC4. But same code fails on
Linux, 3.3RC4. Huge amount of empty pages gets printed. Same with the
logic example.
So, should I file a bug report on this? What info is needed?

regards
/Johan
Re: GEF printing problem [message #235786 is a reply to message #235765] Fri, 15 June 2007 18:46 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Johan,

Please do raise a Bugzilla. No clue what the issue has been as nobody has
had a chance to look at Linux printing.

Cheers...
Anthony

"Johan Piculell" <piculell@telia.com> wrote in message
news:f4udp3$oog$1@build.eclipse.org...
> Johan Piculell wrote:
>> Anthony,
>> need to check GTK version at work tomorrow, but I'm quite sure I'm >=
>> 2.10 because I think that you don't even get the possibility to print any
>> documents whatsoever on older GTK+ version (Print option is dimmed).
>> Will see what I can dig out, but would be nice if someone with a recent
>> Linux installation could do the same test because I'm restricted to a
>> quite old release at work and no possibilities to change this.
>>
>> thanks
>> /Johan
>>
>> Anthony Hunter wrote:
>>> Hi Johan,
>>>
>>> Printing support has been added to SWT for GTK+ in Eclipse 3.3, so I am
>>> not sure anyone has tried with GEF before.
>>>
>>> It is important to note that you must be running with GTK+ 2.10 or newer
>>> in order for this support to be utilized.
>>>
>>> Can you raise a Bugzilla (and perhaps offer clues to what the issue may
>>> be?)
>>>
>>> Cheers...
>>> Anthony
>>>
>>> "Johan Piculell" <johan.piculell@ericsson.com> wrote in message
>>> news:6e745b37f214cb04fcafd0c5afeaafc2$1@www.eclipse.org...
>>>> Hi.
>>>> Strange issue with GEF printing. Running 3.3M6 to make it possible to
>>>> use print on Linux, and testing the Logic example (as well as my own
>>>> efforts). I have to print to a PDF since network printers does not work
>>>> (but that is another issue probably Linux/setup related). And the
>>>> resulting PDF contains some 20000 empty pages, and the file is huge.
>>>> The same thing happens with my own editor code as well as standard
>>>> Logic example.
>>>>
>>>> I realize that this could be a platform issue as well, but I figured I
>>>> start here since the problem primarily seems to be in GEF, printing
>>>> text documents to PDFs works like a charm.
>>>>
>>>
>>>
>
> Made some tests today, implemented print support on Windows in my editor.
> Works great, both on 3.2.2 and 3.3RC4. But same code fails on Linux,
> 3.3RC4. Huge amount of empty pages gets printed. Same with the logic
> example.
> So, should I file a bug report on this? What info is needed?
>
> regards
> /Johan
>
Re: GEF printing problem [message #235835 is a reply to message #235786] Mon, 18 June 2007 07:35 Go to previous message
Eclipse UserFriend
Originally posted by: johan.piculell.ericsson.com

193071 is now filed.

thanks
/Johan

Anthony Hunter wrote:

> Hi Johan,

> Please do raise a Bugzilla. No clue what the issue has been as nobody has
> had a chance to look at Linux printing.

> Cheers...
> Anthony
Previous Topic:Border offset in a Rectangle
Next Topic:Need Tip : Collapse / Expand in GEF
Goto Forum:
  


Current Time: Tue Aug 09 14:41:33 GMT 2022

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

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

Back to the top