Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » printing RichEditWithToolBar rotated 90 degrees?
printing RichEditWithToolBar rotated 90 degrees? [message #30029] Sat, 04 December 2010 02:56 Go to next message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
Hi!
I am using RichEditWithToolBar in order to print envelops. I write the addresses (source and destination) on the RichEditWithToolBar sheet but now I need to print it rotated 90 degrees as envelops enter in printer in portrait mode.

Is this possible?

Thanks a lot

Alex
Re: printing RichEditWithToolBar rotated 90 degrees? [message #30035 is a reply to message #30029] Sat, 04 December 2010 20:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
With U++ version you have, you would need to implement your own Print.

Anaway, I have just added "automatic landscape" into Print routing for RichText. With it, all you need to do is reverse page dimensions:

RichEdit editor;
editor.SetPage(Size(6074, 3968));


Should be available tomorrow on googlecode...

Mirek
Re: printing RichEditWithToolBar rotated 90 degrees? [message #30066 is a reply to message #30029] Mon, 06 December 2010 11:28 Go to previous messageGo to next message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
Thanks!
Any tips for guidng me making it "by hand", I mean making my own rotated printing.

Alex
Re: printing RichEditWithToolBar rotated 90 degrees? [message #30067 is a reply to message #30066] Mon, 06 December 2010 12:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
alex100 wrote on Mon, 06 December 2010 05:28

Thanks!
Any tips for guidng me making it "by hand", I mean making my own rotated printing.

Alex


Follow the trail of Print button, replicate the code, insert Landscape at some point.

Or safe the effort and use actual version of U++ Smile

Mirek
Re: printing RichEditWithToolBar rotated 90 degrees? [message #30068 is a reply to message #30067] Mon, 06 December 2010 17:29 Go to previous messageGo to next message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
Please do you confirm that the

upp-win32-2884.exe (installer for windows)

in the Nightly builds has the landscape option?

Is it the 2884 version?

Thanks a lot

Alex
Re: printing RichEditWithToolBar rotated 90 degrees? [message #30069 is a reply to message #30068] Mon, 06 December 2010 18:00 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, likely not - it looks like automated release system has failed..

Investigating.

Mirek
Re: printing RichEditWithToolBar rotated 90 degrees? [message #30073 is a reply to message #30069] Tue, 07 December 2010 11:09 Go to previous messageGo to next message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
It is the upp-win32-2894.exe, right?

Alex
Re: printing RichEditWithToolBar rotated 90 degrees? [message #30081 is a reply to message #30073] Tue, 07 December 2010 14:04 Go to previous message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
Great! It works!!

Thank you!!

Alex
Previous Topic: Push button by keystroke (without ALT)
Next Topic: Could RichEdit print using default selected printer?
Goto Forum:
  


Current Time: Fri Apr 19 13:51:56 CEST 2024

Total time taken to generate the page: 0.02084 seconds