Page 2 of 10

Grid2Print - Test Version

Posted: Wed Aug 13, 2008 12:45 pm
by Rathinagiri
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.

Re: Grid2Print - Test Version

Posted: Wed Aug 13, 2008 2:05 pm
by esgici
Hi Rathinagiri
rathinagiri wrote:This is a Test Version of Grid2Print.
Good job, thanks :)
...It is just out of curiosity
We need such util: "A generic report generator". I hope this will be begining of development.
I am not a professional programmer
No matter profession, you are a good programer. There are many worst profesional ;)
I used a constant (0.07)
Talk me about it ! We need either a function such as

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

Re: Grid2Print - Test Version

Posted: Fri Aug 15, 2008 4:19 pm
by Roberto Lopez
rathinagiri wrote:This is a Test Version of Grid2Print. [/url].
I've just took a brief look at it, but it looks great!

Good Job!

I'll do more test in the weekend.

Regards,

Roberto.

Re: Grid2Print - Test Version

Posted: Fri Aug 15, 2008 6:40 pm
by Roberto Lopez
rathinagiri wrote:This is a Test Version of Grid2Print. <...>
All my test goes ok excepting landscape printing. It appears to not be centered.

Regards,

Roberto.

Re: Grid2Print - Suggestions

Posted: Sun Aug 17, 2008 3:56 pm
by Rathinagiri
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.

Re: Grid2Print - Suggestions

Posted: Fri Aug 22, 2008 3:30 pm
by Rathinagiri
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. :)

Image

Re: Grid2Print - Suggestions

Posted: Fri Aug 22, 2008 5:04 pm
by Roberto Lopez
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. :)

Image
Very impressive!!!

Thanks!!!

Regards,

Roberto.

Re: Grid2Print - Suggestions

Posted: Fri Aug 22, 2008 5:13 pm
by Rathinagiri
Thank you Roberto. It is just a beginning. Long way to go.

Re: Grid2Print - Suggestions

Posted: Fri Aug 22, 2008 5:30 pm
by esgici
Hi Rathi

More advanced than previous, thanks.

Do you think formatting numeric fields ?

Regards

--

esgici

Re: Grid2Print - Suggestions

Posted: Fri Aug 22, 2008 6:13 pm
by Rathinagiri
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.