printPaperOrientation and iOS

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
robjr
Posts: 3
Joined: Sat Mar 24, 2012 1:13 am

printPaperOrientation and iOS

Post by robjr » Sun May 20, 2012 4:12 pm

I'm printing a pdf to a file and then emailing it.

Everything works fine except for the printPaperOrientation statement - the iPad just ignores the line and prints as portrait. I've searched everywhere on line and can't find if this is a LiveCode bug or I'm just using the wrong command - all I can find is that the command should be before you open printing, but I'm doing that ... any ideas?

put specialFolderPath("documents") & "/certificate.pdf" into tFilePath
set the printPaperOrientation to "landscape"
open printing to PDF tFilePath
print card 2 of this stack into 0,0,575,800
close printing

Post Reply