Jump to content

QZ Tray 2.0 Raw Printing


herculanojs

Recommended Posts

https://qz.io/

 

Has anyone used QZ Trya on unigui and would have had some example of its use?
 
The biggest difficulty today in the unigui is the printing without operator intervention.
 
Anyone understanding java script, could put some example of how we would use this in unigui
 
We would appreciate it.
Link to comment
Share on other sites

  • 2 years later...
  • 1 month later...
On 8/18/2020 at 11:12 PM, Hayri ASLAN said:

I am getting an error while compiling.
procedure TUniQZ.Connect;
begin
   JSCallGlobal ('qz.websocket.connect', [], 'tmp');
   JSCallGlobal ('tmp.catch', [JSFunction ('e', 'ajaxRequest (' # 1 ',' 'onError ", {error: e});')]);
   JSCallGlobal ('tmp.then', [JSFunction ('', 'ajaxRequest (' # 1 ', "onConnected");')]);
end;

JSCallGlobal is waiting for an object at the end

image.png.2aab037573231965b26cbb578b1a3e69.png

Link to comment
Share on other sites

  • 1 year later...
On 8/19/2020 at 10:12 AM, Hayri ASLAN said:

already download the file but where i can download the component, but

image.png.eabc6cc65394c06a35cf6819da84a191.png

 

is it compatible with unigui ver 1506 ?

Link to comment
Share on other sites

4 hours ago, lfgarrido said:

Hi @donlego

QZ is paid, if isn't a problem for you, otherwise I'd like to recommend this project which is totally free and ease to use with uniGUI

https://github.com/imTigger/webapp-hardware-bridge

o, i dont know if the qz tray is paid ,

do you have example for the git link connected with unigui 

thank's

 

Link to comment
Share on other sites

On 3/14/2022 at 1:54 AM, donlego said:

o, i dont know if the qz tray is paid ,

do you have example for the git link connected with unigui 

thank's

 

 

You can download and install released exe from:

https://github.com/imTigger/webapp-hardware-bridge/releases/download/0.14.0/whb-0.14.0.exe

 

Also you can check demo folder of source code at git repo.

 

I attached a simple demo with a uniHTMLFrame containing a piece of printer demo code.

 

uniHwBridge.zip

  • Thanks 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...