Hi Benoit,
Have you tried to save this report as a PDF file?. First you need Adobe Acrobat Writer installed on your computer then in your code you have the following:
&& change from the default printer driver to Adobe Acrobat Writer driver
set printer to name "Acrobat PDFWriter"
&& lets say you have a report called "invoice" where "invm" is the invoice
&& Number
report form invoice noconsole to file &invm
&& change back to the old printer driver
set printer to DEFAULT
&&This works if you have windows NT on you computer. If you have windows 98 or &&95 for example, in order to get PDFWriter to print unattended under Win95 a &&couple of settings need to be made in the Win.ini file
[Acrobat PDFWriter]
PDFFileName=C:\WINDOWS\TEMP\__wwpdf.pdf
bDocInfo=0
&& the best website for that is
&&
http://www.west-wind.com/presentations/pdfwriter/pdfwriter.htm&& Good luck