release notes for v1.5 minor adjustments
This commit is contained in:
parent
90f4869419
commit
198cf97776
@ -8,6 +8,11 @@ Printer emulator for zpl rendering engine. The emulator is based on the [labelar
|
||||
|
||||
## Release notes
|
||||
|
||||
### Version 1.5
|
||||
|
||||
* **New** Support to print multtiple labels in one request.
|
||||
* **New** Support to print multtiple labels in one request.
|
||||
|
||||
### Version 1.4.1
|
||||
|
||||
* **Fix** Minor fixes
|
||||
|
||||
BIN
ZplPrinter.zip
BIN
ZplPrinter.zip
Binary file not shown.
@ -21,9 +21,6 @@ $(document).ready(function () {
|
||||
var zpls = String.fromCharCode.apply(null, new Uint8Array(info.data)).split(/\^XZ/);
|
||||
if (!configs.keepTcpSocket) {
|
||||
chrome.sockets.tcp.close(info.socketId);
|
||||
notify('Closing TCP Socket.');
|
||||
} else {
|
||||
notify('Keeping TCP Socket.');
|
||||
}
|
||||
var factor = (configs.unit == '1') ? 1 : (configs.unit == '2') ? 2.54 : 25.4;
|
||||
var width = parseFloat(configs.width) / factor;
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Zpl Printer</title>
|
||||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
@ -10,6 +11,7 @@
|
||||
<script src="bootstrap/js/bootbox.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="panel panel-primary" style="height: 100%; width: 100%">
|
||||
<div id="panel-head" class="panel-heading" style="-webkit-app-region: drag;">
|
||||
@ -79,13 +81,15 @@
|
||||
<td>
|
||||
<div class="input-group" style="padding-right: 10px;">
|
||||
<span class="input-group-addon">Width</span>
|
||||
<input id="width" name="width" class="form-control" placeholder="4" step="0.01" required type="number" maxlength="2" min="1" max="200">
|
||||
<input id="width" name="width" class="form-control" placeholder="4" step="0.01" required type="number" maxlength="2" min="1"
|
||||
max="200">
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group" style="padding-right: 10px;">
|
||||
<span class="input-group-addon">Height</span>
|
||||
<input id="height" name="height" class="form-control" placeholder="6" step="0.01" required type="number" maxlength="2" min="1" max="200">
|
||||
<input id="height" name="height" class="form-control" placeholder="6" step="0.01" required type="number" maxlength="2" min="1"
|
||||
max="200">
|
||||
</div>
|
||||
</td>
|
||||
<td width="30%">
|
||||
@ -111,7 +115,8 @@
|
||||
<td>
|
||||
<div class="input-group" style="padding-right: 10px;">
|
||||
<span class="input-group-addon">Host</span>
|
||||
<input id="host" name="host" class="form-control" placeholder="127.0.0.1" required pattern="((^|\.)((25[0-5])|(2[0-4]\d)|(1\d\d)|([1-9]?\d))){4}$" type="text">
|
||||
<input id="host" name="host" class="form-control" placeholder="127.0.0.1" required pattern="((^|\.)((25[0-5])|(2[0-4]\d)|(1\d\d)|([1-9]?\d))){4}$"
|
||||
type="text">
|
||||
</div>
|
||||
</td>
|
||||
<td width="30%">
|
||||
@ -121,11 +126,17 @@
|
||||
</div>
|
||||
</td>
|
||||
<td width="30%">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="checkbox" style="padding-right: 10px;">
|
||||
<h5>
|
||||
<label>
|
||||
<label>
|
||||
<input id="ckb-keep-tcp-socket" type="checkbox" />
|
||||
Keep TCP socket
|
||||
Keep TCP socket alive
|
||||
<a
|
||||
href="#"
|
||||
data-toggle="tooltip"
|
||||
@ -133,7 +144,6 @@
|
||||
<span class="glyphicon glyphicon-question-sign"></span>
|
||||
</a>
|
||||
</label>
|
||||
</h5>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -153,7 +163,8 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="btn-group" style="padding-right: 10px;">
|
||||
<button id="btn-filetype" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" disabled>
|
||||
<button id="btn-filetype" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"
|
||||
disabled>
|
||||
Type<span class="caret"></span>
|
||||
</button>
|
||||
<ul id="filetype" class="dropdown-menu" role="menu">
|
||||
@ -190,4 +201,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -2,7 +2,7 @@
|
||||
"manifest_version": 2,
|
||||
"name": "Zpl Printer",
|
||||
"short_name": "Zpl Printer",
|
||||
"version": "1.4.2",
|
||||
"version": "1.5",
|
||||
"description": "Printer emulator for zpl rendering engine.",
|
||||
"author": "Simon Binkert",
|
||||
"app": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user