Duplex print batches of PDF files... help a noob?

Hi, I’ve done a search for applescript and/or do shell script answers to my problem, but my knowledge level is pretty low, and I’m not sure what direction I should go with this or if it’s even possible. My task: Find a way to print (duplex) batches of 20 or 30 PDF files to an HP Laserjet 2015 printer, without going through a print dialogue for each PDF. I can drag them onto the printer icon in the dock, but no matter what the presets on the printer, they always print single-sided.

I’ve found some references to things like ‘set theShell to "lp -o sides=two-sided-long-edge "’ but, if something like that will work, have no idea how to incorporate it into a script or set up whatever looping I’d need to do.

I guess ideally I’d like to create a script, onto which I could drop a folder of PDF files, and have it print duplex to the default printer.

Anyone like to help me out??


Model: macbook pro 15" 2.2 ghz
AppleScript: 2.0.1
Browser: Safari 525.27.1
Operating System: Mac OS X (10.5)