loListener = .NULL. loPreview = .NULL. DO (_REPORTOUTPUT) WITH 1,m.loListener * if preview (I guess I do this more for restore some settings) DO (_REPORTPREVIEW) WITH m.loPreview loListener.PREVIEWCONTAINER = m.loPreview ***************************** * At least on my system, that's the trick, this will be the file name (without extension) on a simple PDF printer: loListener.PRINTJOBNAME = cYourFileName ***************************** REPORT FORM .... OBJECT m.loListenerI'm just blinded by XFRX, because it's better automation to FORCE pdf output.