'PER DIAG 58 PRINTER CMD DUMP 0.20;BASE3'
Could you try 'PER DIAG 58 PRINTER CMD SPOOL CONS NOTERM "#DUMP 0.20;BASE3 "#SPOOL CONS TERM'
If entered from the command line, the escape would be necessary.The quote character is the TERM ESCAPE, the hash character is the TERM LINEND char.
Richard Corak