Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Can I make a Wysiwyg editor based on printing result with SWT?
Can I make a Wysiwyg editor based on printing result with SWT? [message #643225] Mon, 06 December 2010 07:30 Go to next message
Jeeeyul Lee is currently offline Jeeeyul LeeFriend
Messages: 117
Registered: July 2009
Location: Seoul
Senior Member

PrinterData doesn't support paper configuration.

So, even when my users design their content with WYSISYG editor which has some specific pre-defined paper,
they have to configure printer settings again through PrinterDialog before print.

So I'm trying to hack PrinterData#otherData field with Win32 DEVMODE struct.
And this approach makes me really sick.

Any Idea?
Re: Can I make a Wysiwyg editor based on printing result with SWT? [message #643592 is a reply to message #643225] Tue, 07 December 2010 15:36 Go to previous message
Lakshmi ShanmugamFriend
Messages: 276
Registered: July 2009
Location: India
Senior Member
Hi,

Are you looking for a way to set the papersize/type through PrinterData? Currently there is no API to do this. Please see this bug --> https://bugs.eclipse.org/bugs/show_bug.cgi?id=96394.


Lakshmi P Shanmugam
Previous Topic:Select all text inside a Spinner
Next Topic:disposing widgets in a tableviewer
Goto Forum:
  


Current Time: Sun Mar 29 12:55:54 GMT 2020

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

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

Back to the top