Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

window.print In Asp.net (Colors are not shown)

Posted on 2013-06-19
7
Medium Priority
?
452 Views
Last Modified: 2013-07-02
Hi
i have make a simple html Page

i put only labels and i set the colors to them

the problem when i click Print preview or print them from the browser menu
File-->Print
always printed in white and black

i search google and try to change setting in the browser but no luck

Thanks
print.png
0
Comment
Question by:Kamal Khaleefa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 39258981
I think this is a problem on your printer's settings. Sure it's no ASP.net/VB/javascript problem.
0
 
LVL 13

Assisted Solution

by:Jitendra Patil
Jitendra Patil earned 2000 total points
ID: 39258983
is this happening with all browsers, if no then in which browser are you facing problem?

may be your solution lies in
go to page setup of your browser and Select the Print Background Colors and Images check box.
this should do the work.

Hope this helps.
0
 
LVL 16

Author Comment

by:Kamal Khaleefa
ID: 39259308
It happens in all browser
Also i set the option to print background colors and not working
0
Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

 
LVL 25

Expert Comment

by:Luis Pérez
ID: 39259317
Browse your printer settings, there must be an option in which to choose if you want to print in color or just black ink.
0
 
LVL 16

Author Comment

by:Kamal Khaleefa
ID: 39261481
i think the problem is from my page because if i open any other websites like yahoo ...etc
and click print it will print everything colored

any help????
0
 
LVL 16

Accepted Solution

by:
Kamal Khaleefa earned 0 total points
ID: 39261578
hi
i fix the problem by doing the following

for the style sheet i add media="print" and i make sure no media directive is exist in ths css itself

also i change the setting in browser to print background images
0
 
LVL 16

Author Closing Comment

by:Kamal Khaleefa
ID: 39292527
you have to set the media directive to print
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question