Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 355879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:03:32+00:00 2026-05-12T12:03:32+00:00

Even without a printer-friendly view to print directions, when I choose File->Print in my

  • 0

Even without a “printer-friendly” view to print directions, when I choose “File->Print” in my browser, the page is formatted differently than the original view. How does Google achieve this? Is it a special javascript facade?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T12:03:33+00:00Added an answer on May 12, 2026 at 12:03 pm

    There’ll be a print stylesheet defined in the code, something along the lines of:

    <link rel="stylesheet" href="print.css" type="text/css" media="print" />
    

    if the stylesheet were contained in a separate file. Or:

    @media print {
        body { font-size: 10pt }
    }
    @media screen {
        body { font-size: 13px }
    }
    @media screen, print {
        body { line-height: 1.2 }
    }
    

    if the styles are defined in the body of the code. The last definition shows that the same style can be applied to multiple media types.

    I’ve no idea how Google organise their codebase, and it is irrelevant for the purposes of this answer.

    Recognised media types are:

    all Suitable for all devices.
    braille
    Intended for braille tactile feedback
    devices.
    embossed Intended for paged
    braille printers.
    handheld Intended
    for handheld devices (typically small
    screen, limited bandwidth).
    print
    Intended for paged material and for
    documents viewed on screen in print
    preview mode. Please consult the
    section on paged media for information
    about formatting issues that are
    specific to paged media.
    projection
    Intended for projected presentations,
    for example projectors. Please consult
    the section on paged media for
    information about formatting issues
    that are specific to paged media.
    screen Intended primarily for color
    computer screens.
    speech Intended for
    speech synthesizers. Note: CSS2 had a
    similar media type called ‘aural’ for
    this purpose. See the appendix on
    aural style sheets for details.
    tty
    Intended for media using a fixed-pitch
    character grid (such as teletypes,
    terminals, or portable devices with
    limited display capabilities). Authors
    should not use pixel units with the
    “tty” media type.
    tv Intended for
    television-type devices (low
    resolution, color,
    limited-scrollability screens, sound
    available).

    From here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to send a print job to the printer without the user
This works: Entities.WorkOrderSet.Where(MyCustomMethod); This does not: Entities.WorkOrderSet.Where(o => MyCustomMethod(o)); ( [Edit] Even without new
Is there a way to find the character stored in file pointer without fgetc.
I am rendering an SSRS datareport. I want to print it directly, without showing
For some days now I've been battling with printing XPS to file without the
It seems that C# 3 hit me without me even noticing, could you guys
Even if I appointed id and a class to an img tag of the
Even Stack Overflow doesn't compress their HTML . Is it recommended to compress HTML?
Even though it's not part of HTTP 1.1/RFC2616 webapps that wish to force a
Even I used break() and exit() statements many times, I am bit confused between

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.