Hi Graham - I think I’ve had that blank page problem before and the solution was to use ‘print break’ between each card that was printed - even if there was only one card. My print routine for a multi page A4 report goes something like this…
set the printPaperSize to 595,842 # A4 size set the printScale to 1 open printing to pdf tPath if the result is "Cancel" then exit printReport put 0,0,595,842 into tRect print card "A" of this stack into tRect print break print card "B" of this stack into tRect print break print card "C" of this stack into tRect close printing As far as the titlebar thing goes I guess you can just add a field or whatever that is only shown when printing, in which case you would temporarily need to move the rest of the card controls down a tad. Terry... On 21/02/2015 12:26 am, "Graham Samuel" <livf...@mac.com> wrote: >I am keen to implement this, but I came up against a couple of little >problems: > >1. If I try to export a whole window (a card, really), after setting the >printPaperSize to the window’s dimensions and printMargins to zero, I >get two pages in my PDF, the first one blank. The print statement itself >says ‘print this card’, which should print one card, and the page size >seems right, so it’s a mystery. Can anyone say why this happens? > >2. Actually I even wanted to show the title bar of the window, which >exporting the card doesn’t do (this is not a bug, just the way it works, >AFAICS). I decided to add a bit extra to the height of the page to >accommodate at least a bit of empty space to represent the title bar, but >this didn’t work. I still got two pages, and the second page was the >exact size of the window. Mysterious again. > >OTOH, the quality of the PDFs is superb. > >Graham > >> On 20 Feb 2015, at 00:38, Terry Judd <terry.j...@unimelb.edu.au> wrote: >> >> David¹s right - PDF export is definitely the way to go. It¹s even good >>for >> bitmaps if you use high res images that have been sized down and locked >> within LC. >> >> Terry... >> >> On 20/02/2015 9:56 am, "Graham Samuel" <livf...@mac.com> wrote: >> >>> Ha! Sounds promising. Midnight here, I¹ll investigate tomorrow. Thanks >>> >>> Graham >>> >>>> On 19 Feb 2015, at 23:33, dfepst...@comcast.net wrote: >>>> >>>> For high resolution export of vectors: open printing to pdf >>>> >>>> David Epstein >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode