|
-
Jun 27th, 2000, 06:43 AM
#1
Thread Starter
New Member
I have a form with a picture box containing lines and rotated text. I can print the lines using regular printer.print code but the text does not show. That's one issue I need to resolve.
My work-around is to print the entire form using "printform" after making several controls on the form invisible. Doing so will show the rotated text and the lines together, even though it is not to scale. However, each time I do, the result is less than satisfactory because the form only fills half my printed sheet. I want it larger. I have tried to resize the picture box and the form but then it is off the screen and I can't place the lines and text appropriately. I have left a similar message on the AOL boards but no takers. Is there a way to adjust the size of the form and picture box to a designated dimension when printed? Any help will be greatly appreciated.
-
Jun 27th, 2000, 07:42 AM
#2
Lively Member
Could you capture the form in a picture box and use paintpicture to print it?
Either that, or in your print routine, set the printer.scalemode to vbTwipps, get the printer.scalewidth and printer.scaleheight and resize the form to those.
-
Jun 28th, 2000, 01:24 AM
#3
Thread Starter
New Member
Thanks for the advice. I'll give your suggestions a try. However, I now find that when I create
an executable, the form will not print anything except many blank sheets. Is there something I need to do (code wise) for a user to print a form other than using print screen. When I am in VB environment, the form at least prints with the printform command, but apparently the executable will not. What's the problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|