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
|
## 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
|
### Version 1.4.1
|
||||||
|
|
||||||
* **Fix** Minor fixes
|
* **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/);
|
var zpls = String.fromCharCode.apply(null, new Uint8Array(info.data)).split(/\^XZ/);
|
||||||
if (!configs.keepTcpSocket) {
|
if (!configs.keepTcpSocket) {
|
||||||
chrome.sockets.tcp.close(info.socketId);
|
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 factor = (configs.unit == '1') ? 1 : (configs.unit == '2') ? 2.54 : 25.4;
|
||||||
var width = parseFloat(configs.width) / factor;
|
var width = parseFloat(configs.width) / factor;
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Zpl Printer</title>
|
<title>Zpl Printer</title>
|
||||||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
@ -10,6 +11,7 @@
|
|||||||
<script src="bootstrap/js/bootbox.min.js"></script>
|
<script src="bootstrap/js/bootbox.min.js"></script>
|
||||||
<script src="js/main.js"></script>
|
<script src="js/main.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="panel panel-primary" style="height: 100%; width: 100%">
|
<div class="panel panel-primary" style="height: 100%; width: 100%">
|
||||||
<div id="panel-head" class="panel-heading" style="-webkit-app-region: drag;">
|
<div id="panel-head" class="panel-heading" style="-webkit-app-region: drag;">
|
||||||
@ -79,13 +81,15 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="input-group" style="padding-right: 10px;">
|
<div class="input-group" style="padding-right: 10px;">
|
||||||
<span class="input-group-addon">Width</span>
|
<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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-group" style="padding-right: 10px;">
|
<div class="input-group" style="padding-right: 10px;">
|
||||||
<span class="input-group-addon">Height</span>
|
<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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td width="30%">
|
<td width="30%">
|
||||||
@ -111,7 +115,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="input-group" style="padding-right: 10px;">
|
<div class="input-group" style="padding-right: 10px;">
|
||||||
<span class="input-group-addon">Host</span>
|
<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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td width="30%">
|
<td width="30%">
|
||||||
@ -121,11 +126,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td width="30%">
|
<td width="30%">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<br/>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
<div class="checkbox" style="padding-right: 10px;">
|
<div class="checkbox" style="padding-right: 10px;">
|
||||||
<h5>
|
|
||||||
<label>
|
<label>
|
||||||
<input id="ckb-keep-tcp-socket" type="checkbox" />
|
<input id="ckb-keep-tcp-socket" type="checkbox" />
|
||||||
Keep TCP socket
|
Keep TCP socket alive
|
||||||
<a
|
<a
|
||||||
href="#"
|
href="#"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
@ -133,7 +144,6 @@
|
|||||||
<span class="glyphicon glyphicon-question-sign"></span>
|
<span class="glyphicon glyphicon-question-sign"></span>
|
||||||
</a>
|
</a>
|
||||||
</label>
|
</label>
|
||||||
</h5>
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -153,7 +163,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="btn-group" style="padding-right: 10px;">
|
<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>
|
Type<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul id="filetype" class="dropdown-menu" role="menu">
|
<ul id="filetype" class="dropdown-menu" role="menu">
|
||||||
@ -190,4 +201,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -2,7 +2,7 @@
|
|||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Zpl Printer",
|
"name": "Zpl Printer",
|
||||||
"short_name": "Zpl Printer",
|
"short_name": "Zpl Printer",
|
||||||
"version": "1.4.2",
|
"version": "1.5",
|
||||||
"description": "Printer emulator for zpl rendering engine.",
|
"description": "Printer emulator for zpl rendering engine.",
|
||||||
"author": "Simon Binkert",
|
"author": "Simon Binkert",
|
||||||
"app": {
|
"app": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user