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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:44:52+00:00 2026-05-20T18:44:52+00:00

Is it possible to output markup for the printer that is not actually embedded

  • 0

Is it possible to output markup for the printer that is not actually embedded on the page?

The issue is that I have a Flash app which renders dynamic data from a backend in such a way that isn’t really print friendly, but the client wants to have a printable version as well with raw data. I can easily output such content with a simple PHP page query, but the problem is getting this to be sent to the printer when the user invokes printing.

Is the only option to create a custom print button and require the user to click that (instead of their browser print function), then load the PHP page in a new window and print that page? Or can I effectively override the HTML content that gets sent to the printer in the same way I can override the CSS with the media attribute?

  • 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-20T18:44:52+00:00Added an answer on May 20, 2026 at 6:44 pm

    The HTML document sent to the printer must be the same one that is sent to the browser. A special print layout, as you suggest, is one common way of implementing this behavior.

    Another might be to take the CSS media attribute idea and run with it: render the raw data in the original HTML document, hide it in the screen stylesheet, and show it in the print stylesheet. However, since it sounds like most of the navigation in this app occurs within the SWF and not on the browser’s location bar (I’m still not totally sure I get the question), this may not be feasible. Perhaps the Flash file could send the raw data to the Javascript on the page to format it into the hidden HTML, but this might be a bit too much work to be worth the feature, and users might not even realize that they’re meant to just print that page. I know I wouldn’t be expecting that to just magically happen.

    A print-me page might be your best option at this point. The Javascript+CSS solution might work, but it’s probably not worth your time.

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

Sidebar

Related Questions

I am wondering whether or not it is possible to output the class name
I have a table of values (actually written in LaTeX markup) and I can
Is it possible to output the SQL change scripts that 'rake db:migrate' produces?
Possible Duplicate: Output of command in Bash script to Drop-down box? I have an
Is it possible to output such a escape code so that the caret in
is that possible to output the summary of INT variables in (mysql_fetch_array)? $result=mysql_query(SELECT numbers
I've heard it's possible to output content from an iPad app to an external
As per the title, is it possible to output the XML that a new
Is it possible to output specific JSON data (exported from Firefox bookmarks) using PHP.
I'd just like to know, is it possible to output the processing of a

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.