Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Output
Viewing all 9631 articles
Browse latest View live

Send to printer operation with safe communication channel

$
0
0

Hi,

 

I create a flow on LiveCycle Workbench that print a document (with policy applied or without).

 

So I want be use a safe communication channel betwwen LiveCycle server and printer, to avoid any person intercept this message between both and have access to that file.

 

I have a doubt about sendToPrinter operation and printer protocols:

 

- The protocols (CUPS, Direct IP, LPD, CIFS) available on LiveCycle provide this security that I want?

 

Reading the documentation I don't find this information.

 

Thank you!

 

- Rodrigo Araújo


Convert interactive form with digitally signed XML to PDF/a

$
0
0

Hi all,

 

I wonder if it should be possible to convert a form that contains digitally signed XML into a PDF/a?

 

I have tried the ConvertToPDFA service in LC ES 2.5, but it does not seem to work as I expect. During the conversion I wonder why 3 things happen:

 

1. The PDF/a shows as a PDF/a in Reader - however in the PDFAConversionResult the "isPDFa" node is set to false.

2. In my resulting PDF/a I get all my pages twice. Meaning if my original form was 1 page I get 2 pages in my resulting PDF/a, the last page without data in the fields.

3. The resulting PDF/a does not show as containing digitally signed data - however the input Form does show up as the data being digitally signed.

 

Is this a bug or does any one of you have an idea of how I should approach this challenge?

 

Thanks in advance

 

Sincerely

Kim Christensen

Dafolo A/S

Denmark

ES3 Output getting java.io.IOException: error=12, Cannot allocate memory

$
0
0

Hello,

 

We just upgraded to ES3, and for load testing, I submitted 1000 xml files to a watch folder.  The process that picks up the files merges the data with a template and dispatches the documents to a printer.  We had this same memory issue in the past on an older version of LiveCycle, but we increased the swap space according to http://blogs.adobe.com/livecycle/2010/05/livecycle_formsivs_and_output i.html and the problem went away. 

 

Here's what our current swap space is:

Swap:  4200912k total,  2478116k used,  1722796k free,   932596k cached

 

Is there a good way to resolve this error?  Or are we supposed to bump up the swap even higher now?

 

Thanks,

Ryan

 

2012-04-02 12:07:46,821 ERROR [STDERR] Caused by: com.adobe.livecycle.formsservice.exception.RenderFormException: java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.

2012-04-02 12:07:46,821 ERROR [STDERR]  at com.adobe.formServer.FormServer.renderForm(FormServer.java:233)

2012-04-02 12:07:46,821 ERROR [STDERR]  at com.adobe.formServer.FormServer.renderForm(FormServer.java:281)

2012-04-02 12:07:46,821 ERROR [STDERR]  at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocSe rvice.java:558)

2012-04-02 12:07:46,821 ERROR [STDERR]  at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java :187)

2012-04-02 12:07:46,821 ERROR [STDERR]  ... 187 more

2012-04-02 12:07:46,823 ERROR [STDERR] Caused by: com.adobe.livecycle.formsservice.exception.FormServerException: java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.

2012-04-02 12:07:46,823 ERROR [STDERR]  at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentW rapper.java:267)

2012-04-02 12:07:46,823 ERROR [STDERR]  at com.adobe.formServer.PA.XMLFormAgentWrapper.execute(XMLFormAgentWrapp er.java:203)

2012-04-02 12:07:47,661 ERROR [STDERR]  at com.adobe.formServer.Controller.doXFARender(Controller.java:809)

2012-04-02 12:07:47,661 ERROR [STDERR]  at com.adobe.formServer.Controller.doRender(Controller.java:623)

2012-04-02 12:07:47,661 ERROR [STDERR]  at com.adobe.formServer.Controller.render(Controller.java:140)

2012-04-02 12:07:47,662 ERROR [STDERR]  at com.adobe.formServer.FormServer.renderForm(FormServer.java:214)

2012-04-02 12:07:47,662 ERROR [STDERR]  ... 190 more

2012-04-02 12:07:47,664 ERROR [STDERR] Caused by: java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentW rapper.java:257)

2012-04-02 12:07:47,664 ERROR [STDERR]  ... 195 more

2012-04-02 12:07:47,664 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException

2012-04-02 12:07:47,664 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor564.invoke(Unknown Source)

2012-04-02 12:07:47,664 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)

2012-04-02 12:07:47,664 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.util.ConnectionFactoryReflectionWrapper.getConnection(Utili ties.java:1162)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.formServer.PA.XMLFormAgentBase.getFormAgentFactory(XMLFormA gentBase.java:67)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentW rapper.java:252)

2012-04-02 12:07:47,664 ERROR [STDERR]  ... 195 more

2012-04-02 12:07:47,664 ERROR [STDERR] Caused by: java.lang.reflect.UndeclaredThrowableException: Error executing process

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.service.ProcessResource.startProcess(ProcessResource.java:4 86)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.service.ProcessResource.<init>(ProcessResource.java:195)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.service.ProcessFactoryManager.createConnectionResource(Proc essFactoryManager.java:64)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java :154)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceF romPool(ConnectionFactoryManagerPeer.java:79)

2012-04-02 12:07:47,664 ERROR [STDERR]  at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection( J2EEConnectionFactoryManagerPeerImpl.java:103)

2012-04-02 12:07:47,664 ERROR [STDERR]  ... 201 more

2012-04-02 12:07:47,665 ERROR [STDERR] Caused by: java.io.IOException: Cannot run program "chmod": java.io.IOException: error=12, Cannot allocate memory

2012-04-02 12:07:47,665 ERROR [STDERR]  at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)

2012-04-02 12:07:47,665 ERROR [STDERR]  at java.lang.Runtime.exec(Runtime.java:593)

2012-04-02 12:07:47,665 ERROR [STDERR]  at java.lang.Runtime.exec(Runtime.java:431)

2012-04-02 12:07:47,665 ERROR [STDERR]  at java.lang.Runtime.exec(Runtime.java:328)

2012-04-02 12:07:47,665 ERROR [STDERR]  at com.adobe.service.ProcessResource.startProcess(ProcessResource.java:4 75)

2012-04-02 12:07:47,665 ERROR [STDERR]  ... 206 more

2012-04-02 12:07:47,665 ERROR [STDERR] Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory

2012-04-02 12:07:47,665 ERROR [STDERR]  at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)

2012-04-02 12:07:47,665 ERROR [STDERR]  at java.lang.ProcessImpl.start(ProcessImpl.java:65)

2012-04-02 12:07:47,665 ERROR [STDERR]  at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)

2012-04-02 12:07:47,665 ERROR [STDERR]  ... 210 more

Uploading PDF to URL

$
0
0
Hi,
I'm very new to LiveCycle and don't know much coding, so please bear with me. I know that there's an option to upload a filled-out PDF form to a URL through a Submit button, but I'm not sure what other steps I need to take to upload the form. What do I need to do on my website to actually get the PDF to upload here?

Thanks for any help you can provide.

output client setSynchronous()

$
0
0
I'm trying to understand what exactly it is that the setSynchronous() method does on the output client. Sure, it sets the mode to "synchronous" per the java docs, but then does that mean it's asysnchronous otherwise?

That doesn't make sense becasue I have used the API for over 2 months now and have not run into any issues related to not getting a result before my method returns (or so it seems). So, this notion of "synchronous" seems vague.

The problem we are running into is that when using the transformPDF() method to transform a PDF to PDF/A, sometimes, the generated file does not render correctly!

I'd appreciate some help here.

Email PDF fillable form as attachment using php?

$
0
0
Please help me this is our problem.

We have created a simple PDF form for our clients to book in a job. Currently they fill it in manually and we receive it by fax. We have created this form with editable fields now, and would like to host this special PDF so it is 'browsable to' on our website. When filled in we would like to submit it to a PHP script which would process and then email the complete PDF to our production department, and another copy to the user. Is this possible? If so, how?

Error in Output Service generatePDFOutput

$
0
0

Hello,

 

I am trying to create a PDF using generatePDFOutput Folder and I keep getting error

 

 

 

[10/5/09 11:00:02:695 EDT] 0000002a PivotHandlerW E org.apache.commons.logging.impl.Jdk14Logger error

 

 

 

 

WSWS3400I

: Info: unexpected exception.

 

lava.lang.NullPointerException

 

Can any body suggest me where I am going wrong

 

SOAP RESPONSE

 

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Faul t><faultcode>soapenv:Server.userException</faultcode><faultstring>org. xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring><detail><faultData><ns1:exception xsi:nil="true" xmlns:ns1="http://adobe.com/idp/services"/><ns2:message xmlns:ns2="http://adobe.com/idp/services">SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</ns2:message></faultData><ns3:hostname xmlns:ns3="http://xml.apache.org/axis/">server</ns3:hostname></detail></soapenv:F ault></soapenv:Body></soapenv:Envelope>

 

 

 

My Code

 

 

 

 

 

String XMLPath=root +

"/WEB-INF/XML/" + XML;

 

 

OutputServiceServiceLocator ol =

new OutputServiceServiceLocator();

OutputService port = ol.getOutputService(

new URL(

 

"http://localhost:80/soap/services/FormsService"));

((javax.xml.rpc.Stub) port)._setProperty(

javax.xml.rpc.Stub.

USERNAME_PROPERTY,

AdobeConstants.

NGPS_USERNAME);

((javax.xml.rpc.Stub) port)._setProperty(

javax.xml.rpc.Stub.

PASSWORD_PROPERTY,

AdobeConstants.

NGPS_PASSWORD);

 

BLOB inDataDoc =

new BLOB();

 

if (null != XML && XML.length() > 0) {

 

 

File XMLFileNameMap =

new File(root + "/WEB-INF/XML/" + XML);

 

int XMLFileNameMapLength = new Long(XMLFileNameMap.length())

.intValue();

FileInputStream XMLFileNameMapIn =

new FileInputStream(

XMLFileNameMap);

 

byte[] XMLFileNameMapArray = newbyte[XMLFileNameMapLength];

 

System.

out.println("LENGTH---------->"+XMLFileNameMapArray.length);

inDataDoc.setBinaryData(XMLFileNameMapArray);

}

 

 

 

PDFOutputOptionsSpec pdfOptions =

new PDFOutputOptionsSpec();

 

pdfOptions.setLookAhead(500);

 

pdfOptions.setRecordLevel(1);

 

RenderOptionsSpec renderOptions =

new RenderOptionsSpec();

 

renderOptions.setCacheEnabled(true);

 

BLOBHolder generatePDFOutputPDFDoc =

 

 

 

new BLOBHolder();

 

BLOBHolder generatePDFOutputMetaDataDoc =

 

 

 

new BLOBHolder();

 

BLOBHolder generatePDFOutputResultDoc =

 

 

 

new BLOBHolder();

 

OutputResultHolder outResultHolder =

 

 

 

new OutputResultHolder();

 

 

String XDPPath = AdobeConstants.

NGPS_ROOT_REPOSITORY

+ AdobeConstants.

NGPS_FORMS_PATH;

System.

out.println("XDPPath---------->" + XDPPath);

 

 

port.generatePDFOutput(TransformationFormat.

PDF, templateNm,

XDPPath, pdfOptions, renderOptions, inDataDoc,

generatePDFOutputPDFDoc, generatePDFOutputMetaDataDoc,

generatePDFOutputResultDoc, outResultHolder);

 

 

LC Output - problem big batch of 1000+ records

$
0
0

Hi,

 

I am creating a prototype with LC Output. The calling application will produce big XML file - Batch with more than1000 records.

 

Example XML data:

<?xml version="1.0" encoding="utf-8"?>

<BATCH>

<formDataRecords>

<LC_KOMA002>

<customerNameAddress>Jensens Biludlejning</customerNameAddress>

<customerNameAddress>Vestergade 21c</customerNameAddress>

<customerNameAddress>7100 Vejle</customerNameAddress>

</LC_KOMA002>

<LC_KOMA002>

<customerNameAddress>Pete Petersen</customerNameAddress>

<customerNameAddress>Vestergade 10</customerNameAddress>

<customerNameAddress>7100 Copenhagen</customerNameAddress>

</LC_KOMA002>

...

</formDataRecords>

...

 

In a setVariables step I extract the XML data to be merged with formTemplate. I extract all all nodes under <formDataRecords> in a new XML variable.

I use this xml as input data to a GeneratePDFOutput (LC Output). The GeneratePDFOutput is set up with 'multiple streams&apos; and &apos;record level&apos; 2 and &apos;Record name&apos; = <LC_KOMA002>. I use the &apos;Output Location URI&apos; to save the pdf with incremental filename xxx1,2,3,4.pdf

The workflow works fine with 500 records - here it produces 500 pdf files with 1 page.

 

Problem:

When running with 1000 records or more my process does not produce any pdf. The watchedfolder take my XML datafile. But after 3-4 min. it returns this error in the ERROR server log.

 

2010-08-12 11:52:00,484 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a10ed08:ce4d:4c596be4:15f4fee invoked while multiple threads active within it.

 

It seems like GeneratePDFOutput run out of memory in some way when it handles more that 500 records.

I hope that you have ideas to configuration/settings that can be used on the Adobe LC server or CL Output so that it can handle large batch jobs??

 

I look forward to all you clever solutions - I really want to show the customer Adobe LC can do this one :)

/Thomas Groenbaek, Jyske Bank


Placement of vertical watermark

$
0
0

I have a simple question that has to do with placements of watermarks.

 

In my DDX I add a Watermark to my result node like this:

<DDX><PDF result="OutputPDF" return="true">                    <Watermark  verticalAnchor="Bottom" rotation="90">                              <StyledText font-family="'Calibri'" font-size="12pt" color="green">                                        <p>Watermark Text...here comes a much longer text than usual</p>                              </StyledText>                    </Watermark>  <PDF source="Section1">                    </PDF></PDF></DDX>

Looks great, but when the "Watermark text" get longer it grows out of the bottom of the page. It seems as if the Watermark text is "centered" and grows "both ways" so to say. How can I avoid this, I want to Watermark text to grow only upwards,

 

Said in another way, I need the Watermark text to have a fixed/absolute point of beginning. See picture below for further explanation of my issue...

 

LC_UserForum_Watermark_small.jpg

 

I hope some of you out there have had the same issue as me and perhaps have an idea at how to solve it - or that you can tell me whether it is a bug or not.

 

Sincerely

Kim Christensen

Dafolo A/S

Denmark

OutputClient - a starter qu

$
0
0

Hi,

 

I am testing the OutputClient.generatePDFOutput() method, and get the follwoing error:

 

com.adobe.livecycle.output.exception.OutputException

 

 

 

 

 

: java.lang.IllegalStateException

at com.adobe.livecycle.output.client.OutputClient.generatePDFOutput(

 

 

OutputClient.java:149)

at com.ytzsys.output.TEST.CreatePDFDocument.main(

 

CreatePDFDocument.java:82)

Caused by:

 

java.lang.IllegalStateException

at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(

 

 

ServiceClientFactory.java:69)

at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(

 

ServiceClient.java:220)

at com.adobe.livecycle.output.client.OutputClient.invokeRequest(

 

OutputClient.java:607)

at com.adobe.livecycle.output.client.OutputClient.generatePDFOutput(

 

OutputClient.java:132)

... 1 more

Caused by: java.lang.NoClassDefFoundError:

 

javax/ejb/EJBException

at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.evaluateMessageDispa tcher(

 

 

ServiceClientFactory.java:587)

at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(

 

ServiceClient.java:215)

... 3 more

 

 

The LiveCycle server is a JBoss turn-key installation on my Windows machine.  The code is basically copied form the API quick start, with a change of the file names only, and is attched below.  

 

Your help on this problem is greatly appreciated.

 

Thanks.

 

Kelvin

 

 

 

how to increase document Cache : Ignoring cache write as Object size is greater than Max Doc size

$
0
0

<Warning> <com.adobe.formServer.common.cachemanager.CacheManager> <000000> <Ignoring cache write as Object size is greater than Max Document size in cache setting. Key=C:\\Adobe\\DocRoot\\/_12-15-50.xdp size =4699551>

 


<Sep 7, 2010 7:48:35 PM SGT> <Error> <com.adobe.idp.Document> <000000> <DOCS001: Unexpected exception. Failed to passivate Document due to an internal error..>

 


<Sep 7, 2010 7:48:35 PM SGT> <Error> <com.adobe.idp.Document> <000000> <DOCS001: Unexpected exception. An exception while handling a remote request.
com.adobe.idp.DocumentError: Failed to passivate Document due to an internal error
        at com.adobe.idp.Document.passivate(Document.java:755)
        at com.adobe.idp.DocumentCallback.handleRemotePassivation(DocumentCallba ck.java:144)
        at com.adobe.idp.DocumentCallback.handleRemotePassivation2(DocumentCallb ack.java:188)
        at com.adobe.idp._IDocumentCallbackImplBase._invoke(_IDocumentCallbackIm plBase.java:71)

I can't seem to get my form to send as a unedible PDF file

$
0
0

I created a form with drop down lists, date, and check boxes with a submit button to e-mail the users when it is complete. I can get the the form to attach to the email program and send it but it is still editable. I need for this one person to fill out the form, click the submit button to e-mail the form as a PDF document. What am I doing wrong. I created this form in Adobe Lifecycle Designer 8.0. Please see a screen shot below. When the user completes the form AND clicks on the "send e-mail' button I want it to send a PDF file with the information that she filled out. I am getting that but I can still change the dates and hospitals and check boxes and that is what I DON'T want. I want the PDF form to be like a document. Any one have any ideas. I have just started working with Adobe and and Adobe lifecycle so I am not proficient. (at all!)

daily_cash.JPG

Merging data into form with Assembler - character encoding problem

$
0
0

Hi all,

 

I have a strange issue withh assembler using the following ddx:

 

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
    <PDF result="process:///process_data/@outputPDF">
        <PDF source="process:///process_data/@renderXDP" >
           <XFAData source="process:///process_data/@inputXML"/>
        </PDF>
        <NoForms/>
    </PDF>
    <DocumentInformation result="process:///process_data/outResult" source="process:///process_data/@outputPDF"/>
</DDX>

 

I am trying to get information on the number of pages that has been generated - this is collected in the outResult variable. I need this information in my orchestration.

 

However when I open the form I get strange characters instead of the swedish Ä Ö and Å (instead I get some like "Ã¥ lÃ" and alike) in my forms textfields.

 

If I try to render the same xdp form with the same xml data using the generatePDF service I get no problems, the sedish characters are the all ok. What can I do to make this right with Assembler/DDX?

 

Thanks in advance

 

Kim Christensen

Dafolo A/S

Denmark

Help needed to resolve-First component in name com.adobe.output.config.OutputConfigHome not found

$
0
0

Have installed Live Cycle ES2.5 SP2 Server (WebSphere) Trial version with Oracle DB.

 

I want to generate PDF by merging data xml with XDP template. Hence I am trying to remotely invoke Livecycle Output Service (web service) for creating the PDF document using the Java API (as per API Quick Start Code Examples).

 

But I am getting following exception-

 

com.adobe.livecycle.output.exception.OutputException: 
Context: WINADV93Cell01/clusters/cluster2, name: com.adobe.output.config.OutputConfigHome: First component in
name com.adobe.output.config.OutputConfigHome not found. in javax.naming.NameNotFoundException, cause: IDL:omg.org/CosNaming/NamingContext/NotFound:
1.0 in org.omg.CosNaming.NamingContextPackage.NotFound
at com.adobe.printSubmitter.util.ResultFile.<init>(ResultFile.java:65)
at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:229)
at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTx n(OutputServiceImpl.java:262)
at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputI nTxn(OutputServiceImpl.java:395)
at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputS erviceImpl.java:82)
at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction( OutputServiceImpl.java:346)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapt erBean.doRequiresNew(EjbTransactionBMTAdapterBean.java:218)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTr ansactionBMTAdapter_3af08fdf.doRequiresNew(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute (EjbTransactionProvider.java:133)
at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute (DefaultTransactionTemplate.java:79)
at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFO utputWithSMT(OutputServiceImpl.java:341)
at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput( OutputServiceImpl.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:45)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:37)

Kindly help me to resolve this error? 

Send to Printer operation and Printer Protocol

$
0
0

Hello all,

 

I designed a process where it is needed to send a PDF file to 2 different printers (not at the same time). So to simplify the process I defined a XML within the server ( C:\config.xml ) with the information necessary to send the job to the printer, and contains the information that the operation sendToPrinter needs:

 

- Printer Protocol

- Server URI

- Printer Name.

 

So instead of placing the values for this operation, I read the values from the XML file. The problem is, the sendToPrinter operation expects the Printer Protocol as a specific type: PrinterProtocol (obvious heheh). And my variable is String.

 

How can I convert this?

 

Thanks!


migration from JetForms to LiveCycle Output ES2.5

$
0
0

Hi.

 

We have a JetForms/Solaris installation and we are thinking migrate to LC Output/Windows

 

We need to know the following:

 

1.- What are the steps involved in the migration 

2.- What we needed to migrate our templates (.ifd) and data files (.dat) to LC Output?

 

Thanks in advance.

 

Diego.

Mailing Labels

$
0
0

I need to create mailing/address labels.  There will be multiple addressees and most likely mutiple pages using Avery 5160.  We are using coldfusion as the front end and oracle as the backend.  My thought is to use an avery 5160 template which I found on the web, insert text fields for the database fields and somehow merge.  But I'm not sure if this is the right way to approach it OR if this is the way to approach it...how?  Do I set up each label with the text fields for the name, address etc. this would be 3 labels across and 10 down for a total of 30? We have Livecycle Designer ES 8.2 and Acrobat Prof 9 to use.

 

Thanks,

Sherry

Visible (Screen Only) functionality

$
0
0
Is it possible to print a form with screen-only objects not occupying space? If they are screen only, there is a subsequent "white space". I want the on-screen objects to not occupy space in the print layout.

Flatten PDF with Attachments

$
0
0
Hi,

I,

1. render a xdp in browser (via servlet)
2. fill out the form, attach some files
3. submit the form as PDF (via servlet)
4. launch a process that flattens the PDF file

the flattened PDF doesn't include attachments no more, it was lost durning the Output/transform Qpac. (if I don't apply the flattening, I am able to see the attachments)

How do I keep attachments in flattened pdf?

Thanks in advance.

How to retain all fonts during flattening

$
0
0

I am trying to flatten a PDF using OutputService's transformPDF method. When I use the TransformationFormat.PDFA option so that I retain the fonts, I get an error saying similar to "Unable to find the font 'Impact'. Font substitution not allowed for PDF/A". Now the questions I have are:

 

1. If I want to flatten a PDF using APIs while retaining the fonts, is transformPDF method with TransformationFormat.PDFA argument the right choice? Will the size be so high that I do not get any benefit out of flattening?

2. If that is the right choice, how do I add/install fonts to LiveCycle server so that all the fonts I use are available during the transformPDF process?

 

Please note that I have the fonts embedded in the non-flattened PDF, thus making it look as designed in any computer it opens. I have thousands of forms which uses a variety of forms are they were designed and developed over many years with little or no style guidelines in the initial stages. Now if I flatten these forms as TransformationFormat.PDF, the fonts are substituted which make the text overflow or overlap and thus the form ugly and sometimes unacceptable. This is the reason why I looked at the TransformationFormat.PDFA option.

Viewing all 9631 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>