Following a suggestion by Gary King, font names are case insensitive now (They remain case sensitive in the generated pdf document) and write-document accepts a string as a file designator. Marc