Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    is there a way to get around print.css

    I've been asked to print out the contents of a couple of 20-page web sites, so the company executives can meet and go over the site contents. However, the sites have a print.css setting that forces the pages to print in a printer-friendly fashion. Unfortunately, that's not at all appropriate for the purposes of the meeting, where the people involved want to be able to actually see the site as it looks, with graphics and formatting and links. Is there any way to get around the print.css settings and print what I see on the screen?

    I'm aware that I can do a print screen and paste into a graphics program, but with roughly 100 pages of content, some of them multiple screens long, it could literally take hours to do that for each individual page.

  • #2
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not ideal for a large number of pages, but it does work:

    - In Opera, view the source of the page.
    - Remove any lines which import print stylesheets
    - Apply Changes (this just saves the cached copy; the original on the server will remain untouched)
    - Print the page

    This gets around one of the problems (it removes print styling from multiple page documents, thus you don't have to screen capture every page individually), but you're still stuck doing this for every page. Better than nothing?

    Also, though I haven't experimented with it yet to know if it really would be helpful, you might also want to try Opera's Quick Preferences > Edit site preferences > Display > My Stylesheet; maybe this would let you use a site-wide custom stylesheet to override styles, or strip out the print styles?

    (Sorry for the Opera-centric answer, but it's what I'm most familiar with. There are lots of plug-ins available for Firefox -- maybe one of them will help here?)
    "I don't see any method at all, sir."

  • #3
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You can also use the web developer toolbar in Firefox to disable certain stylesheets AFAIK.
    OracleGuy

  • #4
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    you could always take screen shots

    CTRL-PRINT SCREEN
    You can not say you know how to do something, until you can teach it to someone else.

  • #5
    ley
    ley is offline
    New Coder
    Join Date
    Jun 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by timgolding View Post
    you could always take screen shots

    CTRL-PRINT SCREEN
    What if the pages he has to print have more content past what the screen can see?

    I'd go with the Firefox route, or the Opera route, seems like your only options.

  • #6
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    Firefox also has an Extension for printing the full size page, regardless o the monitor size. check out their Extension called : Screen grab!

    Photobucket makes it smaller than what is on my machine. It actually builds an Image about 1250 x 2350 tall on the local machine, and PB max 800 x 600 only, so if you want, I can send te full size and you will see that the image is life size.

  • #7
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    ill have a look for that. I have some FireFox addon that lets me right click on a page and choose save as image. This captures the whole page regardless of screen resolution. I wonder if one of these add ons could be invoked from a script.
    You can not say you know how to do something, until you can teach it to someone else.

  • #8
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    ^ Could you tell me that one please! I used to have it and I need it back but I can't remember it so I can't find it
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #9
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    You can not say you know how to do something, until you can teach it to someone else.

  • #10
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That Firefox add on might be the best bet for me. Doing the print screen method adds so many extra steps it's not even worth considering unless it's a last resort. Even this adds a few extra steps, but it's definitely better than the alternatives I've found. Thanks for the help.

  • #11
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    good. This method should be OK, unless you were grabbing a huge site.
    You can not say you know how to do something, until you can teach it to someone else.

  • #12
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I think it's going to be about 100 pages total, so not exactly fun, but it won't kill me ... and it's definitely less painful than ticking off a bunch of company executives when I can't follow through on the assignment.

  • #13
    Regular Coder
    Join Date
    Jun 2002
    Location
    Flint, Michigan, USA
    Posts
    632
    Thanks
    1
    Thanked 21 Times in 21 Posts
    I would hope that the pages all pull from a central CSS file and that you are referencing your own company's pages. If so, then temporarally alter the CSS file to get rid of (comment out) the offencing CSS, print the pages, and put it back.

  • #14
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    good luck
    You can not say you know how to do something, until you can teach it to someone else.


  •  

    Posting Permissions

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