Parameters
- docName
- The document name, which appears on the progress dialogs and on the print job windows.
- flags
- Flags that select printing options.
- header
- String that appears on the top of every page.
- footer
- String that appears on the bottom of every page.
Return Value
True if the grid was printed, false if the user canceled the operation.