excuse me
i am new on this forum and want to learn MH
there is a guide "how to" for begin ?
ok to study examples but a text semi-complete is better ![]()
thanks very much
Daniele
excuse me
i am new on this forum and want to learn MH
there is a guide "how to" for begin ?
ok to study examples but a text semi-complete is better ![]()
thanks very much
Daniele
Thanks mr. Linares
in a small test i see that in browser work also the serial port !! Wonderfull
lComOk := com_Open(1, nBuff_size) // Open port
IF ! com_Open(1, 1000)
? "Com non presente"
else
? "Com1 presente"
endif
reply correctly !!
Little question:
is it possible to print overcoming browser restrictions?
I'll explain
with a button on the web page it is possible to print directly to a printer,
perhaps not the default one, without going through the printer choice of the browser?
thanks for your work
Daniele
Daniele,
Please try:
SET PRINTER on | OFF | <xlToggle>
SET PRINTER TO [<xcDevice> | <xcFile> [ADDITIVE]]
then use, QOut( "Hello world" )
wow !! to a file work !!!
was it so easy ?!!????
unbelievable !
thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks
but .... how to send to an usb/network printer ?
Daniele
![]()
![]()
Dear mr. Antonio, dear all friends
in my little tests i found that is possible to use the printer and serial port of the server
but is possible to use serial or print directaly to the serial/printer of the pc client ?
in other words, print or otherwise by skipping the browser's security settings ?
thanks in advance
Daniele
No replay?
Please...
![]()
fdaniele,
can you print a web page? You can use for example window.print (). See https://www.w3schools.com/jsref/met_win_print.asp
so easy ?!?
woooowwwww
correction:
thanks Mr. Carles
anyway the preview of the print is showed
i want to print directaly (like a POS)
Thanks anyway mr. Carles, really appreciate your help
Daniele