pdf and passwordrestrictions

L

Luisma

I `m using te strstorage.dll to generate pdf files

it's posible to generate those pdf without passwordrestrictions??

Luisma
 
G

Gina Whipp

Luisma,

I am assuming you are using Stephen Lebans' ReportToPDF. You do not have to
use the passwords to use. I'm nt sure it's hooked up yet but you shouldn't
be experience any password prompts. If you are would be helpful for you to
post the code you using.
--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
L

Luisma

Thanks
I am using these two codes

blRet = ConvertReportToPDF("FRA1VUELTA-EU-NOAGR",
vbNullString, _
PATH_FACT & subdir_serie(comunidad2) & nombre_factura &
".pdf", False, False, 150, vbNullString, vbNullString, 0, 0, 0)

blRet = ConvertReportToPDF("FRA1VUELTA-EU-NOAGR",
vbNullString, _
PATH_FACT & subdir_serie(comunidad2) & nombre_factura &
".pdf", False, False, 150, vbNullString, vbNullString)

And in both cases the pdf file that I generate have passwordrestrictions
 
L

Luisma

Thanks but the problem continue
and the pdf file that I generate have passwordrestrictions

I understand that by default creates the pdf with password security and
there is no option to change this parameter.

there is another component that allows you to generate pdf from access 2002?

Luisma

Gina Whipp escribió:
 
G

Gina Whipp

Luisma,

I believe I misread your post, so let's clarify. Are you saying AFTER to
create the .pdf you cannot edit it? This would be true unless you have more
then just Adobe Reader. Generating a .pdf and being to edit are two
different things and no matter what utility you use to generate the .pdf you
will not be able to edit it unless you upgrade your Adobe Reader to it's
full blown application.

If that is not the case and it's prompting you for a password BEFORE or
DURING the creation then please post the entire segment you are using to
generate the .pdf.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
L

Luisma

Gina Whipp escribió:
Luisma,

I believe I misread your post, so let's clarify. Are you saying AFTER to
create the .pdf you cannot edit it? This would be true unless you have more
then just Adobe Reader. Generating a .pdf and being to edit are two
different things and no matter what utility you use to generate the .pdf you
will not be able to edit it unless you upgrade your Adobe Reader to it's
full blown application.

No this is not the problem, I have Acrobat Pro, and I can edit the .Pdf
after creation
If that is not the case and it's prompting you for a password BEFORE or
DURING the creation then please post the entire segment you are using to
generate the .pdf.


Sorry but my English is very poor
The problem is as follows
The program creates pdf, but with password security, but the password
does not lead, can be opened without problem.


The problem is that when you try to open these pdf (bills) to digitally
sign it with another program, I get an error message, and asking for the
password even if it is zero for each invoice.
I want to create the PDF without security, this can be seen in the
acrobat in document-security

Thanks
Luisma
 
G

Gina Whipp

Questions in-line...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Luisma said:
Gina Whipp escribió:

No this is not the problem, I have Acrobat Pro, and I can edit the .Pdf
after creation


Sorry but my English is very poor
The problem is as follows
The program creates pdf, but with password security, but the password does
not lead, can be opened without problem.

***** Does this mean anyone can open it?
The problem is that when you try to open these pdf (bills) to digitally
sign it with another program, I get an error message, and asking for the
password even if it is zero for each invoice.
I want to create the PDF without security, this can be seen in the acrobat
in document-security

***** What is the other program you are trying to Digitally sign it with? I
do not think it is a problem with ReportToPDF as the password generation is
not 'hooked' up yet.
 
G

Gina Whipp

I did some research and found the issue is with the ReportToPDF. I am now
looking around for a work-around but have not spotted anything on this
issue. There are other products CutePDF and Win2PDF, however, I have never
used them so I don't know if you will have the same issue but they might be
worth a try.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
G

Gina Whipp

I did find this which ight work for you...

Hello, Shas,

I encountered this same issue while implementing Leban's code module. I
couldn't figure out how to use the security parameters to resolve this, but
I was able to come up with a work-around. Leban's code includes a merge
function that you can use to create a PDF that has no Password Security. The
function is callled MergePDFDocuments. Once you have created your initial
PDF (which will be secured) you can use the MergePDFDocuments function to
merge it into a new, unsecured PDF.

For example, if you use his code to create a PDF called "C:\REPORT_A.PDF",
just call the merge function like this:

Call MergePDFDocuments ("C:\REPORT_A.PDF", "C:\REPORT_B.PDF")

REPORT_B.PDF will not have the Password Security applied.

Good luck.

MoeCool

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
S

Stephen Lebans

Thanks Gina, for helping out this user. I really appreciate it.

I did come back to programming for a few minutes tonight in order to fix
this Security issue. It seems that even if you do not set any security
restrictions, the DynaPDF function I am using still sets Security for
extracting/inserting/merging pages.

Tonight, I posted a new version of the StrStorage.DLL that resolves this
issue. If you pass a "0" in the PassWordRestrictions param then it makes
sure NO security of any kind is applied to the created PDF. I also included
an update to the DynaPDF.DLL. The link is here:
http://www.lebans.com/DownloadFiles/UpdatedDLLs.zip

Since I do not have time to properly Beta this release, I am leaving it out
of the main ReportToPDF archive until I see in these NG's that it is working
properly.

Thanks again!
:)
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
L

Luisma

Well
Thank you very much everybody for the invaluable help

The method MergePDFDocuments working properly, I have not tried the new
DLLs, but I will shortly

Again thank you very much ;-)

Luisma

Gina Whipp escribió:
 
L

Luisma

Well
The new dlls work properly
thanks Stephen for this great component

Luisma

Gina Whipp escribió:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top