Re: [Bug] b15 pv3: Page margins not correct for printing

  • From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Mon, 21 Jan 2008 13:23:15 -0600

2. Printing in "Page View Mode"

When printing in "Page View Mode" the page for printing will be formatted as if it is in "Edit View Mode".

To reproduce this behavior please select the landscape (not the default portrait) mode in the print setup dialog. You will find the text lines wraps at the page border and not wrap as in "Normal View Mode" or "Page View Mode".

I would expect "What you see is what you get" in "Page View Mode". So the lines should break at the line end as you see on the screen.

3. Setting up the inch based US Paper Format in Europe (a metric country)

I setup the US Letter Format and set the page margins to inch values (1 inch = 25,4 mm). This should be the same as the US Format.

When I print page one of the sample document FTC prints one more line then shown on screen. This is a bug for me since in "Page View Mode" it should not be allowed to print more lines then you see on screen.

Also the word wrapping is not the same then on screen. FTC prints one or two words more per line. This also shows that FTC formats the text as if it is in "Edit View Mode". Instead in "Page View Mode" everything should be "What you see is what you get".

Currently my conclusion is that FTC does not allow to print correctly in Page View Mode".

My question is:

(A) What do you get when you print page one. Is it the same as shown on screen? So do you get a correct printing result on Microsoft Windows? (B) Is it correct for me to expect "What you see is what you get" in "Page View Mode"?

This is a matter of perspective on what you want to accomplish in
your end application. When you print in Word or Pages, the output
is reformatted to match the orientation selected in the page setup
dialog. So if your display is set for portrait and you print in
landscape, the output will be reformatted. Apple's Pages takes the
extra step to automatically reset the orientation in the display
as soon as you change it. It is the responsibility of the end
application to coordinate the display and the selected print
orientation. If the user chooses landscape orientation, all you
need to do is flip the page height and page width and update the
display. How much support you want implement is up to you and what
you deem best. In the demo application I don't change the settings
in the display because I choose to do it that way for the demo.

(C) Does the difference in the dpi setting matter for printing with FTC? Windows is 96 dpi and OSX is 72 dpi?

When you print, you print at the specified resolution in the
PrinterSetup object. It should not matter.


FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.


Other related posts: