Batch processing with change paper size

Hey folks

Sorry, bit of a newbie here so forgive my ignorance.
I have seen a number of postings on batch printing and have been able to get some of it to work pretty well using a Folder Action. However, I’m running into some issues.

A user wanted to be able to have a folder where he could drop dozens of PDFs and have them print out without having to go through Acrobat to do it. However, the files all want to print out in Letter size paper but he wants them all to print as Tabloid.

I’ve searched this board all morning but haven’t been able to find anything to help me out. So far, the script I am using is this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

on adding folder items to this_folder after receiving these_items
try
tell application “Finder”
repeat with i from 1 to number of items in these_items
try
set this_item to item i of these_items
set the path_string to this_item as string
set the final_path to POSIX path of the path_string
do shell script “/usr/bin/lp '” & final_path & “'”
on error error_message
tell application “Finder”
display dialog "Error for item " & (this_item as string) ¬
& ": " & error_message buttons {“Continue”, “Cancel”} ¬
default button 1 giving up after 120
end tell
end try
end repeat
end tell
on error error_message
tell application “Finder”
display dialog error_message buttons {“Cancel”} ¬
default button 1 giving up after 120
end tell
end try
end adding folder items to

-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

I was hoping someone could help out with this.
Thanks

Keith

Try this. I forget where I got thihs…

property myFolder : (alias “Macintosh HD:Users:sisaia:Documents:ghostSCRIPT:Out:”) – --Set the path for the the watched folder

on idle
set myfiles to list folder myFolder without invisibles – store list of items in folder without invisible files
repeat with myfile in myfiles
set mycurrentfile to (myFolder as string) & (myfile as string) as string – get the name of the current file
tell application “Acrobat 6.0.1 Professional”
activate – bring up Acrobat if not already running
delay 3
open mycurrentfile – acrobat opens the new file
delay 3
tell document 1
print pages PS Level 2 with shrink to fit and binary output
close
end tell
tell application “Finder” – to move the printed file out
set x to ((“Macintosh HD:Users:sisaia:Documents:ghostSCRIPT:Send:”) as text) --Set to path of folder for archiving files
move file mycurrentfile to folder x

		end tell
	end tell
end repeat
return 30 --Amount of time to check folder 

end idle