• 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 w/o interaction?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing w/o interaction?


  • Subject: Printing w/o interaction?
  • From: Dennis Wurster <email@hidden>
  • Date: Wed, 12 Feb 2003 16:44:52 -0500

Hi All,

I'm trying to build a simple Folder Action script.

I want to have this script print a copy of any item that's dropped into it.

So far it works pretty well, opening whatever application is needed to print
the document, but it always stops at the print dialog.

I want the script to simply print, without showing the dialog if possible.

I read the Finder Dictionary, which said:

> 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

How can I learn what properties exist that I can include? If I'm starting
the print job from the finder, and always want to use the default settings
of the print driver (Which in this case is a generic Adobe LaserWriter
driver), which properties must I specify?


Here's what I have so far:

on adding folder items to myFolder after receiving myNewFiles
tell application "Finder"
print myNewFiles
end tell
end adding folder items to


--end script


What's the 'best' way to solve this challenge?

-=Dennis=-
_______________________________________________
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: Printing w/o interaction?
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Saving a temp file?
  • Next by Date: Internet Dis/Connect script?
  • Previous by thread: Re: Saving a temp file?
  • Next by thread: Re: Printing w/o interaction?
  • Index(es):
    • Date
    • Thread