Rép: printing with Pages
Rép: printing with Pages
- Subject: Rép: printing with Pages
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 24 Aug 2009 10:03:29 +0200
Le 18 août 2009 à 17:39:15, Yvan KOENIG a écrit :
Hello
I don't understand which is my error.
I'm trying to print only page 1 of a document.
I thought that I understood well the dictionary but:
tell application "Pages"
print document 1 with properties {starting page:1, ending page:1}
without print dialog
end tell
prints the complete document.
Is somebody able to give me an explanation ?
Of course the given script is just a small part of an other one.
Yvan KOENIG (VALLAURIS, France.) mardi 18 août 2009 17:38:26
I made tests with TextEdit too.
tell application "TextEdit"
print document 1 with properties {starting page:1, ending page:1,
pages across:2} without print dialog
end tell
The two pages of the documents are printed, which is odd but the
'pages across' parameter is used and both pages are on the same sheet.
With Pages I get two pages A4.
My tests where made with 10.4.11.
I don't know the behavior with 10.5, my Leopard machine is not at
home these days.
I guess that there are two sets of problems:
the fact that starting and ending pages are ignored by the two
programs let me think that something is odd at a global level.
the fact that Pages ignopres the 'pages across' parameter seems to be
specific to this app.
Before sending a report, I wish to know the behavior with 10.5.
Yvan KOENIG (VALLAURIS, France.) lundi 24 août 2009 10:03:23
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden