Jump to content

designsweb

Recommended Posts

 

I hope that this is a simple fix that I can't for the life of me see.

 

I have a page which selects data from a database for a selected person within a selected month which is used to provide an employee with their current or historic earnings.

 

Up until the end of April you could hit the print button and it would print out the page as per what is on the screen (text only) in the correct layout minus the colours and boxes etc, this sufficed perfectly well.

 

Then in May for no apparent reason the information that was collected from the database still displayed but now also has the url printed out, this is also the case when you use the browser print function.

 

Please see the attached image of both scenarios.

 

Any thoughts or help to solve this problem would be greatly appreciated.

 

Thanks Ian.

 

 

 

post-165103-0-82536600-1405445773_thumb.jpg

Link to comment
Share on other sites

Hi Ginerjm, thanks for your reply it's simply an image on the page that fires "javascript:window.print", it used to print out exactly what I saw on the screen (less colours and boxes) then for some reason it simply stopped,

If I use the firefox browser print function it's the same, shows the url the information came from aswell as the info, as shown in the image.

Link to comment
Share on other sites

This isn't a javascript problem either. It's a browser setting problem. Go to File > Page Setup and File > Print.. and make sure relevant settings are enabled (e.g. make sure Page Setup > Format & Options > Options > Print Background (colors & images) is checked). If all those look good, check your printer settings from whatever software came with your printer. IOW basically it sounds like somehow your printer settings have been changed to "color saving" or "mobile" type options.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.