• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: automatic saving pdf files in pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatic saving pdf files in pages


  • Subject: Re: automatic saving pdf files in pages
  • From: KOENIG Yvan <email@hidden>
  • Date: Tue, 21 Sep 2010 16:30:19 +0200


Le 21 sept. 2010 à 14:12, Luther Fuller a écrit :

On Sep 21, 2010, at 4:29 AM, Jarda Kotesovec wrote:

I was wondering if would be possible solve the following issue in
Pages with apple script.

I need to force Pages to save document in PDF format at the moment
when you save it as a native Pages document.  Normally user have to
save it (as a native pages document) and then pick up "File -> Export
... -> PDF -> Next.. -> Export" to have pdf copy as well. I need to
save these clicks (exporting to pdf) in term of faster workflow.

Download this ...

http://www.cups-pdf.de/

It is a virtual printer that creates a pdf document instead of a paper document.
Using it requires a minimum of GUI scripting.
You will need to change the printer, like this ...

-- set printer to CUPS-PDF
tell application "Printer Setup Utility"
set currentPrinter to (current printer)
try
set current printer to printer "CUPS-PDF"
on error
error "CUPS-PDF is not installed."
end try
end tell

--  restore Printer
tell application "Printer Setup Utility"
set current printer to currentPrinter
quit
end tell

Hello Luther

Triggering a script whose unique task is to save in a PDF doesn't solve the original question which was to do the save as Pages document and save as PDF in a single call.

In fact, the OP described the long path which allow us to set the quality level which can't be done thru the CUPS scheme.

The short scheme is to call "Print" then select PDF > print in a PDF file. This one doesn't allow us to set the quality level.

This is why I posted two scripts.

The first one save as native Pages format thru the normal Save command then trigger the Export > PDF > quality Level > Go  thru GUI scripting.
The second one save as native Pages format  thru the normal Save command then  tSave as PDF thru the normal Save command with the optional parameter defining the format.

Yvan KOENIG (VALLAURIS, France) mardi 21 septembre 2010 16:29:51



 _______________________________________________
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

  • Follow-Ups:
    • Re: automatic saving pdf files in pages
      • From: Jarda Kotesovec <email@hidden>
References: 
 >automatic saving pdf files in pages (From: Jarda Kotesovec <email@hidden>)
 >Re: automatic saving pdf files in pages (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: automatic saving pdf files in pages
  • Next by Date: Re: automatic saving pdf files in pages
  • Previous by thread: Re: automatic saving pdf files in pages
  • Next by thread: Re: automatic saving pdf files in pages
  • Index(es):
    • Date
    • Thread