Question: "print" Output to text file

I like the pretty print of maple, and I want to print the output to a file instead Maple document (if it could be, print in both of 2).

For example:

exprs := [ (a*x + b)/sin(x) = 0, (a*x^2 + b*x + c)/(d*x + e) = 0 ]:
print~(exprs);

And my output text file may be somthing like this:
                          a x + b    
                          ------- = 0
                          sin(x)     
                          2              
                       a x  + b x + c    
                       -------------- = 0
                          d x + e        
                               []

Another qusetion is there is allway the is a "[]" or "{}" after the output if I use the ~ instead of for command.

Please Wait...