Hola,
Cuando trato de proteger un documento PDF.
Pero quiero que me deje copiar , leer y imprimir, no me deja IMPRIMIR, incluso la demo
\hmg.3.4.2\SAMPLES\HPDF\HMG_HPDF\
Tampoco permite imprimir el pdf que crea.
SELECT HPDFDOC 'HMG_HPDF_Doc.pdf' TO lSuccess papersize HPDF_PAPER_A4
SET HPDFDOC COMPRESS ALL
SET HPDFDOC PASSWORD OWNER "password"
SET HPDFDOC PAGEMODE TO OUTLINE
SET HPDFINFO AUTHOR TO 'S. Rathinagiri'
SET HPDFINFO CREATOR TO 'S. Rathinagiri'
SET HPDFINFO TITLE TO 'HMG_HPDF Documentation'
SET HPDFINFO SUBJECT TO 'Documentation of LibHaru/HPDF Library in HMG'
SET HPDFINFO KEYWORDS TO 'HMG, HPDF, Documentation, LibHaru, Harbour, MiniGUI'
SET HPDFINFO DATECREATED TO date() TIME time()
SET HPDFDOC PERMISSION TO READ
SET HPDFDOC PERMISSION TO PRINT
SET HPDFDOC PERMISSION TO COPY
Que debo hacer??
+ - - - - - - - - - - - - -- - - - Traducido con Google - - - - - - - - - - - - - - - -+
Hello,
When I try to protect a PDF document.
But I want to let me copy, read and print, not let me print, even the demo
\ hmg.3.4.2 \ SAMPLES \ hPDF \ HMG_HPDF \
Nor can print the pdf it creates.
SELECT HPDFDOC 'HMG_HPDF_Doc.pdf' TO lSuccess papersize HPDF_PAPER_A4
SET HPDFDOC COMPRESS ALL
SET HPDFDOC PASSWORD OWNER "password"
SET HPDFDOC PAGEMODE TO OUTLINE
SET HPDFINFO AUTHOR TO 'S. Rathinagiri'
SET HPDFINFO CREATOR TO 'S. Rathinagiri'
SET HPDFINFO TITLE TO 'HMG_HPDF Documentation'
SET HPDFINFO SUBJECT TO 'Documentation of LibHaru/HPDF Library in HMG'
SET HPDFINFO KEYWORDS TO 'HMG, HPDF, Documentation, LibHaru, Harbour, MiniGUI'
SET HPDFINFO DATECREATED TO date() TIME time()
SET HPDFDOC PERMISSION TO READ
SET HPDFDOC PERMISSION TO PRINT
SET HPDFDOC PERMISSION TO COPY
What should I do??
SET HPDFDOC PERMISSION TO PRINT
Moderator: Rathinagiri
SET HPDFDOC PERMISSION TO PRINT
Skydone Solutions
www.skydone.com
www.skydone.com
Re: SET HPDFDOC PERMISSION TO PRINT
Alguien ha podido comprobarlo?? 

Skydone Solutions
www.skydone.com
www.skydone.com
Re: SET HPDFDOC PERMISSION TO PRINT
solucionado
Tras varias pruebas lo he solucionado cambiando el orden:
SELECT HPDFDOC 'HMG_HPDF_Doc.pdf' TO lSuccess papersize HPDF_PAPER_A4
SET HPDFDOC COMPRESS ALL
SET HPDFDOC PASSWORD OWNER "password"
SET HPDFDOC PERMISSION TO COPY
SET HPDFDOC PERMISSION TO PRINT
// SET HPDFDOC PERMISSION TO READ
SET HPDFDOC PAGEMODE TO OUTLINE
SET HPDFINFO AUTHOR TO 'S. Rathinagiri'
SET HPDFINFO CREATOR TO 'S. Rathinagiri'
SET HPDFINFO TITLE TO 'HMG_HPDF Documentation'
SET HPDFINFO SUBJECT TO 'Documentation of LibHaru/HPDF Library in HMG'
SET HPDFINFO KEYWORDS TO 'HMG, HPDF, Documentation, LibHaru, Harbour, MiniGUI'
SET HPDFINFO DATECREATED TO date() TIME time()
Ahora mis PDF, estan protegidos para edicion, pero se pueden imprimir y seleccionar los datos para copiar.
GRACIAS
Tras varias pruebas lo he solucionado cambiando el orden:
SELECT HPDFDOC 'HMG_HPDF_Doc.pdf' TO lSuccess papersize HPDF_PAPER_A4
SET HPDFDOC COMPRESS ALL
SET HPDFDOC PASSWORD OWNER "password"
SET HPDFDOC PERMISSION TO COPY
SET HPDFDOC PERMISSION TO PRINT
// SET HPDFDOC PERMISSION TO READ
SET HPDFDOC PAGEMODE TO OUTLINE
SET HPDFINFO AUTHOR TO 'S. Rathinagiri'
SET HPDFINFO CREATOR TO 'S. Rathinagiri'
SET HPDFINFO TITLE TO 'HMG_HPDF Documentation'
SET HPDFINFO SUBJECT TO 'Documentation of LibHaru/HPDF Library in HMG'
SET HPDFINFO KEYWORDS TO 'HMG, HPDF, Documentation, LibHaru, Harbour, MiniGUI'
SET HPDFINFO DATECREATED TO date() TIME time()
Ahora mis PDF, estan protegidos para edicion, pero se pueden imprimir y seleccionar los datos para copiar.
GRACIAS

Skydone Solutions
www.skydone.com
www.skydone.com
Re: SET HPDFDOC PERMISSION TO PRINT
Gracias AidTIC por la info
Ha habido varios detalles de ese tipo, que con solo cambiar el orden de algún comando, se soluciona.
------------------------------------------------------------------------------------------------------------------------
Thanks for the info AidTIC
There have been several such details, that just change the order of a command, it is solved.
Ha habido varios detalles de ese tipo, que con solo cambiar el orden de algún comando, se soluciona.
------------------------------------------------------------------------------------------------------------------------
Thanks for the info AidTIC
There have been several such details, that just change the order of a command, it is solved.
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.