Re: How di you print a form?
Steve, you create the form as PDF and Word and save them somewhere.
(1) You then drag the PDF onto your page and select Add Link.
If you select your PDF icon so created, you can then click Edit Widget and open the Placeholder code (body) and you will find the link to the PDF file.
e.g., <a href="index_htm_files/2014-11-27000000.pdf"><img src="http://webdesigner.xara.com/pdficon_large.png" border="0"></a>.
You would copy this link to your Form (PDF) button as its link.
You then remove the PDF icon.
(2) A Word file, or most others, is a different approach.
Add a box to your page.
Select it and press Ctrl+Alt+Shift+A and in the dialog box find the required file and click OK.
(3) You can automate it a bit more by using Link > Link to file (PDF, AVI, etc) in its Web Properties.
I don't use this normally as it creates a genuine link.
You would then compose the link for your Form (Word) button as index_htm_files/<Word File Name.docx>.
Unfortunately, you have to keep the box on your page; I usually hide it underneath something.
I find this to be a poor design approach and I hope there is a better solution form Xara or another TGer.
Acorn
P.S. Just realised that if you have the buttons already, the third approach is exactly what you want for either the PDF or MS word file!!!
Re: How di you print a form?
Quote:
Originally Posted by
Acorn
Steve, you create the form as PDF and Word and save them somewhere.
(1) You then drag the PDF onto your page and select Add Link.
If you select your PDF icon so created, you can then click Edit Widget and open the Placeholder code (body) and you will find the link to the PDF file.
e.g., <a href="index_htm_files/2014-11-27000000.pdf"><img src="http://webdesigner.xara.com/pdficon_large.png" border="0"></a>.
You would copy this link to your Form (PDF) button as its link.
You then remove the PDF icon.
(2) A Word file, or most others, is a different approach.
Add a box to your page.
Select it and press Ctrl+Alt+Shift+A and in the dialog box find the required file and click OK.
(3) You can automate it a bit more by using Link > Link to file (PDF, AVI, etc) in its Web Properties.
I don't use this normally as it creates a genuine link.
You would then compose the link for your Form (Word) button as index_htm_files/<Word File Name.docx>.
Unfortunately, you have to keep the box on your page; I usually hide it underneath something.
I find this to be a poor design approach and I hope there is a better solution form Xara or another TGer.
Acorn
P.S. Just realised that if you have the buttons already, the third approach is exactly what you want for either the PDF or MS word file!!!
Hi,
Thank you.
I am not sure into what link within the Button web properties I am supposed to use, the Link to and Link to another, can't be used, so its either Link to web or email address or Link to file.
copying the placholder code from the PDF icon wont stay inside the Link to file and if I put that text into Link to Web box it does not connect to anything when seen through my browser, I also get a blank rectangle appear over the button text when I go to select the button.
If I use the Link to file box and go find my PDF the button works but only shows my PDF in a Adobe window with a print option, which is fine, I was looking for something like the windows print option when you clicked the button , like you get inside word or excel, and you just select print and you get the document you want.
Am I being overcomplicated here and gust accept the link to my PDF and use Adobe's print option?
I still get this rectangle box that appears when I go to select the button?
Steve
Re: How di you print a form?
I had assumed you had a purpose for requiring an MS Word version of the form.
Any external resource (file) will be opened by its viewer (PDF --> Adobe Reader, Acrobat or other); it knows how to handle printing.
It would be different if you wanted part of the page to print then you might be using CSS's @media print { .dontPrint { display: none; } } approach.
I was trying to show how to get a Link To value for you where you would just use the "index_htm_files/2014-11-27000000.pdf part.
Just use the third option and go for a PDF button; fewer people have MS Word installed anyhow.
Acorn
Re: How di you print a form?
Quote:
Originally Posted by
Acorn
I had assumed you had a purpose for requiring an MS Word version of the form.
Any external resource (file) will be opened by its viewer (PDF --> Adobe Reader, Acrobat or other); it knows how to handle printing.
It would be different if you wanted part of the page to print then you might be using CSS's @media print { .dontPrint { display: none; } } approach.
I was trying to show how to get a Link To value for you where you would just use the "index_htm_files/2014-11-27000000.pdf part.
Just use the third option and go for a PDF button; fewer people have MS Word installed anyhow.
Acorn
Hi,
again thanks I have gone for the option where the button when selected opens up the PDF or docx and then anyone can print from the relevant programme .
Thanks
Steve Bishop