Problema con HaruPDF

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 859
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 7 times
Been thanked: 25 times
Contact:

Re: Problema con HaruPDF

Post by andyglezl » Wed Jun 19, 2013 4:35 pm

Hola EduardoLuis

Ya cambie varias veces el orden de los 2 comandos y me sigue dando el mismo mensaje.
Alguna otra cosa que este omitiendo ? tengo HMG 3.0.46.

Comento esas 2 lineas y si genera el pdf OK.
Gracias.
------------------------------------------------------------------------------------
Hello EduardoLuis

I change several times the order of the 2 commands and still gives me the same message.
Something else that this omission? I have HMG 3.0.46.

I comment those 2 lines and if it generates the pdf OK.
Thanks
------------------------------------------------------------------------------------
Attachments
hpdfdoc1.png
hpdfdoc1.png (323.57 KiB) Viewed 912 times
hpdfdoc2.png
hpdfdoc2.png (349.58 KiB) Viewed 912 times
Andrés González López
Desde Guadalajara, Jalisco. México.

EduardoLuis
Posts: 525
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Been thanked: 28 times

Post by EduardoLuis » Wed Jun 19, 2013 7:57 pm

Hola Andyglezl:

Ahora que veo tu código te está faltando indicar el PASSWORD, ya que de otro modo los permisos no son operativos y te dan el error que mencionas.-

Colocá esta linea despues de "SET HPDFDOC COMPRESS ALL":

SET HPDFDOC PASSWORD OWNER 'owner'

Así queda resuelto tu problema.-
Cordialmente. Eduardo

User avatar
andyglezl
Posts: 859
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 7 times
Been thanked: 25 times
Contact:

Post by andyglezl » Wed Jun 19, 2013 8:47 pm

Gracias EduardoLuis, ya funciona OK.

Ya habia probado ese comando de PASSWORD (lo tome del PDF) pero me daba error de sintaxis

Examples:
SET HPDFDOC PASSWORD TO OWNER "Password_1"
SET HPDFDOC PASSWORD TO OWNER "Password_1" USER "Password_2"

Lo que no me habia dado cuenta, que es diferente en donde dice:

Syntax:
SET HPDFDOC PASSWORD OWNER cOwnerPass [ USER cUserPass ]
---------------------------------------------------------------------------------------
Thanks EduardoLuis, and it works OK.

I had already tried that command PASSWORD (PDF take it) but I was syntax error

examples:
SET HPDFDOC PASSWORD TO OWNER "Password_1"
SET HPDFDOC PASSWORD TO OWNER "Password_1" USER "Password_2"

What I had not noticed, that is different where it says:

Syntax:
SET HPDFDOC PASSWORD OWNER cOwnerPass [ USER cUserPass ]
Andrés González López
Desde Guadalajara, Jalisco. México.

EduardoLuis
Posts: 525
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Been thanked: 28 times

Post by EduardoLuis » Wed Jun 19, 2013 9:09 pm

Hola andyglezl:

Me alegro que ahora te funcione.-
En HMG todos los días aprendemos algo nuevo.-
El hecho de pertenecer al FORUM nos hace colaborarnos entre todos, así se crece.-
Un abrazo. Eduardo

Hi Andyglezl:

I'm glad to know that now your developement works fine.
Here on HMGForum each one of us learns from the others.
Be part of HMGForum implicate help eachother, thats the all of us grown up.-
With regards. Eduardo

EduardoLuis
Posts: 525
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Been thanked: 28 times

Post by EduardoLuis » Mon Jun 24, 2013 9:29 pm

Hi Rati:

I'm continuing testing HMGPDFDOC, and all works fine, also on HMG 3.14 (using ANSI Ide).-
I've do not test HMG EXTENDED, but if you develope under HMG Ansi Ide, the won't be any problem.
Now i'm trying to print 45° and 90° text; till now i could not solve it, but i'll continue trying.-
Hopping all your family are good, after last terrible flood, with regards. Eduardo.

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 142 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Tue Jun 25, 2013 3:55 am

Thank you Eduardo. I will also try to print 45 degree and 90 degree text.

And, thanks a lot for your concern. It is the northern part that got affected. We don't have any rains as of now.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply