Printing preferences in Mozilla - can they be set per page?

Discussion in 'Firefox' started by jeff@dnuk.com, Dec 17, 2003.

  1. Guest

    If you look at this file:

    prefs.js

    There are various printing preferences.

    I know you can create a user.js file, but I need the print settings to
    be specific to each page displayed in Mozilla.

    Since this is an internal LAN application only, I don't need to worry
    about browser comptability since all users are using Mozilla 1.5.

    I've put this line into a file called printing.js:

    user_pref("print.printer_\\\\pc3\\Samsung_ML-2150.print_margin_bottom",
    "5");


    This will set the bottom margin for printing to 5mm in user.js. I've
    included it in the HTML for this page with this line:

    <script language="JavaScript" type="text/javascript"
    src="/_elements/scripts/printing.js"></script>


    But it has no effect on the printing preferences.

    So is it possible to specify printing prefences in a web page
    displayed in Mozilla?

    Cheers,
    Jeff
     
    , Dec 17, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mefatout
    Replies:
    0
    Views:
    462
    mefatout
    Jul 28, 2004
  2. djeaux
    Replies:
    2
    Views:
    509
    Leonidas Jones
    Jul 29, 2004
  3. Kevin Sinn
    Replies:
    15
    Views:
    995
    Brian
    Nov 12, 2004
  4. Scott269
    Replies:
    0
    Views:
    778
    Scott269
    Nov 5, 2006
  5. Alan Browne

    Per page cost of printing (ink) by manufacturer

    Alan Browne, Sep 29, 2007, in forum: Digital Photography
    Replies:
    0
    Views:
    298
    Alan Browne
    Sep 29, 2007
Loading...

Share This Page