force IE to print background-colors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Felix Natter

    #1

    force IE to print background-colors

    hi,

    is there a way (html/css/javascript) to force IE to print
    background-colors exactly as specified in html/stylesheets?

    I tried to use @media print { ... } to override IE's "print background
    colors + images" option, but it doesn't work. Any other idea?

    I'd like to avoid relying on the user for setting this option.

    thanks,

    --
    Felix Natter
  • Steve Pugh

    #2
    Re: force IE to print background-colors

    Felix Natter <fnatter@gmx.ne t> wrote:
    [color=blue]
    >is there a way (html/css/javascript) to force IE to print
    >background-colors exactly as specified in html/stylesheets?[/color]

    No. It's a user option.
    [color=blue]
    >I tried to use @media print { ... } to override IE's "print background
    >colors + images" option, but it doesn't work. Any other idea?[/color]

    As you don't know what sort of printer the user has it's usually best
    to be conservative with print stylesheets.
    [color=blue]
    >I'd like to avoid relying on the user for setting this option.[/color]

    Bad luck.

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

    Comment

    • Keith Duncan

      #3
      Re: force IE to print background-colors

      In short I believe the answer is no:


      However if approp. you could produce images and/or pdf files - normally
      these should print as you wish with layout/colours as designed originally.

      **** or you could ***

      ++++++++++++++
      + try to use text +
      + +
      + as a method of +
      + +
      + styling pages +
      + +
      ++++++++++++++

      ***** not so colourful or exciting tho *****

      The other thing you should consider is whether the users printer is working
      properly.. they maybe running with one colour missing.
      ;-)
      If they are printing using CMYK and there is no Cyan... and your page uses
      that colour for background, then they wont see very much ;-)

      --
      Keith


      "Felix Natter" <fnatter@gmx.ne t> wrote in message
      news:m3fzjxg6go .fsf@werkstatt4 .ldc...[color=blue]
      > hi,
      >
      > is there a way (html/css/javascript) to force IE to print
      > background-colors exactly as specified in html/stylesheets?
      >
      > I tried to use @media print { ... } to override IE's "print background
      > colors + images" option, but it doesn't work. Any other idea?
      >
      > I'd like to avoid relying on the user for setting this option.
      >
      > thanks,
      >
      > --
      > Felix Natter[/color]


      Comment

      • Philipp Lenssen

        #4
        Re: force IE to print background-colors

        In article <m3fzjxg6go.fsf @werkstatt4.ldc >, fnatter@gmx.net says...[color=blue]
        > hi,
        >
        > is there a way (html/css/javascript) to force IE to print
        > background-colors exactly as specified in html/stylesheets?
        > (...)[/color]


        This ActiveX component might help:
        ScriptX is the SDK for seamlessly integrating all types of printing functionality into your web applications. Download and remove daily print challenges and print perfectly, every time.


        It allows you more complete control over such things as background-color
        printing, provided the user allows the component to run.

        Comment

        Working...