Click here to Skip to main content
15,878,048 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
When I print-preview an OCX ActiveX control in Excel 2003 the ActiveX control size is correct, but when actually I print it, it becomes too small! Does anyone know what might be causing this?
Updated 21-Feb-11 5:23am

1 solution

Probably because your printing a pixel-for-pixel image of your control. Since the pixels on screen are MUCH bigger than what you're printer is capable of, your control needs to scale up its image to a proper size before sending that image to the device.
Share this answer
Nish Nishant 21-Feb-11 13:34pm    
Which is what the print preview is supposed to be for. To show the difference between print and display :-)

Doesn't always work that way though.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900