sending file to folder to be printed then moved to new done folder

hello, I am new to the site.

I am looking for a script to attach to a folder so that when i send a file or sets of files to that folder it would print the file(s) and once it’s done printing each file it would send the file to a done folder.

Thank you

Browser: Firefox 2.0.0.3
Operating System: Mac OS X (10.4.x)

Shortage of answers because not many folks are still running (or even have) OS X 10.2.x, and so have no way to test.

Cool. I upgraded the comp. to 10.4 now.

Hi there,
what type of files are you trying to print? If it’s PDFs then you might want to try this script I wrote for Acrobat 7.

on adding folder items to this_folder after receiving added_items
	--set this_folder to choose folder
	if folderReady(this_folder) then
		tell application "Finder"
			set pdfList to every file of this_folder whose name ends with ".pdf"
			
			repeat with i from 1 to number of items in pdfList
				
				set this_item to item i of pdfList
				tell application "Adobe Acrobat 7.0 Professional"
					open this_item
				end tell
				tell application "Adobe Acrobat 7.0 Professional"
					print pages active doc PS Level 3 with shrink to fit
					close active doc
				end tell
				
			end repeat
		end tell
	end if
end adding folder items to

on folderReady(tFolder)
	set myFolder to tFolder as alias -- use the path to the folder that's loading
	set firstSize to size of (info for myFolder) --get initial size
	delay 3 --wait 3 seconds
	set newSize to size of (info for myFolder) --get a newer size, bigger
	repeat while newSize ≠ firstSize --if they don't equal, loop until they do
		set firstSize to newSize --new base size
		delay 3 --wait three seconds
		set newSize to size of (info for myFolder) --get a newer size
	end repeat --once the sizes match, the transfer is complete
	return true
end folderReady

I’m running it on a machine that’s running 10.3.9 an it seems to work well!

Thanks for the script, but I am using freehand mx. would I just have to change the app. in the script? Thank you.