How to print Bulk report through network printer..

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to print Bulk report through network printer..

Nalin Chandra
Hi all

I want to implement the bulk printing of order report, When i send the request it through the exception..

Invalid URI for printer [Auto HP LaserJet 1018 on PAL20]
Exception: java.net.URISyntaxException
Message: Illegal character in path at index 4: Auto HP LaserJet 1018 on PAL20
---- stack trace ---------------------------------------------------------------
java.net.URISyntaxException: Illegal character in path at index 4: Auto HP LaserJet 1018 on PAL20
java.net.URI$Parser.fail(Unknown Source)
java.net.URI$Parser.checkChars(Unknown Source)
java.net.URI$Parser.parseHierarchical(Unknown Source)
java.net.URI$Parser.parse(Unknown Source)
java.net.URI.<init>(Unknown Source)
org.ofbiz.content.output.OutputServices.sendPrintFromScreen(OutputServices.java:167)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336)
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(Unknown Source)
--------------------------------------------------------------------------------

...............INSIDE sendPrintFromScreen METHOD.444..............
2009-04-17 22:34:20,828 (default-invoker-Thread-8) [     OutputServices.java:173:WARN ]
---- exception report ----------------------------------------------------------
Invalid URI for printer [Auto HP LaserJet 1018 on PAL20]
Exception: java.net.URISyntaxException

if any one have any idea regarding this. please help me.

Thanks

Nalin Chandra