wallacepos
wallacepos copied to clipboard
webprint is not working when wallacepos is installed in public ip
I had wallacepos running it in local network with host ips in the range of 192.168.1.*. I am able to print using via WebPrint. But when I installed in the dedicated host (digital ocean droplet) in https, the print is not going through. Even the "Test" utility in the Settings-> Printing -> Receipt Printing ->Connection section is not going through
Context
[provide more detailed introduction to the issue itself and why it is relevant]
Process
- Install wallace pos in dedicated server with public ip over https
- Install Webprint in local computer and start it
- In Settings -> Printing -> Receipt Printing ->Connection Method: Web Print ESCP , Type: Raw, 127.0.0.1:8080 opens, and a list of printer gets populated.
- After selecting the Printer, clicking on "Test", The print is not happening
- There are no messages in Console.
Expected result
The receipt print should happen via Webprint, even if wallacepos is running from public ip
Current result
The receipt print is not happening via Webprint when Wallacepos is running from public ip
Possible Fix
I think it is because the Chrome browser blocking content from https to http. But there are no errors thrown in the Console.
After looking through, I found out the print was not happening due to invalid file path for image logo. After fixing the path, the print was going through
Are you using printing type raw or bitmap?
On 7 August 2017 10:01:11 PM AEST, amol-beast [email protected] wrote:
I had wallacepos running it in local network with host ips in the range of 192.168.1.*. I am able to print using via WebPrint. But when I installed in the dedicated host (digital ocean droplet) in https, the print is not going through. Even the "Test" utility in the Settings-> Printing -> Receipt Printing ->Connection section is not going through
Context
[provide more detailed introduction to the issue itself and why it is relevant]
Process
- Install wallace pos in dedicated server with public ip over https
- Install Webprint in local computer and start it
- In Settings -> Printing -> Receipt Printing ->Connection Method: Web Print ESCP , Type: Raw, 127.0.0.1:8080 opens, and a list of printer gets populated.
- After selecting the Printer, clicking on "Test", The print is not happening
- There are no messages in Console.
Expected result
The receipt print should happen via Webprint, even if wallacepos is running from public ip
Current result
The receipt print is not happening via Webprint when Wallacepos is running from public ip
Possible Fix
I think it is because the Chrome browser blocking content from https to http. But there are no errors thrown in the Console.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/micwallace/wallacepos/issues/113
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Thanks for the info. I'll reopen this issue until I can get around to patching the underlying bug. The receipt should print without the logo, however it stalls since the script relies on the onload event to continue the printing process.
The printing type is raw. Thanks
@amol-beast can you share the installation guide for installing wallacepos on localhost on window 10?
Thanks in advance.