• 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
printing 2 sided pdf files w/out interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

printing 2 sided pdf files w/out interaction


  • Subject: printing 2 sided pdf files w/out interaction
  • From: a fukzoff <email@hidden>
  • Date: Thu, 5 May 2005 12:08:33 -0400

I am starting out trying to teach myself some ascripting, and thought it would be good to try and automate something I do frequently. However, I seem to have hit a roadblock wrt automating printing....

Basically, what I want to do is:

1)  take a bunch of pdf files (already living in a specific folder)

2) send the pdf files to a printer that supports 2 sided printing (which is not my default printer)

3) set the options for the 2 sided printer (i.e. long edge binding etc)

4) have the files print out without any further user interaction (i.e. drag the folder of files on top of the droplet, grab a cup of coffee and head over to our office copy machine that is doing the 2 sided printing etc)

is something like this possible in ascript, or am I barking up the wrong tree?

should I look at gui scripting, create a 2 sided printing preset, and then change the preset (via gui scripting)?

or, do I need to use another apps printing engine (preview doesn't seem to have a library I can open)

thanks in advance

PS-it seems like this should be easy, but looking back in the archives it seems this has caused a lot of head scratching....

also, another related question, I looked thru the finder's dictionary, for the standard suite->commands I
see the print command:


print: Print the specified object(s)
   print  reference  -- list of objects to print
      [with properties  record]  -- optional properties to be included
with the print command sent to the application that prints the direct
object

To me, it looks like I might be able to get started if I know what the structure of the record is for [with properties record] ..i.e. the structure of the optional [with properties record]. Does anyone know how I go about finding out what the optional [with properties record] is? I can't for the life of me figure this out from the dictionary....

thanks again

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: printing 2 sided pdf files w/out interaction
      • From: Adam Wuellner <email@hidden>
    • Re: printing 2 sided pdf files w/out interaction
      • From: Emmanuel <email@hidden>
    • Re: printing 2 sided pdf files w/out interaction
      • From: "John C. Welch" <email@hidden>
  • Prev by Date: Re: System Events (was Re: Frontmost)
  • Next by Date: Re: System Events (was Re: Frontmost)
  • Previous by thread: Re: FMP Container Field crashes & oddities...
  • Next by thread: Re: printing 2 sided pdf files w/out interaction
  • Index(es):
    • Date
    • Thread