You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by nalin chandra <na...@palindromesoftware.com> on 2009/04/17 19:14:08 UTC

How to print Bulk report through network printer..

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
-- 
View this message in context: http://www.nabble.com/How-to-print-Bulk-report-through-network-printer..-tp23101937p23101937.html
Sent from the OFBiz - User mailing list archive at Nabble.com.