I need to print the following invoice.xml data onto a standard
pre-printed invoice formset. Meaning a form that is pre-printed with
boxes, blocks and columns which identify where each data element must
print.
When displayed by a browser, this record appears nicely as an invoice
form, after being translated through an xsl style sheet (titles and
headings are displayed from the style sheet.) Ideally, I want to place
a button on this screen which will provide a way to print the displayed
invoice onto the pre-printed invoice formset.
invoice.xml
-<invoice id="178761" custid="1212" model="20">
<customer>MARITIME SHOPPING</customer>
<custad1>c/o MARINE FITTERS</custad1>
<custad2>31375 JOHNSON DR</custad2>
<custad3>SAN DIEGO</custad3>
<custad4>CA</custad4>
<custad5>91821</custad5>
<contact>Davy Jones</contact>
<phonbr>555-444-5555</phonbr>
<faxnbr>555-333-4321</faxnbr>
<ordate>06 Apr 2006</ordate>
<schedule>Early April</schedule>
- <lines>
- <line id="1">
<optdesc>Compass</optdesc>
<featid>ABC700</featid>
<feature>700 - 3in Compass</feature>
<qty>1</qty>
<price>$270</price>
<item>1231148</item>
</line>
- <line id="2">
<optdesc>Marine Radio</optdesc>
<featid>STND100</featid>
<feature>Standard Radio Transceiver Model 100</feature>
<qty>1</qty>
<price>$650</price>
<item>13802</item>
</line>
</lines>
<total>$920</total>
<dest>CALIFORNIA</dest>
<tax>73.60</tax>
<freight/>
<discount/>
<amount>$993.60</amount>
</invoice>