Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bold + Right Align = Missing Characters when printed

Status
Not open for further replies.

tbellomo

Technical User
Jan 28, 2002
73
US
Hi everyone -
I'm using a form as a report. The whole data report thing was confusing me, so i worked around it. I have all of the information, and now I'm formatting the labels (I put a label array on the form, then populated the labels with the values I needed.) Anyway - When I bold and right align a label (for important numbers), it shows up perfect on screen; but when I use me.printform, it truncates the rightmost character in the label... 15 becomes 1, and 6 becomes nothing for example. Any clue why it would do this?

Remember, onscreen it works, just the print out truncates...

I can't think of a logical reason why, other than some bug.
But that's just me...

Any suggestions or answers?

Thanks a billion & 1/2,
Tim Bellomo
[noevil]
 
Are you using Autosize for your labels?

If so you could try adding a trailing space to each string.

If nothing else this should put your thread to the top of the pile where it will stand more chance of getting noticed.

Good luck.
 
Thanks for the last part bigal -- get this... i printed it on a lower screen resolution. At 800x600, it no longer truncates the text, but unfortunately, it only prints half the page... the rest of the page is blank... this thing was a real pain to design, and I know I screwed up by doing it in 1280x1024... but is there anyway to remedy this situation. I don't need them to necessarily see it on screen, but i need it to print correctly...

any suggestions

Tim
 
I just tested your problem and yes, it misses off the last character. However, I tried setting Autosize to true and it printed all chars.

So I added another label. Set Label1 to Autosize = true and Label2 to Autosize = false.

On printing the form I got:

Label1
Label

So if your display looks ok with Auto=true then set all your labels to true.

If it looks unsightly then I tested my first suggestion of adding a trailing space to each string (in a label with Auto = false) and that worked o.k.

I hope this is a suitable work around.
 
Ok, so that worked on my computer (Thanks a lot!)

But I'm still having issues with other screen resolutions... it only prints half the page, and leaves the other half blank... OR it'll print the screen really small and stretch it across the screen,

oh wait... it worked... umm, i'm not really sure what happened, but I'm not complaining... apparently by me.printform-ing on the load instead of click caused it to work... go figure..


Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top