Page 1 of 1
Printing issue with 2.9...worked fine in 2.8.1
Posted: Tue Jun 17, 2008 1:00 am
by no1g8tor
I have a progam that prints out card using the following code and It looks normal on paper under 2.8.1, but as soon as I install 2.9 the fonts look tiny on the paper.
Code: Select all
answer printer
Put the number of cards of stack"PrintSingle" into pnt_card_calc
go invisible to stack"PrintSingle"
go to the first card
go to next card
open printing
Repeat with crds = 2 to pnt_card_calc
print this card into 0,0,(8.5*72),(11*50)
print break
go to next card
end Repeat
close printing
I know 2.9 uses some new print commands, but It seems to do everything right except everything is tiny.
Thanks for the help
Posted: Tue Jun 17, 2008 1:00 pm
by Janschenkel
Is everything scaled down, or just the fonts?
Also try to put the target rectangle into a variable beforehand, to ensure that the parser isn't confused.
Code: Select all
put 0,0,(8.5*72),(11*50) into tPageRect
answer tPageRect -- just checking
repeat with crds = 2 to pnt_card_calc
print this card into tPageRect
print break
go to next card
end repeat
Jan Schenkel.
Posted: Tue Jun 17, 2008 2:58 pm
by no1g8tor
Jan,
Thanks for the help. Everyhting is spread across the paper correctly but the fonts are tiny. Its not like someone took the original and reduced it on a copier. Everything is proportionate, just tiny. When I switch back to ver 8 it prints perfect.
Hope I described it ok
Thanks
Posted: Wed Jun 18, 2008 12:40 pm
by Janschenkel
Is this on MacOSX, Windows, Linux?
If you're using Windows, you should look at the 'formatForPrinting' stack property. Windows uses different fonts for display on screen and printing on paper. Maybe Rev 2.9 is more senstive, as they reworked the printing aspects of the engine.
Maybe if you could reduce it to a simple example, and post that to the
Quality Center, Revolution can figure out if they need to update the engine.
Jan Schenkel.
Posted: Wed Jun 18, 2008 2:25 pm
by no1g8tor
It is on a windows based machine.
I do have the formatForPrinting property set to true and its wierd, it prints perfect under the old version.
Posted: Thu Jun 19, 2008 12:56 pm
by Janschenkel
As a long shot, are the fonts you're using in the stack listed in the result of calling
- that's just about all we can check before handing this over to the RunRev Quality team...
Jan Schenkel.