How can I print all web content background Image, colors...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • donilourdu
    New Member
    • Jan 2007
    • 53

    #1

    How can I print all web content background Image, colors...

    Hi I am Doni Agna Lourdu.

    Can any one tell me

    "How can I print all Web Content"

    But I know To print background images, open "Tools" menu in Internet Explorer, select "Internet Options", switch to "Advanced" tab and enable "Print background colors and images" in "Printing" section.

    But I dont want this beacuse it is browser compatable. I need a code for print whole content when I click print.

    Plz help me
    Looking for favorable reply

    with regards,
    Doni Agna Lourdu
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Originally posted by donilourdu
    Hi I am Doni Agna Lourdu.

    Can any one tell me

    "How can I print all Web Content"

    But I know To print background images, open "Tools" menu in Internet Explorer, select "Internet Options", switch to "Advanced" tab and enable "Print background colors and images" in "Printing" section.

    But I dont want this beacuse it is browser compatable. I need a code for print whole content when I click print.

    Plz help me
    Looking for favorable reply

    with regards,
    Doni Agna Lourdu
    Leave it up to the users to decide if they want to print the background image.
    There is only so much you can do with Printing Css to format what is printed but anything regarding browser settings will be out of your hands. The reason is that most browsers won't let you programmaticall y adjust printing settings.

    -Frinny

    Comment

    • redGuard
      New Member
      • Feb 2013
      • 1

      #3
      I have search for the solution , in css .
      And I haven't find any suggestion on the different threads.
      So After some tests, I want to post my css thrick.

      First, we will use the list-item display, cause the browser let you print any list image ;)
      And now you can imagine the css thrick :



      Code:
      	 display:list-item; 
      	 list-style-image:url('images/print/myImage.png');  
      	 list-style-position: inside;
      An yeahhhhhh it works :)
      Last edited by Rabbit; Feb 4 '13, 05:31 PM. Reason: Please use code tags when posting code.

      Comment

      Working...