Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0053644 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Retail Modules] Web POS Hardware Manager | minor | have not tried | 2023-10-11 13:01 | 2023-10-11 13:01 | |||||||
Reporter | jonae | View Status | public | |||||||||
Assigned To | Triage Platform Conn | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0053644: Add the possibility to choose the version for the QR generation | |||||||||||
Description | Add the possibility to choose the version for the QR generation | |||||||||||
Steps To Reproduce | Currently the QR version generated in the hardware manager can not be selected, so the QR generated is in the default version (7). It would be great to add this possibility in the hardware manager properties in the same way the quality and the size of the QR is choosen. | |||||||||||
Proposed Solution | - In the openbravohw.properties.template add: # Possible version: 1-40 qr.version = 7 - In the com.openbravo.pos.printer.ticket.PrintItemQR class, a new map of properties needs to be added to the encode request. HashMap<EncodeHintType, Object> map = new HashMap<>(); map.put(EncodeHintType.QR_VERSION, version); // (1-40) genqr = MatrixToImageWriter.toBufferedImage( new QRCodeWriter().encode(code, BarcodeFormat.QR_CODE, 1, 1, map), new MatrixToImageConfig(0xFF000000, 0x00000000)); where version variable is the version set in the openbravohw.properties file | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
![]() |
|
![]() |
|||
Date Modified | Username | Field | Change |
2023-10-11 13:01 | jonae | New Issue | |
2023-10-11 13:01 | jonae | Assigned To | => Triage Platform Conn |
2023-10-11 13:01 | jonae | OBNetwork customer | => No |
2023-10-11 13:01 | jonae | Triggers an Emergency Pack | => No |
Copyright © 2000 - 2009 MantisBT Group |