1 Reply Latest reply: Feb 27, 2012 12:37 PM by Richa Singh RSS

Maxicode control character for zebra printer

Richa Singh
Currently Being Moderated

Hello,

 

We want to use adobe forms to print maxicode on shipping label using zebra printer.

I use the new UPS maxicode barcode provided in ALD8.2

 

The maxi code string is build as shown below-

-


service ','

iso_country ','

maxi_zip ','

'[)>'

rs (Hexa value is 00IE)

'01'

gs (hexa value is 00ID)

'961Z'

track_short

gs

'UPSN'

gs

carrier_account

gs

new_jul_date

gs

gs

'1/1'

gs

new_weight

gs 'N'

gs

gs

new_short_city

gs

rs

eot (Hexa value is 0004)

-


where rs - record separator

           gs - group separator

           eot - end of transmission.

 

When we pass this information - and print the label - we get the message - " no job started" as the information cannot be parsed by correctly.

However, when i change the value of this maxicode string in debug, all the control characeter value is changed to HEX 0023 and the label is printer(although with wrong control characters).

 

So looks like the adobe parser is having problem reading the 3 control characters in the maxicode string.

 

Any suggestions??

 

Thanks

Richa

  • Re: Maxicode control character for zebra printer
    Richa Singh
    Currently Being Moderated

    Adding the error details-

    -


    Processing exception during a "Render" operation.#Request start time: Thu Feb 23 04:23:33 MST

    2012#com.adobe.ProcessingException: com.adobe.ProcessingException: com.adobe.ads.exception.TransientException:

    A problem was encountered with the results: Exception: IDL:com/adobe/document/xmlform/RenderException:1.0#Reason:

    0 : InvalidXDPException: Xml parsing error: not well-formed (invalid token) (error code 4), line 1, column 511 of file

    ##Exception Stack Trace:#com.adobe.ProcessingException: com.adobe.ProcessingException:

    com.adobe.ads.exception.TransientException: A problem was encountered with the results: Exception:

    IDL:com/adobe/document/xmlform/RenderException:1.0#Reason: 0 : InvalidXDPException: Xml parsing

    error: not well-formed (invalid token) (error code 4), line 1, column 511 of file ##at com.adobe.ads.request.ADSRequest.

    processOperations(Unknown Source)##at com.adobe.ads.request.ADSRequest.process(Unknown Source)##at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)##at

    com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)##at

    sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)##at

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

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

    com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)##at

    com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)##at

    com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:47)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)##at

    com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)#

    #at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)##at

    com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)##at

    com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Int

     

    erceptors_StatelessInstanceGetter.java:16)##at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proce

     

    ed(AbstractInvocationContext.java:177)##at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)##at

    sun.reflect

     

    .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)##at

    java.lang.reflect.Method.invoke(Method.ja

     

    va:597)##at com.sap.engine.services.ejb3.util.BeanMethods.executeReflectMethod(BeanMethods.java:314)##at

    com.sap.engine.services.ejb3.jacc.ExecuteMethodPrivilegedAction.run(ExecuteMethodPrivilegedAction.java:38)##at

    java.security.AccessController.doPrivileged(Native Method)##at javax.security.auth.Subject.doAs(Subject.java:396)##at

    com.sap.engine.services.ejb3.jacc.ContainerJ2EESecurityProviderBaseImpl.doAs(ContainerJ2EESecurityProviderBaseImpl.jav

    a:262)##at com.sap.engine.services.ejb3.runtime.impl.Interceptors_RunAs.invoke(Interceptors_RunAs.java:24)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)##at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)##at

    com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)##at

    com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)##at

    com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:

    138)##at

    com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.j

    ava:204)##at

    com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessing

     

    Environment.java:730)##at

    com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessi

    ngEnvironment.java:682)##at

    com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProce

     

    ssingEnvironment.java:324)##at

    com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging

     

    (ServletDispatcherImpl.java:199)##at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(Se

     

    rvletDispatcherImpl.java:65)##at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)##at

    javax.servlet.http.HttpServlet.service(HttpServlet.java:754)##at

    javax.servlet.http.HttpServlet.service(HttpServlet.java:847)##at

    com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)##at com.sap.engine.services.

     

    servlets_jsp.server.Invokable.invoke(Invokable.java:38)##at

    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:453)##at

    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)##at

    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441

    )##at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)##at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)##a

    t com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)##at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java

    :78)##at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)##at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHost

    Filter.java:27)##at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)##at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)##at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatistic

    Filter.java:57)##at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)##at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFi

    lter.java:12)##at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)##at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:462)##at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:270)##at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)##at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)##at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)##at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)#Caused by: com.adobe.ProcessingException: com.adobe.ads.exception.TransientException: A problem was encountered with the results: Exception: IDL:com/adobe/document/xmlform/RenderException:1.0#Reason: 0 : InvalidXDPException: Xml parsing error: not well-formed (invalid token) (error code 4), line 1, column 511 of file ##at com.adobe.ads.operation.Render.execute(Unknown Source)##at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)##... 84 more#Caused by: com.adobe.ProcessingException: com.adobe.ads.exception.TransientException: A problem was encountered with the results: Exception: IDL:com/adobe/document/xmlform/RenderException:1.0#Reason: 0 :

    InvalidXDPException: Xml parsing error: not well-formed (invalid token) (error code 4), line 1, column 511 of file ##at com.adobe.ads.operation.Render.renderWithoutCache(Unknown Source)##... 86 more#Caused by: com.adobe.ads.exception.TransientException: A problem was encountered with the results: Exception: IDL:com/adobe/document/xmlform/RenderException:1.0

    #Reason: 0 : InvalidXDPException: Xml parsing error: not well-formed (invalid token) (error code 4), line 1, column 511 of file ##at com.adobe.ads.operation.support.RemoteRenderer.processRetry(Unknown Source)##at com.adobe.ads.operation.support.RemoteRenderer.renderAllRemote(Unknown Source)##at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown

    Source)##at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown Source)##... 87 more#Caused by: com.adobe.document.xmlform.RenderException: IDL:com/adobe/document/xmlform/RenderException:1.0##at com.adobe.document.xmlform.Rend

    erExceptionHelper.read(Unknown Source)##at com.adobe.document.xmlform._FormFactoryStub.renderAll(Unknown Source)##at com

    .adobe.ads.remote.EJB_XMLFormAgent.renderAll(Unknown Source)##... 90 more#

Actions