16 Replies Latest reply on Jul 20, 2016 8:46 PM by asonbott

    Is it possible to print a secured document (policy) through livecycle web services?

    Landim, Arthur Level 1

      Hi,

       

      I've been tryiong to a print secured document through Adobe Livecycle’s web service interface (Digital Rights Management and OutputService).

      I made a research in the documentation of the livecycle’s web services and founded some methods about printing PDF files (sendToPrinter).

      I developed a standalone application that prints a PDF file using the webservices, but it did not worked with a document with a security policy applied to it.

       

      Did you know anyway to print a secured pdf using livecycle rights management webservices or any other RTP?

        • 1. Re: Is it possible to print a secured document (policy) through livecycle web services?
          hectorcastro Level 1

          Have you tried to unlock the document before printing???... I'm not sure if this could work...

          Read this...

          http://help.adobe.com/en_US/LiveCycle/9.5/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a 20dd-6a8d.html

          1 person found this helpful
          • 2. Re: Is it possible to print a secured document (policy) through livecycle web services?
            SForrest96 Level 4

            You will need to "unlock" the document first.  Remember, a rights managed PDF is encrypted and you must be an "authenticated" user to open\view the document, and the user must have sufficient permissions to do things like print.  The "unlock" operation allows the document to be "opened" on the server side.  You will also need to make sure that you configure the process that is using the "unlock" operation to "Run As" a user that is specified in the policy and has sufficient permissions.

             

            RunAs.jpg

             

            Regards

            Steve

            1 person found this helpful
            • 3. Re: Is it possible to print a secured document (policy) through livecycle web services?
              Landim, Arthur Level 1

              Hi,

              thanks for helping me, I tryed to unlock the document and worked partially: the "unlockPdfUsingPolicy" output is a PDF file, and when I used the "sendToPrinter" it did not worked. The printed started to print crazy chars etc...

              I made some reseach and realized that the PDF must be flattened before pass it to the "sendToPrinter".

              I tryed the "transformPDF", but I've got errors about some Security Handlers.

               

              I also tryed to convert the unlocked pdf to Postscript before send it to the printer, but I got the error:

               

              ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.

                   at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:152)

                   at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

                   at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)

                   at sun.reflect.GeneratedMethodAccessor769.invoke(Unknown Source)

                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                   at java.lang.reflect.Method.invoke(Method.java:597)

                   at org.jboss.invocation.Invocation.performCall(Invocation.java:359)

                   at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)

                   at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)

                   at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

                   at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

                   at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)

                   at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)

                   at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)

                   at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)

                   at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

                   at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

                   at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)

                   at org.jboss.ejb.Container.invoke(Container.java:960)

                   at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)

                   at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

                   at $Proxy389.doBMT(Unknown Source)

                   at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)

                   at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)

                   at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)

                   at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)

                   at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:20 9)

                   at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)

                   at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

                   at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:886)

                   at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)

                   at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)

                   at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

                   at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)

                   at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)

                   at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)

                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                   at java.lang.reflect.Method.invoke(Method.java:597)

                   at org.jboss.invocation.Invocation.performCall(Invocation.java:359)

                   at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)

                   at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)

                   at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)

                   at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

                   at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

                   at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)

                   at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

                   at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)

                   at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

                   at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

                   at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)

                   at org.jboss.ejb.Container.invoke(Container.java:960)

                   at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)

                   at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

                   at $Proxy388.doRequiresNew(Unknown Source)

                   at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)

                   at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

                   at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                   at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)

                   at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)

                   at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)

                   at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:139)

                   at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)

                   at sun.reflect.GeneratedMethodAccessor775.invoke(Unknown Source)

                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                   at java.lang.reflect.Method.invoke(Method.java:597)

                   at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)

                   at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)

                   at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)

                   at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

                   at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

                   at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

                   at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)

                   at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

                   at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

                   at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)

                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                   at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)

                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                   at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)

                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)

                   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

                   at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)

                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

                   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)

                   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                   at java.lang.Thread.run(Thread.java:619)

              Caused by: com.adobe.livecycle.convertpdfservice.exception.ConvertPdfException: ALC-CNP-001-301: Cannot convert PDF file to PostScript.

              Exception: "The security plug-in required by this command is unavailable"

               

               

               

               

               

                   at com.adobe.convertpdf.ConvertPdfBmcWrapper.convertPdftoPs(ConvertPdfBmcWrapper.java:207)

                   at com.adobe.convertpdf.ConvertPdfServer.convertPdftoPs(ConvertPdfServer.java:85)

                   at com.adobe.convertpdf.docservice.ConvertPdfServiceImpl.toPS2InTxn(ConvertPdfServiceImpl.ja va:134)

                   at com.adobe.convertpdf.docservice.ConvertPdfServiceImpl.access$000(ConvertPdfServiceImpl.ja va:45)

                   at com.adobe.convertpdf.docservice.ConvertPdfServiceImpl$1.doInTransaction(ConvertPdfService Impl.java:107)

                   at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)

                   at sun.reflect.GeneratedMethodAccessor650.invoke(Unknown Source)

                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                   at java.lang.reflect.Method.invoke(Method.java:597)

                   at org.jboss.invocation.Invocation.performCall(Invocation.java:359)

                   at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)

                   at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)

                   at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

                   at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

                   at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)

                   at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)

                   at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)

                   at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)

                   at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

                   at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

                   at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)

                   at org.jboss.ejb.Container.invoke(Container.java:960)

                   at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)

                   at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

                   at $Proxy389.doRequiresNew(Unknown Source)

                   at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)

                   at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)

                   at com.adobe.convertpdf.docservice.ConvertPdfServiceImpl.toPS2WithSMT(ConvertPdfServiceImpl. java:103)

                   at com.adobe.convertpdf.docservice.ConvertPdfServiceImpl.toPS2(ConvertPdfServiceImpl.java:93 )

                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                   at java.lang.reflect.Method.invoke(Method.java:597)

                   at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)

                   ... 126 more

               

              thanks,

              • 4. Re: Is it possible to print a secured document (policy) through livecycle web services?
                Landim, Arthur Level 1

                Thanks for reply,

                the standalone application call the webservice (unlock pdf using policy) passing user credentials, so the user has permission to view and print the file.

                My standalone application will be like an Acrobat Reader, but it's not needed to view the document, just print it using the user credentials.

                It is more like an command program:

                C:\app\printSecuredFile.exe "PathToFile.pdf" "username" "password"

                and the result is the document printed.

                • 5. Re: Is it possible to print a secured document (policy) through livecycle web services?
                  Landim, Arthur Level 1

                  Hi Steve,

                  I tried something different: Revoke the policy, print the file and Unrevoke to policy.

                  I got the same error: "security plug-in required".

                  Is there something missing in my livecycle server?

                  • 6. Re: Is it possible to print a secured document (policy) through livecycle web services?
                    SForrest96 Level 4

                    I'm not clear on what you did.  Did you "revoke" the document, or "remove" the policy from the document?

                     

                    Thanks

                    Steve

                    • 7. Re: Is it possible to print a secured document (policy) through livecycle web services?
                      Landim, Arthur Level 1

                      I just revoked the document.

                      I think that the problem maybe is about this message: "required security plug-in".

                      Is there any security plug-in to install on livecycle server?

                      • 8. Re: Is it possible to print a secured document (policy) through livecycle web services?
                        SForrest96 Level 4

                        No, there is no "plug-in" required on the server.  I am still confused...  if you "revoke" a document, then you are removing the ability for anyone to open the document.  If the docuemnt can't be opened, it can't be printed.

                         

                        Regards

                        Steve

                        • 9. Re: Is it possible to print a secured document (policy) through livecycle web services?
                          Landim, Arthur Level 1

                          Steve,

                          Sorry, my mistake. I did not undertood the "revoke" functionality.

                          I'll try to clarify my needs.

                           

                          I created a process in livecycle to print documents (with or without security policies).

                           

                          The input of this process is a document and a string with the printer's ip address.

                           

                          print_workflow.png

                          If the document do not have security policy applied then it is converted to PS and sended to printer. [success]

                          If the document is protected with a policy then the process Unlocks it and convert to PS to sendo to printer. [error]

                          When I invoke this process, passing a document with security policy applied and using a user that has permission to open and print the document, the following error is showed:

                           

                          print_workflow_error.png

                          The message is:

                          ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.

                          Caused by: com.adobe.livecycle.convertpdfservice.exception.ConvertPdfException: ALC-CNP-001-301: Cannot convert PDF file to PostScript.

                          Exception: "The Security plug-in required by this command in unavailable"

                           

                          thanks,

                          Arthur Landim

                          • 10. Re: Is it possible to print a secured document (policy) through livecycle web services?
                            SForrest96 Level 4

                            Arthur

                             

                            You will not be able to convert the policy protected PDF to PostScript.  I explained this earlier in another thread...  http://forums.adobe.com/thread/850893?tstart=0

                             

                            Regards

                            Steve

                            • 11. Re: Is it possible to print a secured document (policy) through livecycle web services?
                              Landim, Arthur Level 1

                              Steve,

                              thanks for helping me.

                              Just to be clear:

                              it is no possible to print a secured file (security policy) file without first opening the document on adobe reader/pro or the microsoft office Livecycle DRM plugin?

                               

                              Is there anyway to create an cmd program, without graphical user interface,  that starts a livecycle process to print a secured (with security policy) document?

                              The program would be like:

                              C:\app\printSecuredFile.exe "PathToFile.pdf" "username" "password"

                               

                              • 12. Re: Is it possible to print a secured document (policy) through livecycle web services?
                                SForrest96 Level 4

                                Arthur

                                 

                                it is no possible to print a secured file (security policy) file without  first opening the document on adobe reader/pro or the microsoft office  Livecycle DRM plugin?

                                ANSWER: If you are printing from the client, the document must be opened (user must authenticate to RM) and the permissions in the policy must "Allow Print"  You cannot convert the protected document to some other format (i.e PostScript)

                                 

                                 

                                Is there anyway to create an cmd program, without graphical user  interface,  that starts a livecycle process to print a secured (with  security policy) document?

                                The program would be like:

                                C:\app\printSecuredFile.exe "PathToFile.pdf" "username" "password"

                                ANSWER:  I don't know for sure about writing a custom application to do this, but I doubt it. I do know that there is no way to use Acrobat or Reader from the command line to open and print a policy protected pdf.  There is no way to pass in the user name and password.  You can launch Reader from the command line and specify the PDF to open, if the PDF has a policy applied the RM login dialog will be displayed.

                                 

                                The Developer FAQ is available from http://www.adobe.com/devnet/acrobat/pdfs/Acrobat_SDK_developer_faq.pdf#page=24

                                 

                                Regards

                                Steve

                                • 13. Re: Is it possible to print a secured document (policy) through livecycle web services?
                                  Landim, Arthur Level 1

                                   

                                  ANSWER: If you are printing from the client, the document must be opened (user must authenticate to RM) and the permissions in the policy must "Allow Print"  You cannot convert the protected document to some other format (i.e PostScript)

                                  QUESTIONS: My client application will just invoke a process in livecycle passing the document, so the printing will be performed on server side. The user passed to the webservice connection (Credentials) will have permission to Print the document.

                                  • 14. Re: Is it possible to print a secured document (policy) through livecycle web services?
                                    Angel1989 Level 1

                                    I'm not sure it could help you or not, I tried my secured pdf files and succeeded, so I recommend this way for you.

                                     

                                     

                                    http://www.epubor.com/how-to-print-secured-pdf-files.html

                                    • 15. Re: Is it possible to print a secured document (policy) through livecycle web services?
                                      techienikhil Level 1

                                      Hi Arthur,

                                       

                                      I too was having the same problem. But, After some trial-and-error testing of all suggested fixes, which I found over the internet, here’re what worked for me to Print Protected PDF File and might work for you as well.

                                       

                                      • 16. Re: Is it possible to print a secured document (policy) through livecycle web services?
                                        asonbott Level 1

                                        Remove pdf file password on Mac or Windows is not a easily question,unless you use some good tools or software,I know a tool can help you Remove pdf file password on Mac and Windows computer,you can try out it. This is a normal tool, very stable, simple operation, and fast speed,Believe it can help you Remove pdf file password on Mac and Windows and success!

                                         

                                        Unlock Secured PDF to Print, Edit and Copy Text