Este comando modifica a variável sistema OK
WR BLOB TO PRINT SETTINGS
WR OPEN DOCUMENT
WR Print settings to BLOB
WR SAVE DOCUMENT