Hi again, it works setting the paper size in the report options with the paper 'U' (may be User) and setting the values in milimeters.
But I have another problem, the printer must match the same size configured in the report, is there any way to configure the printer paper size, I say by code not manually?