HMG_HPDF - Export to PDF made easy... (New Version)
Moderator: Rathinagiri
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Request to add border option for Image object
Dear Rathi,
Add following line
@ 17, 07 HPDFPRINT rectangle to 129, 153 penwidth 2 color { 0, 0, 255 }
after / before code for IMAGE 'peacock.png' it looks nice
Dear Rathi,
Add following line
@ 17, 07 HPDFPRINT rectangle to 129, 153 penwidth 2 color { 0, 0, 255 }
after / before code for IMAGE 'peacock.png' it looks nice
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG_HPDF - Export to PDF made easy... (New Version)
This message make me crazy
otherwise Window will make you crazy until you find the source of error.
By the way, some (probably all) function of hbhpdf library returns pointers, no objects.
Regards
Problem is : if you have an image to add to .pdf, the image file must be exist;xxx.exe stopped !
Windows can search a solution to this problem.
> Search online help
> Close program
otherwise Window will make you crazy until you find the source of error.
By the way, some (probably all) function of hbhpdf library returns pointers, no objects.
Regards
Viva INTERNATIONAL HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Hi
A new version of HPdfDemo
Added:
Pleas note that hmg_hpdf.Prg is slightly different than original.
Enjoy
A new version of HPdfDemo
Added:
- - a table : COMPANY ( hard coded company info removed )
- an option : WayBill
- VAT
- Multiple pages
Pleas note that hmg_hpdf.Prg is slightly different than original.
Enjoy
Viva INTERNATIONAL HMG
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Goodesgici wrote:Hi
A new version of HPdfDemo
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG_HPDF - Export to PDF made easy... (New Version)
I have attached herewith a new version of HMG_HPDF.
Change Log:
1. Error checking and avoiding (Thanks to Esgici). Image file is tested for existence now.
2. Implemented Rounded Rectangle. Now we can set the curve length also. Please see the sample.
3. "Set HPDFDOC PERMISSION to" and "Set HPDFDOC PageMode to" commands. I don't know what these commands do. Please see the hmg_hpdf.ch file for details.
Change Log:
1. Error checking and avoiding (Thanks to Esgici). Image file is tested for existence now.
2. Implemented Rounded Rectangle. Now we can set the curve length also. Please see the sample.
3. "Set HPDFDOC PERMISSION to" and "Set HPDFDOC PageMode to" commands. I don't know what these commands do. Please see the hmg_hpdf.ch file for details.
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: HMG_HPDF - Export to PDF made easy... (New Version)
Thanks a lot Mr. Diamond
Best regards
Best regards
Viva INTERNATIONAL HMG
Re: HMG_HPDF - Export to PDF made easy... (New Version)
PDF created by following commandrathinagiri wrote:I have attached herewith a new version of HMG_HPDF.
Change Log:
3. "Set HPDFDOC PERMISSION to" and "Set HPDFDOC PageMode to" commands. I don't know what these commands do. Please see the hmg_hpdf.ch file for details.
"SET HPDFDOC PASSWORD OWNER 'owner' USER 'user'"
PDF opened by user password user can do all function like view, copy print, edit PDF
Command "SET HPDFDOC PERMISSION TO READ" will permit to user to read file only
[Mainly this type of file use to send password to user by mail etc.]
Command "SET HPDFDOC PERMISSION TO PRINT" will permit to user to PRINT PDF file
Command "SET HPDFDOC PERMISSION TO COPY" will permit to user to copy PDF content
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Tested, works perfectrathinagiri wrote:...Implemented Rounded Rectangle...
Again, thanks a lot
Also tried a shadow effect by adding (by courtesy of author) two new HPDFPRINT commands :
Code: Select all
#xcommand @ <Row>, <Col> HPDFPRINT ERASE TO <ToRow> , <ToCol> ;
=> ;
_HMG_HPDF_RECTANGLE ( <Row> , <Col> , <ToRow> , <ToCol> , , 255, 255 , 255 , .F. , .T. , .T. )
#xcommand @ <Row>, <Col> HPDFPRINT ERASE TO <ToRow> , <ToCol> ROUNDED;
=> ;
_HMG_HPDF_ROUNDRECTANGLE ( <Row> , <Col> , <ToRow> , <ToCol> , , 255, 255 , 255 , .F. , .T. , .T. )
Does we can define and query back-color ?
My method for ( rounded ) shadow effect is :
Code: Select all
@ nRow + 1, nCol + 1 HPDFPRINT RECTANGLE ;
TO ( nRow + 36 ), ( nCol + 111 ) ;
FILLED COLOR LIGHTGRAY ;
ROUNDED
@ nRow, nCol HPDFPRINT ERASE TO nRow + 35, nCol + 110 ROUNDED
@ nRow, nCol HPDFPRINT RECTANGLE ;
TO nRow + 35, nCol + 110 ;
ROUNDED
Code: Select all
@ nRow + 1, nCol + 1 HPDFPRINT RECTANGLE ; ...
Happy HMG'ing
Viva INTERNATIONAL HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Hi Dave
So you can build a good documentation ( user guide ) for HMG_HPDF, I think
Regards
Apparently you are a good researcherbpd2000 wrote:...following commands...
So you can build a good documentation ( user guide ) for HMG_HPDF, I think
Regards
Viva INTERNATIONAL HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG_HPDF - Export to PDF made easy... (New Version)
Hi
IMHO it's time to introduce national characters subject
Regards
IMHO it's time to introduce national characters subject
Regards
Viva INTERNATIONAL HMG