Epson TM-T88IV ReStick Note technique - Page 5

Parcourez en ligne ou téléchargez le pdf Note technique pour {nom_de_la_catégorie} Epson TM-T88IV ReStick. Epson TM-T88IV ReStick 8 pages. Receipt restick printer in windows using an ethernet connection
Également pour Epson TM-T88IV ReStick : Brochure (2 pages), Spécifications (2 pages), Manuel de l'utilisateur (15 pages), Manuel de l'utilisateur (9 pages), Manuel d'installation pas à pas (14 pages), Bulletin technique (5 pages), Manuel (10 pages), Manuel de l'utilisateur (20 pages)

Epson TM-T88IV ReStick Note technique
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
is", and there is no guarantee that any of the examples shown will work in your particular application.

3 Connect the Epson TM-T88IV printer

Connect the TM-T88IV printer to the media player/monitor using the USB cable. The printer should
be ready for use.
To initiate printing a print command has to be sent to the printer. In this application note one
possible way of doing this is described.
In this example we use a web page "printerpage.html" on which there is a button initiating the
printout of the content of a framed element contained in the file "printout.html" on the same page.
printerpage.html code
<html>
<head>
<script>
function printframe(frameid)
{
document getElementById(frameid) contentWindow print();
}
</script>
</head>
<body>
<input type="button" value="print iframe"
onclick="printframe('printcontent')">
</input>
<iframe id="printcontent" src=" ./printout.html"
Style="display block"> <!--use style="visibility hidden" to hide
iframe... -->
</iframe>
</body>
</html>
printout.html code
<html>
<head></head>
<body>
<font style="font-size:40px;">
<p>40px text
<i>In Italics</i></p>
</font>
</body>
</html>
Technical Note – Epson TM-T88IV printer
5