>>Please show the code you use. Earlier you could use two different syntaxes, but one of them is no longer supported. Also tell which version you use.
>>
>>>Weird thing happening on the computer of a client.
>>>
>>>The user previews a report. Name of the printer displayed is ok but when that user click on the printer icon the reports prints on another printer. When the user clicks on the printing paramaters the good name for the printer is still there. When the user prints the reports from there everything prints fine on the right printer.
>>>
>>>Any idea how to fix this?
>
>The problem is probably solved. Printer environment was saved for a report. I'll see with my users if this solves the problem that I had.
Clearing the printer environment usually solves such problems.