Printing using the default printer from within a function
Posted on 1998-07-15
How do I call the default printing in a View from other than the menu? I would also like to suppress the Print Dialog. I have a POS application (MDI) in progress with buttons in the main view class indicating payment methods. When the user presses the appropriate button, I would like to do some calcs, open the cash drawer, then print the invoice without further users intervention. I have the default printing in the view class implemented and working from the menu and toolbar.