Thank You Jacques for answering. Then i will do a receipt screen and call sendPrintFromScreen with ECA after an order is created. Do you think this is a good idea ? One drawback in this case is that i cannot use reprint POS button. Also when i tried to see the order pdf from order manager, i get an error and cannot see the pdf. This happens only when the order is created from POS. If the order is created from ecommerce or ordermanager i can see the pdf. if you think that this is a bug, here is the console log:
ERROR: 'null:82:44: Error(82/44): fo:table-row is missing child elements. [java] Required Content Model: (table-cell+)' [java] 2007-05-01 15:36:21,187 (http-0.0.0.0-8443-Processor2) [ FONode.java:322:WARN ] Warning(79/12): fo:table, table-layout="auto" is currently not supported by FOP [java] 2007-05-01 15:36:21,187 (http-0.0.0.0-8443-Processor2) [ScreenFopViewHandler.java:118:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:82:44: Error(82/44): fo:table-row is missing child elements. [java] Required Content Model: (table-cell+) [java] 2007-05-01 15:36:21,187 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java:192:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] Error in request handler: [java] Exception: javax.xml.transform.TransformerException [java] Message: org.apache.fop.fo.ValidationException: null:82:44: Error(82/44): fo:table-row is missing child elements. [java] Required Content Model: (table-cell+) [java] ---- cause --------------------------------------------------------------------- [java] Exception: org.apache.fop.fo.ValidationException [java] Message: null:82:44: Error(82/44): fo:table-row is missing child elements. [java] Required Content Model: (table-cell+) [java] ---- stack trace --------------------------------------------------------------- [java] org.apache.fop.fo.ValidationException: null:82:44: Error(82/44): fo:table-row is missing child elements. [java] Required Content Model: (table-cell+) [java] org.apache.fop.fo.FONode.missingChildElementError(FONode.java:407) [java] org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:174) [java] org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378) [java] org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) [java] com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(Unknown Source) [java] org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) [java] org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [java] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown Source) [java] com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source) [java] com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source) [java] org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:100) [java] org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:644) [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:428) [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:595) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) [java] org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) [java] org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) [java] org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) [java] org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) [java] java.lang.Thread.run(Unknown Source) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com