Jacques,

thanks for the report, the error is caused by the presence of blank spaces in the printer name.
I will fix it, but in the meantime you can try with another name.

Jacopo

Jacques Le Roux wrote:
Jacopo,

I just tried. All seems ok (I see my printers in the list) but there is
a problem in the job. I will have a look later, here is a snippet of the
log

2007-03-23 15:42:32,953 (default-invoker-Thread-7) [
ContentUrlTag.java:43 :WARN ] WARNING: request was null in
appendContentPrefix; this probably means this was used where it
shouldn't be, like using of
bizContentUrl in a screen rendered through a service; using best-bet
behavior: standard prefix from url.properties (no WebSite or security
setting known)
2007-03-23 15:42:33,718 (default-invoker-Thread-7) [
ApacheFopFactory.java:56 :WARN ] Error reading FOP configuration
2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(18/17): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
PropertyList.java:423:ERROR] Ignoring property:
column-width="proportional-column-width(50)" (null:18:17:
proportional-column-width() function may on
ly be used when fo:table has table-layout="fixed".;
property:'column-width')
2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
PropertyList.java:423:ERROR] Ignoring property:
column-width="proportional-column-width(50)" (null:18:17:
proportional-column-width() function may on
ly be used when fo:table has table-layout="fixed".;
property:'column-width')
2007-03-23 15:42:37,015 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(39/21): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,031 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(79/12): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,046 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(98/11): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,046 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(124/8): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,812 (default-invoker-Thread-7) [
PrintServices.java:188:ERROR]
---- exception
report ----------------------------------------------------------
Error retrieving printer [HP LaserJet 5L (PCL)]:
java.net.URISyntaxException: Illegal character in path at index 2: HP
LaserJet 5L (PCL)
Exception: java.net.URISyntaxException
Message: Illegal character in path at index 2: HP LaserJet 5L (PCL)
---- stack
trace ---------------------------------------------------------------
java.net.URISyntaxException: Illegal character in path at index 2: HP
LaserJet 5L (PCL)
java.net.URI$Parser.fail(URI.java:2816)
java.net.URI$Parser.checkChars(URI.java:2989)
java.net.URI$Parser.parseHierarchical(URI.java:3073)
java.net.URI$Parser.parse(URI.java:3031)
java.net.URI.<init>(URI.java:578)
org.ofbiz.content.print.PrintServices.sendPrintFromScreen(PrintServices.
java:151)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaE
ngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.j
ava:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)

Jacques

----- Message d'origine ----- De : "Jacopo Cappellato" <[EMAIL PROTECTED]>
À : <[email protected]>
Envoyé : vendredi 23 mars 2007 09:27
Objet : New bulk printing features


As of rev. 521619 there is now the ability to submit an async print
request for many document (rendered from a screen definition with fop)
and send it to a (laser, for now) printer.
You can test it by selecting the "Print" option in the find order list
screen. You can optionally select a printer from the drop down box.
If no printer is selected the system will select the first that the
server's JVM can locate (so it must be defined in the server where
OFBiz
is running, even if it is a lan printer).

Let me know what you think (I did very few test, also with the help of
David Shere), and I know that a lot can be done to improve these
feature.
Jacopo

Reply via email to