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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:14:01+00:00 2026-05-23T02:14:01+00:00

In my web application there is a page such as /article/id . I already

  • 0

In my web application there is a page such as /article/id. I already add a “print” link on this page, so when user click print link he will be linked to a print friendly page called /article-print/id. The print friendly page use a little different content and totally different css.

This works fine.

But when a user view /article/id web page and he click the browser’s print button (file/print or ctrl+P) instead of my print link, the printer will print /article/id page. This is not what I want.

Is there something I can do to make clicking browser’s print button redirected to other page just like /article-print/id?

I know a similar method which is adding a

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

into /article/id page. So when browser’s print button is clicked, the browser will use print.css to render the print page.

Also this is not what I want. I think since I have already had a print friendly page /article-print/id, can I just redirect print button to it?

Thanks.

  • 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-23T02:14:02+00:00Added an answer on May 23, 2026 at 2:14 am

    You cannot redirect or redefine the browser’s print button. That would be a security hole, if you could.

    You can use print CSS (the best way) or you can offer your own print button and hope that the user decides to use it (she won’t always).

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

Sidebar

Related Questions

A 3rd party web application has a cross-scripting security issue. There is one page
In my web application there is a process that queries data from all over
I'm working on a Wicket-based web application. In the application there are buttons that
we need reports in our web application and there is the free ReportViewer Control
There are lots of web application frameworks available these days, for pretty much every
there was a web application, that you could configure so that over the api,
There is a web application for me to build, and rather than image map,
Is there any difference between website and web application project? What if you are
Is there any way for a web application to access the location data of
Is there a general rule of thumb to follow when storing web application data

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.