No Worries. The problem with things like rotation is that not every printer supports it. GDI printers dont support anything. Postscript printers are like computers and every one is different and you software has to understand exactly how to communicate with it.. Which is just a complete burden.
As long as you are setting the Canvas(TBitmap) resolution to at least 300DPI then getting good rotation quality should not be an issue. there are a few good free libraries that can rotate graphics easily. Normally I just create a tBitmap at 300DPI and set the height width accordingly for the page size. render everything to the bitmap, rotate it and use PrinterCanvas.draw. I recently tested this myself. the problem was that a color graphic was 128MB bitmap.. lol.. the print spooler compressed it on the fly to about 600k per page.. but it still meant buffering 128MB page in memory. On Fri, Jul 16, 2010 at 1:46 PM, Cheng Wei (FMI) <che...@fmi.co.nz> wrote: > Thanks for your suggetions kyley. We end up having to render everything to > an image and rotate it 180 degrees. > To maintain fine print quality we use Tmetafilecanvas instead of Tcanvas, > which makes rotating much harder. But we got there at the end. > Cheers > Cheng > Sent from my iPhone > > On 14/07/2010, at 3:49 PM, "Kyley Harris" <ky...@harrissoftware.com> wrote: > > The printing options are normally just an indication to the software > of how it should print. They are not normally done by the operating > system. > > you may need to render your report to a graphic, then rotate and print > the graphic. > > On Wed, Jul 14, 2010 at 3:30 PM, Cheng Wei (FMI) <che...@fmi.co.nz> wrote: >> Hi, >> >> We need to print a report upside down as the preprinted paper (roll) can >> only be loaded in one direction. >> >> We set the "Rotate 180 degree" option in the "Printing Preferences..." >> screen and it prints from Word etc upside down as ecpected. >> >> However when print from our Delphi app (BDS 2006, FastReport) the pages >> always come out upright. >> >> Can anyone on the list help with this? >> >> Kind Regards >> >> Cheng Wei >> >> Software Development Manager >> Fairview Metal Industries >> M +64 21 410 776 >> P +64 9 984 4917 >> F +64 9 984 4993 >> che...@fmi.co.nz >> www.fmi.co.nz >> >> _______________________________________________ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> > > > > -- > Kyley Harris > Harris Software > +64-21-671-821 > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > -- Kyley Harris Harris Software +64-21-671-821 _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe