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 6372421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:14:10+00:00 2026-05-25T01:14:10+00:00

The website I’m working on currently has a print-icon which pop ups a printer-friendly

  • 0

The website I’m working on currently has a print-icon which pop ups a printer-friendly page and the prints look fine. However, if the user hits CTRL+p (not pressing the “print icon”) the printer friendly version is not used. So the problem is how do I get the user to print the printer-friendly version when they hit CTRL+p?

What might pose as an obstacle, is that the printer friendly page is generated using XSLT. Any ideas?

I’ve looked through some articles that involve using CSS, but then it seemed that I need to redefine/create new printer-friendly page/CSS-layout and I did not see how I could implement this with XSLT. I still include a CSS-tag, in case some of you brilliant minds have a way to solve this using CS. If it’s not possible, I’m sorry for posting with wrong tags..

  • 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-25T01:14:11+00:00Added an answer on May 25, 2026 at 1:14 am

    Use a style sheet with the @media print option to hide the none print elements.

    I’ve had a quick go and I think I’ve stripped most elements, you should be able to tweak this further to better suit your needs.

    @media print {
    
      #col1,#col2 { display:none; }
    
      #crumbs,#header_smallmenu,#header_search { display:none;}
    
      .solidblockmenu { display:none; }
    
      .addthis_toolbox addthis_default_style { display:none;}
    
      #hbfooter, .hbfooter { display:none; }
    
      body {background-image: none;}
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The website I'm currently working on is supposed to be in multiple languages (4
Website has about 40-50 images to load on each page, i am looking for
This website: http://www.twosides.co/ on its main page if you look at it for a
My website has various pages and every page has a duplicated navigation menu along
My website images look blurry for users with retina displays. (For example, on the
The website I'm create has Events. Events have a title, date, and the userids
A website I've been working on will not match data using a PHP (preg_match)
My website has a sponsorship system that allows users to invite friends by email
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has

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.