How to enable copying text preference in Config.vbs

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
JL
Posts: 6
Joined: Tue Jun 21 2005

How to enable copying text preference in Config.vbs

Post by JL »

Hi all,

I would like the option "Enable copying text or graphics from the document" in the preferences to be enabled by default after installation. How can I do that in my Config.vbs? I'm actually looking for the property name from the cdintfex object.

Thank you,

JL
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Are you setting Encryption as default while installing the printer?

"Enable copying text and graphics" is sent by adding 16 to the Permissions value.

You can call:

cdi = CDIntfEx.CDIntfEx

cdi.Permissions = -64 + 16.

Hope this helps.
JL
Posts: 6
Joined: Tue Jun 21 2005

Post by JL »

Yes, I am.

The permission was already set with PDF.Permissions = -60 to allow printing. Will PDF.Permissions = -64 + 16 take care of everything?

Thank you,

JL
JL
Posts: 6
Joined: Tue Jun 21 2005

Post by JL »

After testing the cdi.Permissions = -64 + 16 code, the "Enable copying text an graphics" option is on but I seem to have now lost the "Allow printing of document" that was set with cdi.Permissions = -60.

I realize now that I forgot to mention that I wanted both settings to be enabled in my first post...

What should the code look like in order to set these options now?

Thanks,

JL
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

No, you shouldn't loose the permission of printing.

+4 is for printing, + 16 is for enabling copying text and graphics, these are not supposed to interfere with each others.
For more information please check page 132 of "Common Driver Interface 250.pdf".

If you are still having probems please send us an e-mail to support@amyuni.com and we will open a case and check this issue.
JL
Posts: 6
Joined: Tue Jun 21 2005

Post by JL »

Got it!

Thanks,

JL
Post Reply