• 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
"Duplicate file name. [-48]"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Duplicate file name. [-48]"


  • Subject: "Duplicate file name. [-48]"
  • From: Rick Norman <email@hidden>
  • Date: Sat, 26 Oct 2002 11:33:27 -0500

Obviously, I'm not the only one who has battled using AS to have Quark write
a postscript file. I saw the post from Kevin "email@hidden" (just below)
and had to slap my forehead due to the simplicity of it. The first test I
tried worked great (a simple letter size document with the word "test"), but
then when I tried to implement with a real job, an error occurs and I've no
idea why. I'm attaching a couple of screen shots that may help explain a
little more but the error is "Duplicate file name. [-48]"

Rick Norman


set projNumber to "FileName"
tell application "QuarkXPress"
print document 1 PostScript file (projNumber & ".ps")
close document 1 saving no
end tell

This will save the postscript file to your startup disk... then you
could write a script to move the .ps file to another location. The
only problem is that you need to tell the script to wait for the
"Desktop Printer Manager" to finish the script... I have a garbled
script that I use to do this... won't post it ... not pretty...

Let me know if I can help?

Kevin
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: "Duplicate file name. [-48]"
      • From: Shane Stanley <email@hidden>
  • Prev by Date: launching a default mail client
  • Next by Date: Re: How to read syntax description
  • Previous by thread: launching a default mail client
  • Next by thread: Re: "Duplicate file name. [-48]"
  • Index(es):
    • Date
    • Thread