Jump to content

Recommended Posts

Posted

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.
  • 2 years later...
  • 1 month later...
Posted
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

  • 1 year later...
Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...