<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sample Program [POSPrinter]</title>
<style type="text/css">
<!--
a:link { color: #003399 }
a:visited { color: #003399 }
a:hover { color: red }
-->
</style>
</head>
<body bgcolor="#FFFFD8">
<h1><font size="4">EPSON OPOS ADK示例程序</font></h1>
<h2>设备:<strong> POS Printer</strong></h2>
<table border="0" cellpadding="3" cellspacing="3" width="100%">
<h4><strong> 仅<a href="#18">步骤18</a>被本地化。</strong></h4>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step1/sPrint1.vbp">Step 1 Print "Hello OPOS".</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>Normal printing without any errors.</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0">Open, ClaimDevice, PrintNormal, ReleaseDevice, Close</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0">DeviceEnabled</td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step2/sPrint2.vbp">Step 2 Print various types of characters.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>Here is an example of receipt.<br>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0"></td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0"></td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step3/sPrint3.vbp">Step 3 Print bitmaps.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>Before printing bitmaps on receipts, send the bitmap image to the printer using the new method, SetBitmap.<BR>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0">SetBitmap</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0">RecLetterQuality</td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step4/sPrint4.vbp">Step 4 Print barcodes.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>To print barcodes, follow the sample program provided.<br>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0">PrintBarCode</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0">RecLetterQuality</td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step5/sPrint5.vbp">Step 5 Writing a module that is independent of device types.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>Using OPOS enables to make a device-independent applicaition easier.<br>
This step shows how to change the Step 4 application to a device independent application.<br><br>
<ul>
<li>Regardless of a printer model, a bitmap is printed as half size of the paper width.</li>
<li>Regardless of a printer model, goods and the prices are printed along the edge of the paper.</li>
<li>Regardless of a printer model, spaces between the lines of text are fixed.</li>
<li>Regardless of a printer model, the barcode is printed with a height of 1cm.</li>
</ul>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0"></td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0">CapRecPapercut, CapRecPresent, CapRecBitmap, CapRecBarCode, MapMode, RecLineChars, RecLineWidth, RecLinesToPaperCut</td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step6/sPrint6.vbp">Step 6 Use the TransactionPrint.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>The advantages of using TransactionPrint are as follows.<br><br>
<ul>
<li>Performace improvement by outputting multiple methods at once.</li>
<li>Error handling can be performed in one location.</li>
</ul>
<br>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0">TransactionPrint</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0"></td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step7/sPrint7.vbp">Step 7 Use the asynchronous outputting.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>Asynchronous print enables the operation of a mouse or keyboard while printing.<br>
The EPSON OPOS enables to asynchronous output by changing the value of the AsyncMode property.<br>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0"></td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0">AsyncMode</td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step8/sPrint8.vbp">Step 8 Rotate printing.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>Prints on a receipt using Rotated Printing mode.<br>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0">RotatePrint</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0">CapRecLeft90, RecSidewaysMaxLines, RecSidewaysMaxChars, RecLineSpacing, RecLineHeight</td>
</tr>
<tr>
<td width="20%"><br></td>
</tr>
<tr>
<td colspan="2">
<h4><a href="Step9/sPrint9.vbp">Step 9 Print on slips.</a></h4>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<dl>
<dt>Include handling for insertion and removal.<br>
<FONT COLOR=#FF0000><FONT SIZE="2">
This sample program is not available for the following devices.
<LI>TM-L90 (with Peeler model)</LI>
<LI>TM-P60PEELER</LI>
</FONT>
</dt>
</dl>
</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Method</td>
<td bgcolor="#C8FFC0">BeginInsertion, EndInsertion, Beginremoval, Endremoval</td>
</tr>
<tr>
<td bgcolor="#C8FFC0">New Property</td>
<td bgcolor="#C8FFC0">CapSlpPresent, CapSlpLineChars, CapSlpLineWidth</td>
</tr>
<tr>
<td width="20%"><br></td>
<
评论1