sgrdender
asked on
Print through explorer
Hi,
I have a problem
I want to print a html page without the headers and the footer. (no url of the printed page, no date, no title, no page x of X).
I don't want anything to be done manually at the client side.
I can be via an utility but can't cost much more than 500 €.
I also want to use an excisting webpage to be printed.
Is this clear :).
I know i want much.
Thanks
I have a problem
I want to print a html page without the headers and the footer. (no url of the printed page, no date, no title, no page x of X).
I don't want anything to be done manually at the client side.
I can be via an utility but can't cost much more than 500 €.
I also want to use an excisting webpage to be printed.
Is this clear :).
I know i want much.
Thanks
ASKER
isn't there anyway through pdf, word, ...
it just needs to print without the header/footer
it just needs to print without the header/footer
You can create a PDF or Word document using external components.
What is it you need to print, the content of a webpage or datbase content?
What is it you need to print, the content of a webpage or datbase content?
Hey,
The best way is to have a document (Word, PDF) that is the printable version of the page.
When the user chooses to print, the following HTML code will force the printable document to be printed instead of the HTML.
<link id="prt" name="prt" rel=alternate media=print href="yourpage.pdf"/>
References:
https://www.experts-exchange.com/questions/20758014/print-a-specific-file-with-javascript-function.html
https://www.experts-exchange.com/questions/20897130/EXPERTISE-I-Need-Help-Web-design-problem-fit-A4-size-paper-in-landscape-printing.html
ShalomC
The best way is to have a document (Word, PDF) that is the printable version of the page.
When the user chooses to print, the following HTML code will force the printable document to be printed instead of the HTML.
<link id="prt" name="prt" rel=alternate media=print href="yourpage.pdf"/>
References:
https://www.experts-exchange.com/questions/20758014/print-a-specific-file-with-javascript-function.html
https://www.experts-exchange.com/questions/20897130/EXPERTISE-I-Need-Help-Web-design-problem-fit-A4-size-paper-in-landscape-printing.html
ShalomC
ASKER
I need to print data from a database.
But i hope that i don't have to make a page for the web and a complete different one for printing.
Are there good external (not to expensive max -+ 500 €) components and where do i find them.
I doesn't have to be pdf, it can also be an export to word which has to be printed.
I heard something about activex components ?
But i hope that i don't have to make a page for the web and a complete different one for printing.
Are there good external (not to expensive max -+ 500 €) components and where do i find them.
I doesn't have to be pdf, it can also be an export to word which has to be printed.
I heard something about activex components ?
The alternative document can be created on the fly by a script.
<link id="prt" name="prt" rel=alternate media=print href="CreatePrintFile.asp? parm1=x&pa rm2=y"/>
It will have to query the database with exactly the same parms and create an appropriate file.
ShalomC
<link id="prt" name="prt" rel=alternate media=print href="CreatePrintFile.asp?
It will have to query the database with exactly the same parms and create an appropriate file.
ShalomC
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You cant achieve this, this is a clientside option which you have no control over, with or without an external component, sorry