Title: Embedded JPEG prints as a black rectangle on an Astro-Med printer

Hi Everybody,

I have an SVG with a JPEG image embedded in it.
<image x="0" y="0" width="94px" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="" xlink:type="simple" xlink:actuate="onRequest"  
           height="518px" preserveAspectRatio="xMidYMid meet" xlink:show="replace"/>

Outer SVG has width 96 and height 537 and a no-op viewbox  (0 0 537 96).
The JPEG is 118K in size, is 296 pixels by 1619 pixels and is at 300 dpi and pixel depth/colours is 8/ 256.

Everything looks fine on screen with ASV6 and Batik.

When I print this svg to a particular (300dpi) printer (Astro-Med QLS3001) from my application I get a filled black rectangle where the JPEG should be.

When I just use svg rects, text  etc. these are printed ok on this printer. Any embedded JPEG image prints as a black rectangle. I don't get this problem with other printers types that I have tried.

So the problem appears to be related to the Astro-Med printer/driver.
However, when the JPEG is converted to a PDF (using Adobe Illustrator) it prints perfectly to the printer. So Acrobat appears to be doing something differently when it renders the image for the printer.

Can anybody throw any light on this ?

I'm using Win2000, J2SE 1.4.2, Batik 1.5.1.

Thanks,
Patrick


Important - This e-mail and the information that it contains may be
confidential, legally privileged and protected by law. Access by the
intended recipient only is authorised. Any liability (in negligence or
otherwise) arising from any third party acting, or refraining from acting,
on any information contained in this e-mail is hereby excluded. If you are
not the intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or store
or copy the information in any medium. Copyright in this e-mail and
attachments created by us belongs to STR Gresham Business Forms Ltd the
author
also asserts the right to be identified as such and object to any misuse.


Reply via email to