Shyam

New members who wish to post and participate in HMG Forum, please introduce yourselves in this forum by starting a new thread.

Moderator: Rathinagiri

Shyam
Posts: 12
Joined: Thu Jul 27, 2017 7:04 am
DBs Used: DBF, MySql, SQlite
Location: Ahmedabad, Gujarat, India
Contact:

Shyam

Post 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.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Shyam

Post by Rathinagiri »

Welcome Shyam.

You came to right place. Many will help you here.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Shyam

Post by danielmaximiliano »

Welcome Shyam.
Bienvenido Shyam.

We hope to help in the right way
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Shyam

Post by esgici »

Hi Shyam

Welcome wonderful world of HMG :)

HMG has many documentation:

1- HMGDOC: come with HMG installation package:
HMGDOC.JPG
HMGDOC.JPG (26.65 KiB) Viewed 5586 times
2- You can reach it via HMG IDE:
HMG-IDE Banner.JPG
HMG-IDE Banner.JPG (41.03 KiB) Viewed 5586 times
3- Giovanni's tutorials:

http://www.elektrosoft.it/tutorials.asp
Giovanni.JPG
Giovanni.JPG (92.88 KiB) Viewed 5586 times
4- And finally this forum. You can ask everything you imagine on HMG. Use "search" box and its buttons:
HMG Forum Banner.JPG
HMG Forum Banner.JPG (59.5 KiB) Viewed 5586 times
Most probably a member may asked your question before you ;)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
User avatar
serge_girard
Posts: 3162
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Shyam

Post by serge_girard »

Welcom Shyam !

May I suggest HMGPDF for invoice printing ? Much easier!

Serge/Belgium
There's nothing you can do that can't be done...
Shyam
Posts: 12
Joined: Thu Jul 27, 2017 7:04 am
DBs Used: DBF, MySql, SQlite
Location: Ahmedabad, Gujarat, India
Contact:

Re: Shyam

Post 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
User avatar
nekbmm
Posts: 118
Joined: Sat Jul 16, 2016 3:16 am
DBs Used: DBF,SQLite
Location: Ivanjica, Serbia

Re: Shyam

Post by nekbmm »

****************************
Welcom Shyam !

May I suggest HMGPDF for invoice printing ? Much easier!

Serge/Belgium
****************************
Top

That's the solution.
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: Shyam

Post 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
User avatar
BeGeS
Posts: 125
Joined: Fri Jul 14, 2017 10:45 am
DBs Used: DBF
Location: La Mancha, Spain

Re: Shyam

Post 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).
I get by with a little help from my friends
jayadevu
Posts: 238
Joined: Tue May 19, 2009 7:10 am

Re: Shyam

Post 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
Post Reply