Grid2Print - Suggestions
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Grid2Print - Test Version
This is a Test Version of Grid2Print. It is just raw and I have to work a lot to be more generic. It is just out of curiosity and to have some suggestions I am sharing this with you. Don't get afraid on seeing my BAD programming skills. Believe me I am just an accountant by profession and not a professional programmer.
Unzip the contents into a folder and build the gridprint.hpj using the latest HMG IDE.
I used a constant (0.07) to convert a logical unit to points. It seems to work well. I don't know what the logic would be behind this number.
GridPrint test version can be downloaded from here.
Unzip the contents into a folder and build the gridprint.hpj using the latest HMG IDE.
I used a constant (0.07) to convert a logical unit to points. It seems to work well. I don't know what the logic would be behind this number.
GridPrint test version can be downloaded from here.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Grid2Print - Test Version
Hi Rathinagiri
LenStrInPixel( <cString>, <aFont> ) --> <nLengthInPixel> (*)
or adequatly learning logic would be behind this topic.
(*) <aFont> : Font properties array: name, size, bold, italic ...
Anyway, many thanks to your offer.
Regards
Good job, thanksrathinagiri wrote:This is a Test Version of Grid2Print.
We need such util: "A generic report generator". I hope this will be begining of development....It is just out of curiosity
No matter profession, you are a good programer. There are many worst profesionalI am not a professional programmer
Talk me about it ! We need either a function such asI used a constant (0.07)
LenStrInPixel( <cString>, <aFont> ) --> <nLengthInPixel> (*)
or adequatly learning logic would be behind this topic.
(*) <aFont> : Font properties array: name, size, bold, italic ...
Anyway, many thanks to your offer.
Regards
Viva INTERNATIONAL HMG
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Grid2Print - Test Version
I've just took a brief look at it, but it looks great!rathinagiri wrote:This is a Test Version of Grid2Print. [/url].
Good Job!
I'll do more test in the weekend.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Grid2Print - Test Version
All my test goes ok excepting landscape printing. It appears to not be centered.rathinagiri wrote:This is a Test Version of Grid2Print. <...>
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Grid2Print - Suggestions
I had taken the left margin as given (or default 20 mm) by the user. Therefore, the page is not centered.
I will fix it and upload.
Thanks for the suggestion.
I will fix it and upload.
Thanks for the suggestion.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Grid2Print - Suggestions
Hi Friends,
Here comes the latest version of GridPrint with some bug fixes and changes:
The latest version can be downloaded from here. (9K)
Change log:
1. Blueprint preview for GridPrint
2. Tabbed Interface for better arrangement of controls
3. Vertical Page Center option
Please verify and give your valuable suggestions.
Here is the screenshot.
Here comes the latest version of GridPrint with some bug fixes and changes:
The latest version can be downloaded from here. (9K)
Change log:
1. Blueprint preview for GridPrint
2. Tabbed Interface for better arrangement of controls
3. Vertical Page Center option
Please verify and give your valuable suggestions.
Here is the screenshot.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Grid2Print - Suggestions
Very impressive!!!rathinagiri wrote:Hi Friends,
Here comes the latest version of GridPrint with some bug fixes and changes:
The latest version can be downloaded from here. (9K)
Change log:
1. Blueprint preview for GridPrint
2. Tabbed Interface for better arrangement of controls
3. Vertical Page Center option
Please verify and give your valuable suggestions.
Here is the screenshot.
Thanks!!!
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Grid2Print - Suggestions
Thank you Roberto. It is just a beginning. Long way to go.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Grid2Print - Suggestions
Hi Rathi
More advanced than previous, thanks.
Do you think formatting numeric fields ?
Regards
--
esgici
More advanced than previous, thanks.
Do you think formatting numeric fields ?
Regards
--
esgici
Viva INTERNATIONAL HMG
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Grid2Print - Suggestions
Hi Esgici,
Thanks.
As of now, I take everything as entered in Grid and that too only string item grids.
Writing the code for others too.
By formatting you mean, formatting the numbers as given by the user as parameter for the function? Please give me syntax, so that I can proceed.
Thanks.
As of now, I take everything as entered in Grid and that too only string item grids.
Writing the code for others too.
By formatting you mean, formatting the numbers as given by the user as parameter for the function? Please give me syntax, so that I can proceed.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.