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 » How to maximize printing area of the RichEdit Ctrl? [SOLVED]
How to maximize printing area of the RichEdit Ctrl? [SOLVED] [message #30571] Sun, 09 January 2011 16:58 Go to next message
JoseB is currently offline  JoseB
Messages: 37
Registered: March 2009
Member
Hi all

I am using:

Size page = Size(3968, 6074);

(If i change these values nothing happens)

like in all UPP samples. When I use the document ruller and adjust margins to zero (ruller pointer to the minimum at left and maximum at right) the document on print has always a left margin on about 2cm and at right about 2,5 cm.

How to configure the RichEdit ctrl to have a ruller that starts at 0 printer coordinates to the maximum of A4 paper sheet?

If not possible, how to decrease these "standard margins"?

Thanks a lot.

JoseB

[Updated on: Mon, 10 January 2011 01:54] by Moderator

Report message to a moderator

Re: How to maximize printing area of the RichEdit Ctrl? [message #30572 is a reply to message #30571] Sun, 09 January 2011 20:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
JoseB wrote on Sun, 09 January 2011 10:58

Hi all

I am using:

Size page = Size(3968, 6074);

(If i change these values nothing happens)



Change how?

Using RichEdit::SetPage, something should happen.

BTW, that above value is sort of compromise as each printer has different printable area.

Mirek

[Updated on: Sun, 09 January 2011 20:41]

Report message to a moderator

Re: How to maximize printing area of the RichEdit Ctrl? [message #30576 is a reply to message #30571] Sun, 09 January 2011 22:48 Go to previous message
JoseB is currently offline  JoseB
Messages: 37
Registered: March 2009
Member
My mistake. Sorry.
I was changing the printing area but forgetting the editor area. Now it works

Thanks

JoseB
Previous Topic: PrintJob does not works on "large project"
Next Topic: How to convert utf-8 to (strcmp type)?
Goto Forum:
  


Current Time: Sat Apr 20 04:14:44 CEST 2024

Total time taken to generate the page: 0.04083 seconds