How do I make a page available to download/print on my website?

H

Healthy1

I want to have a page available to download and print from my website. What
is the best way?
 
D

DavidF

I don't understand. A person can print the page from the browser. Are you
wanting to download PDF files or something? Please explain in more detail
what you are wanting to do...and it is always a good idea to tell us what
version of Publisher you are using.

DavidF
 
S

Spike

If you want a page to print automatically when it is accessed try this:

On the page you want to print
Select the insert html code fragment option in publisher
Copy & Paste the following script:

<script type="text/javascript">
function PrintWindow()
{
window.print();
CheckWindowState();
}

function CheckWindowState()
{
if(document.readyState=="complete")
{
window.close();
}
else
{
setTimeout("CheckWindowState()", 2000)
}
}

PrintWindow();
</script>

Place it anywhere on the page
Place a link to that page from your web site
When the link is opened the print dialog will open
A user can print by clicking OK or cancel to just view it
This is handy for PDF's

Spike
 
M

MAURH

Hi Healthy1

I have a website, designed in Pub. 2003, which has a printable booking form.
When the viewer goes to this page,
http://www.devonviewcaravans.co.uk/index_files/Booking.htm they just do
Ctrl P, the print box appears and they can print off as many forms as they
need. None of my viewers have ever had a problem. As DavidF said, anyone can
just print off any of the web pages.
The only thing I had to be careful of with this form was to make sure all
the details fitted onto an A4 sheet of paper when printed. There is nothing
more annoying than printing two pages when a few irrelevant words appear on
the second sheet! It takes a little work to get it right, but it's worth it.
But if it's just directions or instructions that you want to print, then
this is not a problem.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top