Link to home
Start Free TrialLog in
Avatar of lbogus
lbogus

asked on

Browser Print Preview Problem

First I apologize if I'm posting this in the wrong area, but I'm not sure what is causing our problem!  We have written a custom report card application using Cold Fusion and running the report cards through Firefox.  The OS is either Win2k SP or WinXP SP 1 and SP 2.  We were testing this application on Dell computers and everything was going great until we switched computers.  When we run the report card from the Dell using Firefox the print preview of the report card looks great and prints just fine.  However, once we do the same thing on a differnt brand of computer, on the print preview some of the lines have creeped up.  We have tried this on an older Compaq, a new HP, and an older IBM Thinkpad and all of them give us the same results of the page creeping.  We have tried different versions of Firefox and that changes nothing.  The only other thing that seemed to come into play was the type of default printer we had picked.  These report cards will be printed on a Xerox printer and when we look at the print preview the lines have crept even more than if we have a Lexmark chosen as the default printer.  These printers are all coming from a network print server, but we have also tried to install the printer locally and had the same results.  Today we even tried to print to a PDF and the same thing happened.  So basically, it looks as if it works on the Dell computers only.  For the life of me I cannot think of what could be so different on a Dell from all the other systems to cause such a problem!  I wold appreciate any help you could provide me in solving this issue.


 


 
Avatar of Watzman
Watzman


The computer itself isn't the cause of this per se; the only possible hardware cause is the video card, or the different printers installed on the different computers.  In terms of software, it could be a lot of things, including the OS, video drivers, printer drivers or quite a few other pieces of software.

Forgetting print preview for the moment, what happens with the actual printout to the printer on paper?  Are they the same, the print preview not withstanding?

When you do a "print preview", the video card and it's driver become the "printer" and the "printer drivers", so if you have different video systems in the different computers, that could explain what's happening (doesn't make it right, but might explain it).  Potentially it gives you a solution, as well, although changing the video systems is kind of drastic.  This could also end up involving a lot of other software, things you'd never think about (things like, for example, DirectX).  But let's start by finding out if the actual printouts to the same printer are the same, print preview not withstanding.
Avatar of lbogus

ASKER

Thanks for the response.  I appreciate you giving me the understanding of the "print preview" and what happens there.  That helps explain some of the stuff.  As for how the print jobs print out......they print out perfectly fine from the Dell computer but every other "brand" of computer we have tried they will print out with the "creeping lines".
To expand on Watzman`s explanation, when you do a "print preview", the system attempts to render the file using the printer parameters for your selected printer:

This means it takes into account the page size, line spacing, cpi, unprintable area, fonts, margins, etc

Suggestions:

The first thing to do is to check that these settings are the same for all the pcs, especially the page size, fonts and screen resolution.

The default "code page" for the pcs may differ, check settings in control panel>Region and language.

Check the page setup in Firefox  file>page setup. Unchecking "fit to page width " may help

Run "msconfig" at a dos prompt, and check for differences in the win.ini snd system.ini files (especially 386Enh )

Avatar of lbogus

ASKER

I have checked all settings and am not able to see any difference that would cause the problem.  I cannot run the msconfig as I'm dealing with 2000 and XP machines.  I've just been informed that we tried to send this printout to a Brother printer instead of a Xerox and Lexmark and that it printed correctly on the Brother.
msconfig works with XP aand 2000 pcs
Avatar of lbogus

ASKER

Oh you are right...must have had another one of my "moments"!  Getting too flustered with all of this stuff.  I will check into the msconfig findings.  Thanks for setting me straight!
Avatar of lbogus

ASKER

I have ran the msconfig and I cannot see any differences, and I really looked through the 386Enh.
It may be a font problem.
Some fonts with the same names my function differently in different OSes, and   different printers.
Avatar of lbogus

ASKER

So really, there would be no way around this problem?
ASKER CERTIFIED SOLUTION
Avatar of wyliecoyoteuk
wyliecoyoteuk
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lbogus

ASKER

wyliecoyoteuk, thanks for all the suggestions.  I did try them and the result was a little better but we have never gotten it to look correctly.  We are in the process of rewriting the application so we will be a little wiser the next time around.