The server has no printer connected to it. And both the server and xp are set to "no printer".
Main Topics
Browse All TopicsThis is one of those weird bugs, but maybe someone can help me.
I have Crystal Reports 9 installed on my machine (Windows XP sp2) and on the server (Windows 2003 sp2). I have reports with a small image in the emf format. Both machines have the same version of Crystal Reports 9.
If I edit the report on XP and test it on XP with the ActiveXViewer, it works fine. When I send the report to the server and open with the viewer, the image gets shrunk. When I open the report with crystal on the server, the image is stretched.
I can edit and save the report on the server. It then works fine on the server. But when I send it back to XP, the image gets shrunk/stretched on XP.
There seems to be some kind of problem on how Crystal, XP or 2003 calculate the size of the image. If I save the report on one, it gets shrunk/stretched on the other. So, every time I create or edit a report, I have to edit and save it again on the other machine.
Any ideas?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I tried some tests:
I copied the .emf to both machines. When I right click -> properties, both machines say it has 379x163 pixels and 81x81 dpi.
I create a blank report and put the image there. On xp it says it has 4.40x1.89 in. On 2003 it says 6.46x2.30 in. And its the very same image.
And they are both wrong. The image should have 4.68x2.01 in, acording to the properties dialog.
I installed pdf factory on the server so that I could set up a printer for crystal. It is working, I can print from other applications. But crystal reports does not see the printer. And if I try to print, it says "not enough memory". There is also a shared printer from the network, but crystal doesn't see it.
I tried reinstalling crystal and sp7, but the problem remains.
Now, this is interesting. The problem is not Windows XP or Server. The problem is screen resolution.
If I save a report, close crystal, change screen resolution and open it again, the image gets stretched/shrunk. And this happens both on xp and server. Man, I love Crystal Reports.
Anyway, the workaround so far is to set the server screen resolution to 800x600 and re-save the reports there. This way they display fine on the ActiveXViewer.
BTW, this problem does not happen with raster files like png.
Business Accounts
Answer for Membership
by: mlmccPosted on 2009-03-12 at 15:33:16ID: 23874452
Check the default printer drivers on the machines. If they are different you could get results like that.
mlmcc