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
how to ?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to ?
Daniele,
https://github.com/FiveTechSoft/mod_harbour/wiki
1. what is it mod_harbour
mod_harbour is a module extension for Apache that supports Harbour PRGs (and HRBs) same as Apache supports PHPs
2. How to install mod_harbour
https://github.com/FiveTechSoft/mod_har ... /readme.md
https://github.com/FiveTechSoft/mod_har ... dows-Xampp
3. Functions provided my mod_harbour:
https://github.com/FiveTechSoft/mod_har ... od-Harbour
4. Using DBFs from the server:
https://github.com/FiveTechSoft/mod_har ... the-server
5. Using MySQL from the server:
https://github.com/FiveTechSoft/mod_har ... me-records
6. Troubleshoting
https://github.com/FiveTechSoft/mod_har ... ot-working
7. How to use your own libraries:
https://github.com/FiveTechSoft/mod_har ... od_harbour
8. How to activate the rewrite module:
https://github.com/FiveTechSoft/mod_har ... ite-module
9. Tables and form designers:
https://github.com/FiveTechSoft/mod_har ... -Designers
10. MVC: Model View Controller, the right way to use mod_harbour:
Model (data), View (user interface), Controller (requests and results administrator) is the right way to develop web apps.
You can use the Mercury library for mod_harbour that implements MVC:
https://github.com/FiveTechSoft/mod_harbour/wiki
1. what is it mod_harbour
mod_harbour is a module extension for Apache that supports Harbour PRGs (and HRBs) same as Apache supports PHPs
2. How to install mod_harbour
https://github.com/FiveTechSoft/mod_har ... /readme.md
https://github.com/FiveTechSoft/mod_har ... dows-Xampp
3. Functions provided my mod_harbour:
https://github.com/FiveTechSoft/mod_har ... od-Harbour
4. Using DBFs from the server:
https://github.com/FiveTechSoft/mod_har ... the-server
5. Using MySQL from the server:
https://github.com/FiveTechSoft/mod_har ... me-records
6. Troubleshoting
https://github.com/FiveTechSoft/mod_har ... ot-working
7. How to use your own libraries:
https://github.com/FiveTechSoft/mod_har ... od_harbour
8. How to activate the rewrite module:
https://github.com/FiveTechSoft/mod_har ... ite-module
9. Tables and form designers:
https://github.com/FiveTechSoft/mod_har ... -Designers
10. MVC: Model View Controller, the right way to use mod_harbour:
Model (data), View (user interface), Controller (requests and results administrator) is the right way to develop web apps.
You can use the Mercury library for mod_harbour that implements MVC:
Re: how to ?
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to ?
Daniele,
Please try:
SET PRINTER on | OFF | <xlToggle>
SET PRINTER TO [<xcDevice> | <xcFile> [ADDITIVE]]
then use, QOut( "Hello world" )
Please try:
SET PRINTER on | OFF | <xlToggle>
SET PRINTER TO [<xcDevice> | <xcFile> [ADDITIVE]]
then use, QOut( "Hello world" )
Re: how to ?
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to ?
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
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
Re: how to ?
fdaniele,
can you print a web page? You can use for example window.print (). See https://www.w3schools.com/jsref/met_win_print.asp
can you print a web page? You can use for example window.print (). See https://www.w3schools.com/jsref/met_win_print.asp
Salutacions, saludos, regards
"...programar es fácil, hacer programas es difícil..."
https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
"...programar es fácil, hacer programas es difícil..."
https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
Re: how to ?
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
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