Page 1 of 1

how to bypass preview and print directly using WinRepInt()

Posted: Tue May 24, 2016 4:54 pm
by Anand
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

Re: how to bypass preview and print directly using WinRepInt()

Posted: Wed May 25, 2016 7:34 am
by serge_girard
Hello Anand, welcome from Belgium !

Serge

Re: how to bypass preview and print directly using WinRepInt()

Posted: Wed May 25, 2016 1:04 pm
by gfilatov
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.
Hello Anand,

Thanks for your interest to MiniguiEx :!:

Please replace the following line in your file Unified.mod
[Declare]80/PREV
with
[Declare]80/PRN
and try again.

Hope that helps :idea:

Re: how to bypass preview and print directly using WinRepInt()

Posted: Wed May 25, 2016 4:00 pm
by Anand
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. :D

Regards,

Anand

Re: how to bypass preview and print directly using WinRepInt()

Posted: Sat Jul 23, 2016 10:09 am
by esgici
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.
...
Anand
Hello Anand

You are welcome the wonderful world of HMG :D

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 :D

With my best regards :D

Re: how to bypass preview and print directly using WinRepInt()

Posted: Wed Jul 27, 2016 7:57 am
by Anand
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 ?
No. But I know that many Indians have contributed a lot to HMG. I wish to contribute too to this fabulous free xbase community.

Regards,

Anand