If the samples run fine, that's a good sign. Probably means it has something to do with your styles file. Do you have .drt file located in the same folder with your input file? If so, could you attach it? First thing I would do is compare the contents of the style file with those of the sample files--esp the resolution settings.