Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053644
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POS Hardware Managerminorhave not tried2023-10-11 13:012023-10-11 13:01
ReporterjonaeView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053644: Add the possibility to choose the version for the QR generation

DescriptionAdd the possibility to choose the version for the QR generation
Steps To ReproduceCurrently 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
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 Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker