lcPrinter = GETPRINTER() && Get the default printer... IF !EMPTY(lcPrinter) SET PRINTER TO NAME (lcPrinter) REPORT FORM RecTrav PREVIEW ENDIF