Jump to content


How to Print a Local Printer in unigui?

  • Please log in to reply
1 reply to this topic

#1 Edmar Frazao

Edmar Frazao


  • uniGUI Subscriber
  • PipPip
  • 16 posts
  • LocationFormiga - MG - Brasil

Posted 09 July 2018 - 12:13 PM

I have a printer installed on Android see model.

The printer is integrated.

How to print via unigui?

Viewing a PDF and choosing the print option from the browser would be an option.

But I want to print right on the local printer







in portugues:


Eu tenho uma impressora instalada no Android veja modelo.

A impressora é integrada.

Como imprimir via unigui?

Visualizar um pdf e escolher a opção imprimir do navegador seria uma opção.

Mas quero imprimir direto na impressora local

  • 0

#2 delphidude


    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 202 posts
  • LocationNorway

Posted 09 July 2018 - 07:12 PM

To access a local printer directly you have to set up and

go through a local process, and there are several ways to do that.


One is cross-origin resource sharing, CORS, and then the local

process runs an http server being triggered by a JS client call.


Another simple way is polling, like your local process does a

regular db polling to see if there is something to be printed.


A third way is to start messing with some addons like flash

or java to get direct hardware access. In this case the local

process is loaded on demand, in the previous cases it must

be running beforehand to serve the request.

  • 0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users