[futurebasic] Re: [FB] Forcing pageFormat

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2011 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Fri, 24 Jun 2011 10:39:32 -0700
On Jun 24, 2011, at 10:09 AM, Peter wrote:

>  What I would like is to force, legal or ledger.
Have you checked Xcode docs in Core Printing? That’s where I would look. Most things the user can set in a print dialog may be retrieved for use in code. Maybe PMPrinterGetPaperList()?

Keep in mind the demos and the include file do not present a print dialog to the user. Of course it could be added ( possibly in the calling code ).

> I also note that the Columnar functions only work in 10.6. I get all sorts of errors when running under 10.4.11
> err = fn PMCreatePageFormat( #pageFormat )
> err = fn PMSessionDefaultPageFormat( printSession.nil&, pageFormat.nil& ) 

Would you post the "all sorts of errors"?  Both the calls cited are available in OS X 10.0 +. However, be advised my goal was to write 64-bit compatible code and compatibility with older OS X releases wasn’t checked. If OS X 10.4.x is the priority, consideration should be given to the standard FB runtime instead of my include.

Brian S