troubleshooting Question

Possible to have a Text file viewer with "print" button

Avatar of scotthorton
scotthorton asked on
PHPJavaScriptJScript
8 Comments1 Solution221 ViewsLast Modified:
This is a continuation of a issue that came up as part of a different, previous thread:
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_24769808.html#a25481030

I have hundreds of text files on my webserver.  These are plain-text files that come from a legacy system.  I have a script that via pull-down menus allows the building and subsequent selection for display of the text files.

Depending on the browser, the user gets or does to get a menubar or print button (e.g. Google Chrome presents neither regardless of the toolbar or menubar setting in the code.

Does anyone know of a way to open a window where the user would be presented with a window that included a optional print button that allowed them to view, and the optionally print the text file being viewed.

We got close but not quite there from the other thread.  May not be possible.  Here is the sample code/webpage:

http://www.msws.org/testsel7b.html
(the default selections will produce a sample text file).


ASKER CERTIFIED SOLUTION
Heather Ritchey
Programmer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros