Page 1 of 2
Shyam
Posted: Thu Jul 27, 2017 2:51 pm
by Shyam
Thank you, Sir
To Add me in HMGForum.com
I am very much glade to join with us,
I am new programmer, well I used Clipper 5.2/87 very much
I request all members to try me help my some questions
because I have to quick develope applicaton in HMG Unicode.
some parts I have done but I have queries in:
Query:1
Report Writer,How to develope code like Invoice Printing / formating easy
I any have code please. send me in :
my email :
shyamlimbachia@gmail.com
Thanks all friends
any one can answer me soon .
I am waiting any one reply.
Re: Shyam
Posted: Thu Jul 27, 2017 3:58 pm
by Rathinagiri
Welcome Shyam.
You came to right place. Many will help you here.
Re: Shyam
Posted: Thu Jul 27, 2017 5:05 pm
by danielmaximiliano
Welcome Shyam.
Bienvenido Shyam.
We hope to help in the right way
Re: Shyam
Posted: Thu Jul 27, 2017 5:13 pm
by esgici
Hi Shyam
Welcome wonderful world of HMG
HMG has many documentation:
1- HMGDOC: come with HMG installation package:
- HMGDOC.JPG (26.65 KiB) Viewed 5669 times
2- You can reach it via HMG IDE:
- HMG-IDE Banner.JPG (41.03 KiB) Viewed 5669 times
3- Giovanni's tutorials:
http://www.elektrosoft.it/tutorials.asp
- Giovanni.JPG (92.88 KiB) Viewed 5669 times
4- And finally this forum. You can ask everything you imagine on HMG. Use "search" box and its buttons:
- HMG Forum Banner.JPG (59.5 KiB) Viewed 5669 times
Most probably a member may asked your question before you
Happy HMG'ing
Re: Shyam
Posted: Thu Jul 27, 2017 6:17 pm
by serge_girard
Welcom Shyam !
May I suggest HMGPDF for invoice printing ? Much easier!
Serge/Belgium
Re: Shyam
Posted: Mon Jul 31, 2017 8:23 am
by Shyam
Thank you all of my fiends
I am used to developed report in Clipper'5.2 Coding based language
by writing commands
@ r,c say "
and all
so Is there any hope to connect with usb printer
because if I include above commands
it will ask for LPT!: port
and now we are using LASER PRINTER usb based
so any one can send me simple example to my mail please.
my email :
shyamlimbachia@gmain.com
will I download and complie in HMGproject and understand well.
thank again to support me.
shyam
Re: Shyam
Posted: Mon Jul 31, 2017 9:15 am
by nekbmm
****************************
Welcom Shyam !
May I suggest HMGPDF for invoice printing ? Much easier!
Serge/Belgium
****************************
Top
That's the solution.
Re: Shyam
Posted: Mon Jul 31, 2017 9:59 am
by dragancesu
First : read documentation
Second : try samples in hmg.x.x.x\samples\printsystem
HMG run like clipper but it's very different, just imagine clipper program without SAY and GET
Code: Select all
I am used to developed report in Clipper'5.2 Coding based language
by writing commands
@ r,c say "
and all
so Is there any hope to connect with usb printer
because if I include above commands
.
@ row,col PRINT field - but row, col measure is in mm
------------------
Somethig like
Code: Select all
set device to printer
set printer to print.txt // lpt1
... print program ...
set printer to
set device to screen
setprc(0,0)
replace with
Code: Select all
mPrinter := GetPrinter()
IF Empty ( mPrinter )
MsgExclamation( "Printer not selected" )
RETURN NIL
ENDIF
SELECT PRINTER mPrinter ;
ORIENTATION PRINTER_ORIENT_PORTRAIT ;
PAPERSIZE PRINTER_PAPER_A4 ;
PREVIEW
START PRINTDOC NAME "report"
... print program ...
END PRINTPAGE
END PRINTDOC
also try \samples\hpdf and see how create report in PDF format
read, learn, try, and enjoy in hmg
Re: Shyam
Posted: Mon Jul 31, 2017 10:01 am
by BeGeS
(I have the impression that Shyam is looking for something fast, urgent)
Shyam, welcome.
Have you tried this command from the command prompt?
C:\> NET USE LPT1: \\MyMachine\MyPrinter /PERSISTENT:YES
(MyMachine & MyPrinter are the variables that you have to give).
Re: Shyam
Posted: Mon Jul 31, 2017 11:27 am
by jayadevu
Hi Shyam,
Please download my Generic Txt2Gdi program and modify to suit your purpose.
Link below:
https://www.dropbox.com/s/x6fg8x2ngmc6c ... h.prg?dl=0
Hope that helps.
Warm regards,
Jayadev