Problema con HaruPDF

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Problema con HaruPDF

Post by andyglezl »

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 8165 times
hpdfdoc2.png
hpdfdoc2.png (349.58 KiB) Viewed 8165 times
Andrés González López
Desde Guadalajara, Jalisco. México.
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: Problema con HaruPDF

Post by EduardoLuis »

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: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Problema con HaruPDF

Post by andyglezl »

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: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: Problema con HaruPDF

Post by EduardoLuis »

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: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: Problema con HaruPDF

Post by EduardoLuis »

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

Re: Problema con HaruPDF

Post by Rathinagiri »

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