Results 1 to 11 of 11
  1. #1
    PHPNooby
    Guest
    I work as part of sales team for a small UK based electronic entertainment company. Our stock ordering system is going through an overhaul as a result of the increased demands being placed on the ordering system.

    Part of this streamlining process involves the creation of printable invoices from web pages and online forms. Privacy is an issue ,As these invoices will eventually be dispatched to customers and obviously we wish to protect certain information.

    When printing web pages from within Netscape Navigator 7, the document URL is printed (as is other information) in the header/footer of the printed page.

    It is possible to disable this feature on NN7 for PC by going:-

    1. File--&#62age Setup.
    2. Select the "Margins & Header/Footer" tab
    3. Changing the "Headers & Footers" roll-out menus accordingly

    This feature is not present on the MAC version of NN7. Is there an alternative method with which to turn off this unwanted information or is the MAC NN7 incable of removing the header/ footer from a printed web page?

    Any Information would be greatly appreciated (and may help me to obtain a small bonus&#33.

  2. #2

    muso's Avatar
    Member Since
    Jan 15, 2003
    Location
    Whangarei, New Zealand
    Posts
    2
    Specs:
    Pwnt
    As a general rule, a webpage cannot change internal settings of a computer (there are rare cases of exceptions). So my guess is that neither PHP, javascript, css or anything else is not going to be able to do what you want to do. I don&#39;t have experience with mac NN7, so all I can suggest is have a good hunt around in the menu bar and the preferences <_<
    I'm in your forums, writing sentences in a grammatically acceptable manner.

  3. #3
    PHPNooby
    Guest
    Cheers. <_<

    No option available anywhere I&#39;m affraid. Why it should have been ommited in the MAC version is beyond me. It&#39;s possibly to remove this information in IE but my employer insists on using NN7 so that&#39;s the way it must be. Sorry.

    I did here of a piece of third party software that would do the required task but I can&#39;t remember where I saw it.

  4. #4

    muso's Avatar
    Member Since
    Jan 15, 2003
    Location
    Whangarei, New Zealand
    Posts
    2
    Specs:
    Pwnt
    Oh well, can&#39;t win em all

    If you find that piece of software, it&#39;d be great if you could post a link to it. It might come in handy one day
    I'm in your forums, writing sentences in a grammatically acceptable manner.

  5. #5
    PHPNooby
    Guest
    user_pref("print.print_footercenter","");
    user_pref("print.print_footerleft","");
    user_pref("print.print_footerright","");
    user_pref("print.print_headerleft","");
    user_pref("print.print_headercenter","");
    user_pref("print.print_headerright","");

    I tried the proposed solution with no luck, on my MAC NN7, the header and footer still appear. I stuck the code in the &#39;user.js&#39; file as this is supported by NN7 and a preferred method to altering the prefs.js.

    What exactly is this JS doing? I assume it&#39;s getting the property "print_..." and filling it with an empty string, right? Could I there for do this?..

    user_pref("print.print_footercenter","Red");
    user_pref("print.print_footerleft","Green");
    user_pref("print.print_footerright","Blue");

    ...making the footer display the names of various colours?

    The more I investigate, the more I think the functionality to alter this header and footer information has been completely removed from the MAC version though quite why I&#39;m not sure.

  6. #6
    PHPNooby
    Guest
    I&#39;ve sinced used the about:config URL in netscape to find out what&#39;s happening to the preferences I&#39;m setting. According to the browser, they are being set correctly. Still, I&#39;m getting the same old results.

    Curiously though, I&#39;m getting the same results from both PC and MAC. Coult this mean that though my pref&#39;s are correct, they are not overriding the defaults?

  7. #7
    PHPNooby
    Guest
    I thought I&#39;d come back and explain the solution co&#39;z you said it might be usefull. It turns out that it&#39;s not a platform problem but rather a browser one. For some reason, a bug crept into NN7 that prevents it from reading the user pref&#39;s. Mozilla worked fine and removed the offending header information.

  8. #8

    muso's Avatar
    Member Since
    Jan 15, 2003
    Location
    Whangarei, New Zealand
    Posts
    2
    Specs:
    Pwnt
    I&#39;m glad you sorted it.

    Do you know if it works in Mac IE?
    I'm in your forums, writing sentences in a grammatically acceptable manner.

  9. #9
    PHPNooby
    Guest
    I&#39;d rather you didn&#39;t speak of such things. :blink:

    Only kidding&#33; I have yet to try it on the machine at work but I&#39;m going in to see if my PC based solution is cross-platform (and hopefully, to collect my bonus). I&#39;ve every reason to believe it is as the problem I was experiencing was identical for both MAC and PC. B)

  10. #10
    PHPNooby
    Guest
    Shock Horror&#33; The solution does not work on a MAC&#33; I think that the abilirty to alter header and footer ino&#39; as been completely removed from the MAC Mozilla&#33;

    Grimness. Is there another way around this problem (bearing in mind I am only an end user and have no access to any "behind the scenes" information".

  11. #11
    PHPNooby
    Guest
    I&#39;ve managed to get things sorted and can now override the user prefs in NN7 for.... PC.

    To get right to the root of the problem I had to find "comm.jar" in netscape/chrome/, open it up using Winzip and take out "printpageprefs.js" (or a similar file, I forget the exact name). In there was the very code that assigns the values to the Headr/Footer so by snipping it at the root I was able to remove this information from the PC version of NN7.

    When I tried this on a mac though (albeit using stuffit and simpletext, rather than winzip and notepad) I just made Netscape unstable, it even failed to load at all at times&#33;

    So as soon as I find out how to sucsesfully edit comms.jar on a MAC then I&#39;m sorted, it&#39;s just finding out how I do this that poses a problem&#33;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. big giant header
    By Creedmoor in forum OS X - Apps and Games
    Replies: 1
    Last Post: 05-06-2012, 10:48 PM
  2. Xcode Header Comments
    By aqnato in forum OS X - Apps and Games
    Replies: 0
    Last Post: 08-21-2009, 07:31 PM
  3. Disable color printing for Canon Pixma mp470
    By jjaspirant in forum Switcher Hangout
    Replies: 1
    Last Post: 01-15-2009, 09:05 AM
  4. how do you disable printing on different user accounts
    By lager100 in forum OS X - Operating System
    Replies: 0
    Last Post: 08-05-2008, 07:39 PM
  5. Missing Header Files
    By chappy in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 02-01-2005, 03:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •