Automatic printing of Mail attachments

We need an applescript to automatically print attachments that come in with Mail. There is only one attachment per Mail message, and they are all simple PDF files. It would always go to one printer (but printer would need to be set to an odd paper size in Page Setup.) Does anyone have anything like that that we could modify to work?