• 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
Print in postscript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Print in postscript


  • Subject: Print in postscript
  • From: Adrien FRANCOIS <email@hidden>
  • Date: Mon, 23 May 2005 12:37:24 +0200

Title: Print in postscript
Hello,

I want to automate the conversion in postscript format of Appleworks document.
There is no problem to print on a classic printer, but I always obtain errors with executing script for printing into ps.
Here is my original script. What must I modify to print without dialog box in PS ?

tell application "Finder"
    
    set the source_folder to path to current user folder as alias -- définit une variable contenant le chemin vers le répertoire home de l'utilisateur courant
   
    (* Si Apleworks est deja ouvert, on le ferme *)
    tell application "AppleWorks 6"
        quit
   end tell
   
    
    if (exists file "titre.cwk" of folder "Données utilisateur AppleWorks" of folder "Documents" of source_folder) then
       print file "titre.cwk" of folder "Données utilisateur AppleWorks" of folder "Documents" of source_folder
   end if
   
    
    
end tell -- fin de l'appel au Finder

Quit


Thank you.

--
Adrien FRANCOIS
Architecture et système

Direction des systèmes d’information
Centre Hospitalier de Rouffach
27, rue du 4ème RSM
F- 68250 ROUFFACH
Tel
:  +33 (0)3 89 78 71 82
Fax  :  +33 (0)3 89 78 74 35

Courriel :  email@hidden
Web :  http://www.ch-rouffach.fr

 _______________________________________________
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

  • Prev by Date: Re: Running this script without the "Enable access for assistive devices" box checked
  • Next by Date: Running this script without the "Enable access for assistive devices" box checked 2nd Question
  • Previous by thread: Re: Running this script without the "Enable access for assistive devices" box checked
  • Next by thread: Running this script without the "Enable access for assistive devices" box checked 2nd Question
  • Index(es):
    • Date
    • Thread