From 25e8923394fb8d926a8afaa24744e6e75d19be21 Mon Sep 17 00:00:00 2001 From: Franck ALARY Date: Wed, 17 May 2023 12:43:13 +0200 Subject: [PATCH] adding badges to documentation --- README.md | 10 ++++++---- .../java/com/dantsu/thermalprinter/MainActivity.java | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 16bd4a9..4e585e7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ [![Jitpack package repository - ESCPOS-ThermalPrinter-Android v3.3.0](https://jitpack.io/v/DantSu/ESCPOS-ThermalPrinter-Android.svg)](https://jitpack.io/#DantSu/ESCPOS-ThermalPrinter-Android/3.3.0) +[![](https://jitpack.io/v/DantSu/ESCPOS-ThermalPrinter-Android/month.svg)](https://jitpack.io/#DantSu/ESCPOS-ThermalPrinter-Android/3.3.0) +[![](https://jitpack.io/v/DantSu/ESCPOS-ThermalPrinter-Android/week.svg)](https://jitpack.io/#DantSu/ESCPOS-ThermalPrinter-Android/3.3.0) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) # Android library for ESC/POS Thermal Printer @@ -135,7 +137,7 @@ printer "[L]Tel : +33801201456\n" + "[L]\n" + "[C]831254784551\n" + - "[C]http://www.developpeur-web.dantsu.com/" + "[C]https://dantsu.com/" ); ``` @@ -185,7 +187,7 @@ new Thread(new Runnable() { "[L]Tel : +33801201456\n" + "[L]\n" + "[C]831254784551\n" + - "[C]http://www.developpeur-web.dantsu.com/" + "[C]https://dantsu.com/" ); } catch (Exception e) { e.printStackTrace(); @@ -271,7 +273,7 @@ printer "[L]Tel : +33801201456\n" + "[L]\n" + "[C]831254784551\n" + - "[C]http://www.developpeur-web.dantsu.com/" + "[C]https://dantsu.com/" ); ``` @@ -389,7 +391,7 @@ Prints a barcode 128 (height: 10mm, width: ~40mm, text: displayed above). `` tag allows you to print a QR code. Inside the tag you need to write the QR code data. -- `http://www.developpeur-web.dantsu.com/` : +- `https://dantsu.com/` : Prints a QR code with a width and height of 20 millimeters. - `123456789` : Prints a QR code with a width and height of 25 millimeters. diff --git a/app/src/main/java/com/dantsu/thermalprinter/MainActivity.java b/app/src/main/java/com/dantsu/thermalprinter/MainActivity.java index 5fd07bd..0e92d52 100644 --- a/app/src/main/java/com/dantsu/thermalprinter/MainActivity.java +++ b/app/src/main/java/com/dantsu/thermalprinter/MainActivity.java @@ -299,7 +299,7 @@ public AsyncEscPosPrinter getAsyncEscPosPrinter(DeviceConnection printerConnecti "\n" + "[C]831254784551\n" + "[L]\n" + - "[C]http://www.developpeur-web.dantsu.com/\n" + "[C]https://dantsu.com/\n" ); } }