Hi members,
I am new here but an old Clipper programmer. I found HMG very useful for converting my old codes. The samples of HMG are a boon for programmers like me.
I am trying to use sample c:\MiniGUI\SAMPLES\Advanced\REPORT_INTERPRETER\.
All is OK, except that I could not print the report (mod) directly to printer. I followed the help.
I tried WinREPINT("Unified.mod","TEST",,,, .F. ,aDRV[choice]), but it did not work.
Please guide me.
Regards,
Anand
how to bypass preview and print directly using WinRepInt()
Moderator: Rathinagiri
- serge_girard
- Posts: 3165
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: how to bypass preview and print directly using WinRepInt()
Hello Anand, welcome from Belgium !
Serge
Serge
There's nothing you can do that can't be done...
Re: how to bypass preview and print directly using WinRepInt()
Hello Anand,Anand wrote:Hi members,
I am new here but an old Clipper programmer. I found HMG very useful for converting my old codes. The samples of HMG are a boon for programmers like me.
I am trying to use sample c:\MiniGUI\SAMPLES\Advanced\REPORT_INTERPRETER\.
All is OK, except that I could not print the report (mod) directly to printer. I followed the help.
I tried WinREPINT("Unified.mod","TEST",,,, .F. ,aDRV[choice]), but it did not work.
Please guide me.
Thanks for your interest to MiniguiEx
Please replace the following line in your file Unified.mod
with[Declare]80/PREV
and try again.[Declare]80/PRN
Hope that helps
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: how to bypass preview and print directly using WinRepInt()
Thanks gfilatov, it worked. I also found it works better if MiniPrint is selected instead of HBPRINT, in the sample exe.
Got [Declare]80/PRN/SELE work too, to select a printer driver before print.
Thanks a lot. HMG rocks.
Regards,
Anand
Got [Declare]80/PRN/SELE work too, to select a printer driver before print.
Thanks a lot. HMG rocks.
Regards,
Anand
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: how to bypass preview and print directly using WinRepInt()
Hello AnandAnand wrote:Hi members,
I am new here but an old Clipper programmer. I found HMG very useful for converting my old codes. The samples of HMG are a boon for programmers like me.
...
Anand
You are welcome the wonderful world of HMG
You may or not know, India is important for HMG and HMG users: first, builder of this marvelous forum Mr. Sri Rathinagiri is one of very first users and supporters of HMG. So we have many friends from India. And also one of very first members of this forum is your neighbor. He is a good programmer and good friend; do you know him ?
Salutes from Turkiye and happy HMG'ing
With my best regards
Viva INTERNATIONAL HMG
Re: how to bypass preview and print directly using WinRepInt()
No. But I know that many Indians have contributed a lot to HMG. I wish to contribute too to this fabulous free xbase community.esgici wrote:You may or not know, India is important for HMG and HMG users: first, builder of this marvelous forum Mr. Sri Rathinagiri is one of very first users and supporters of HMG. So we have many friends from India. And also one of very first members of this forum is your neighbor. He is a good programmer and good friend; do you know him ?
Regards,
Anand