You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Erwan de FERRIERES <er...@nereide.biz> on 2009/04/17 17:26:14 UTC

print ProductBarCode

Hi everyone,

when i want to print a productbarcode, like this one :
https://demo.ofbiz.org/catalog/control/ProductBarCode.pdf?productId=GZ-2002&productName=Square%20Gizmo

the result is a pdf with only the name of the product, and no barcode. 
I've been trying to resolve this issue, but with no success.

Here is the log linked to the barcode call :
2009-04-17 10:21:20,840 (TP-Processor2) [ RequestHandler.java:692:INFO ] 
Rendering View [ProductBarCode.pdf], 
sessionId=2013A8809F19025C0554856BAA1A2EDC.jvm1
2009-04-17 10:21:20,871 (TP-Processor2) [ ScreenFactory.java:129:INFO ] 
Got 36 screens in 0.018s from: 
file:/demo/deployments/demo-20090417-0306/applications/product/widget/catalog/ProductScreens.xml
2009-04-17 10:21:20,874 (TP-Processor2) [ 
ModelScreenWidget.java:972:WARN ] In platform-dependent could not find 
template for xsl-fo, using the one for html.
2009-04-17 10:21:20,884 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^barcode
2009-04-17 10:21:20,885 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^code39
2009-04-17 10:21:20,886 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^height
2009-04-17 10:21:20,886 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^module-width
2009-04-17 10:21:20,887 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^human-readable
2009-04-17 10:21:20,887 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^placement
2009-04-17 10:21:20,887 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^font-name
2009-04-17 10:21:20,888 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^font-size
2009-04-17 10:21:20,888 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^display-start-stop
2009-04-17 10:21:20,889 (TP-Processor2) 
[ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
http://barcode4j.krysalis.org/ns^display-checksum
2009-04-17 10:21:20,891 (TP-Processor2) 
[InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of 
instream-foreign-object could not be determined
2009-04-17 10:21:20,892 (TP-Processor2) 
[InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of 
instream-foreign-object could not be determined
2009-04-17 10:21:20,893 (TP-Processor2) 
[InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of 
instream-foreign-object could not be determined
2009-04-17 10:21:20,912 (TP-Processor2) [ ControlServlet.java:299:INFO ] 
[[[ProductBarCode.pdf] Request Done- total:0.115,since 
last([ProductBarCode.p...):0.115]]

Cheers,


-- 
- Erwan -

Re: print ProductBarCode

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Erwan,

This is a known issue, look into archive please. Not sure if a Jira is already opened. I had a look at it but I think there are no 
solutions yet (domain issue)

Jacques

From: "Erwan de FERRIERES" <er...@nereide.biz>
> Hi everyone,
>
> when i want to print a productbarcode, like this one :
> https://demo.ofbiz.org/catalog/control/ProductBarCode.pdf?productId=GZ-2002&productName=Square%20Gizmo
>
> the result is a pdf with only the name of the product, and no barcode. I've been trying to resolve this issue, but with no 
> success.
>
> Here is the log linked to the barcode call :
> 2009-04-17 10:21:20,840 (TP-Processor2) [ RequestHandler.java:692:INFO ] Rendering View [ProductBarCode.pdf], 
> sessionId=2013A8809F19025C0554856BAA1A2EDC.jvm1
> 2009-04-17 10:21:20,871 (TP-Processor2) [ ScreenFactory.java:129:INFO ] Got 36 screens in 0.018s from: 
> file:/demo/deployments/demo-20090417-0306/applications/product/widget/catalog/ProductScreens.xml
> 2009-04-17 10:21:20,874 (TP-Processor2) [ ModelScreenWidget.java:972:WARN ] In platform-dependent could not find template for 
> xsl-fo, using the one for html.
> 2009-04-17 10:21:20,884 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^barcode
> 2009-04-17 10:21:20,885 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^code39
> 2009-04-17 10:21:20,886 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^height
> 2009-04-17 10:21:20,886 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^module-width
> 2009-04-17 10:21:20,887 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^human-readable
> 2009-04-17 10:21:20,887 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^placement
> 2009-04-17 10:21:20,887 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^font-name
> 2009-04-17 10:21:20,888 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^font-size
> 2009-04-17 10:21:20,888 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^display-start-stop
> 2009-04-17 10:21:20,889 (TP-Processor2) [ElementMappingRegistry.java:147:WARN ] Unknown formatting object 
> http://barcode4j.krysalis.org/ns^display-checksum
> 2009-04-17 10:21:20,891 (TP-Processor2) [InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of instream-foreign-object 
> could not be determined
> 2009-04-17 10:21:20,892 (TP-Processor2) [InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of instream-foreign-object 
> could not be determined
> 2009-04-17 10:21:20,893 (TP-Processor2) [InstreamForeignObject.java:101:ERROR] Intrinsic dimensions of instream-foreign-object 
> could not be determined
> 2009-04-17 10:21:20,912 (TP-Processor2) [ ControlServlet.java:299:INFO ] [[[ProductBarCode.pdf] Request Done- total:0.115,since 
> last([ProductBarCode.p...):0.115]]
>
> Cheers,
>
>
> -- 
> - Erwan -
>