> > Added support for landscape orientation to PostScript printers and files. > > Hi Manolo, > > thanks for adding landscape support. > > I also saw that you changed the PS level back to 2 and tried this with > the cups-PDF printer (and my two different laser printer configs). > > My observations (but you will probably know this already): > > - landscape layout works > - cups-PDF now renders the images, but ... > - image transparency is gone :-(
What I see with PostScript level 2 : - RGB transparency does not work, but it's not really convincing in level 3 either, and does not work with MSWindows printers. So this might not be a major problem. RGB images print well. - Bitmap transparency works OK. - Pixmap background is not transparent. I have added a tentative trick: use the last color used in an fl_rectf() call as background color of pixmaps. This works well for example for pixmap buttons where the background is painted just before the pixmap. But it's far from perfect: if the pixmap is placed outside the button borders, it fails. In Roman's code there are some things around using a certain color for pixmap background that I have yet to clarify. May be there's a better solution therein. Mike wrote that there is a technical solution for true transparent color of pixmaps in PS level 2 called clip masking. I don't know PostScript well enough to implement it, and don't understand why Roman's code requires level 3 to produce transparent background if level 2 would be able to do it. In short: help needed here. > > My first laser printer config (as some Apple PS printer) now renders the > PS files correctly (except missing transparency). It did not with > PostScript 3, although the alternate configuration I described before > (i.e., as Mike explained, via Ghostscript -> Gutenprint -> PCL) worked > with PS 3. > > Thus, I think we can confirm what Mike wrote: Problems with PS 3 with > existing printers (including cups-PDF), but (currently ?) missing > transparency with PS level 2. :-( > > I don't know how we can solve this. Should we make the PS level a user > configurable (printer related) option ? > > P.S.: to verify my observations, I changed lang_level_ to 3 again and > tested with PS file and direct printing (selected landscape). > > - PS file: worked, but portrait layout (contents at page bottom) > - cups-PDF: no images, but same layout (portrait, at page bottom) > - PS on Kyocera: didn't print (as before with PS 3) > - Gutenprint on Kyocera: worked, but same layout as above Do you mean that the layout seen in PostScript file output is not propagated unchanged to the printer output ? > > strange ... > > Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
