Hey Jeremias, Bugger on the transparency - I suppose the printer would need to know how to deal with it.
The reason I'm using postscript (and thankfully no longer PCL :)) - is I configure tray selections and duplexing, and PDF can't easily help me there. I will give your latest snapshot a try and see what happens - (I dont think I have a particularly old version) - and I will see how we go. As far as the painting of the barcode, I currently store it in the region-start, config as such; <fo:simple-page-master master-name="basicPage" page-height="297mm" page-width="210mm" margin-top="5mm" margin-bottom="5mm" margin-left="0mm" margin-right="3mm"> <fo:region-body margin-top="0mm" margin-bottom="5mm" margin-left="8mm" margin-right="0mm" /> <fo:region-after extent="5mm" /> <fo:region-start extent="8mm" /> </fo:simple-page-master> So I suppose my options in this regard are; 1) see if there is a way to control which region gets loaded when (does order have any importance within the simple-page-master?) 2) Try to move what I currently use within region-start into region-body Will see how we go, if you have any advice on my two options, I'd love to hear it - might save me some time ;) On a separate note; as I'm learning different printers I'm finding Postscript command docs - would shortcuts on how to achieve certain goals using some printers have some value on the wiki ? Thanks! Martin -----Original Message----- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Thursday, 1 July 2010 12:26 AM To: fop-users@xmlgraphics.apache.org Subject: Re: transparency in images Hi Martin First problem: PostScript doesn't support transparency. It only supports image masks using an array of mask colors, but that's not currently implemented in FOP. PDF has support for both and both are available in FOP. The latest snapshot of my PDF plugin supports rendering PDF to PostScript (and every other output format supported by FOP) but only as far as Apache PDFBox can handle the PDF minus some potential restrictions of our PSGraphics2D. Can't you try to paint the barcode and such after the page content so it lies above the original content? On 30.06.2010 15:59:15 Martin Edge wrote: > Hey Guys, > > Quick question - if I use a PNG as an image, is it's transparency properties > taken into account? > > I am attempting to insert a PDF file as in within my document, however using > the PDF plugin, means it doesn't seem to happily output on postscript, so I > have had to convert the file to a JPG and use that. > > I generate barcodes and other information that sites on the outside of the > document, so if I use the image for the full page, it blanks out the barcode > and other text, and by shrinking the form it looks a little silly. > > So, I was thinking, if transparency works, would I be able to see the > barcode, given it's in theory underneath the image? > > Thanks > Martin Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org