Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048764 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2022-03-10 16:47 | 2022-03-30 12:13 | |||
Reporter | jmelin | View Status | public | |||||
Assigned To | fermin_gascon | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | 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 | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048764: JIRA 2750 - base64 image are printed widder than linked image | |||||||
Description | When printing using WebUSB and setting a base64 image in the template Then the image is widder | |||||||
Steps To Reproduce | Using a POS with an HP A799. In BO, Select a till and choose to print using HW Connect to the till and print a receipt with a logo that is inside the img folder of the HWM Select the same till and switch to WebUSB mode. Modify the template to print the base64 result of the previous image. Connect to the till (refresh if necessary) and print the same order After printing, you can see the image is widder than the previous one. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() ![]() ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0135697) jmelin (viewer) 2022-03-14 15:28 edited on: 2022-03-14 15:29 |
In this image "processed-206f79d6-0dbb-40a5-8ffe-d7c3ed55c1b5_Vi33Io1f.jpeg", the first image is base64 encoded and the second is linked to “https://agapes-test.cloud.openbravo.com/openbravo/utility/ShowImageLogo?logo=yourcompanybig [^]” original image "DitesNousCritiz.bmp" is (150px x 150px) |
(0136139) hgbot (developer) 2022-03-29 17:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/755 [^] |
(0136155) hgbot (developer) 2022-03-30 12:13 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/755 [^] |
(0136156) hgbot (developer) 2022-03-30 12:13 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: a1f064af674a5dca1ce76b9cee8ab87c8bf80e56 Author: Fermín Gascón <fermin.gascon@openbravo.com> Date: 30-03-2022 10:13:39 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a1f064af674a5dca1ce76b9cee8ab87c8bf80e56 [^] Fixed ISSUE-48764: Corrected format of printed images on hpa799 * Apply an aspect ratio factor to the image of 0.7 --- M web/org.openbravo.retail.posterminal/app/webprinter/escpos.js M web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/hpa799.js M web/org.openbravo.retail.posterminal/app/webprinter/webprinter.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-03-10 16:47 | jmelin | New Issue | |
2022-03-10 16:47 | jmelin | Assigned To | => Retail |
2022-03-10 16:47 | jmelin | OBNetwork customer | => Gold |
2022-03-10 16:47 | jmelin | Triggers an Emergency Pack | => No |
2022-03-11 09:36 | guilleaer | Assigned To | Retail => Triage Platform Conn |
2022-03-11 09:36 | guilleaer | Status | new => acknowledged |
2022-03-11 09:42 | jmelin | File Added: IMG_20220310_165444.jpg | |
2022-03-11 09:42 | jmelin | File Added: IMG_20220310_165543.jpg | |
2022-03-11 09:43 | jmelin | File Added: logo_Flunch.bmp | |
2022-03-11 09:43 | jmelin | File Added: printreceipt.xml | |
2022-03-14 15:27 | jmelin | File Added: processed-206f79d6-0dbb-40a5-8ffe-d7c3ed55c1b5_Vi33Io1f.jpeg | |
2022-03-14 15:28 | jmelin | Note Added: 0135697 | |
2022-03-14 15:28 | jmelin | File Added: DitesNousCritiz.bmp | |
2022-03-14 15:29 | jmelin | Note Edited: 0135697 | View Revisions |
2022-03-22 12:59 | adrianromero | Assigned To | Triage Platform Conn => fermin_gascon |
2022-03-22 12:59 | adrianromero | Status | acknowledged => scheduled |
2022-03-29 17:49 | hgbot | Merge Request Status | => open |
2022-03-29 17:49 | hgbot | Note Added: 0136139 | |
2022-03-30 12:06 | hgbot | Merge Request Status | open => approved |
2022-03-30 12:13 | hgbot | Resolution | open => fixed |
2022-03-30 12:13 | hgbot | Status | scheduled => closed |
2022-03-30 12:13 | hgbot | Note Added: 0136155 | |
2022-03-30 12:13 | hgbot | Fixed in Version | => RR22Q2 |
2022-03-30 12:13 | hgbot | Note Added: 0136156 |
Copyright © 2000 - 2009 MantisBT Group |