Jump to content

QZ Tray 2.0 Raw Printing


herculanojs

Recommended Posts

  • 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

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...