|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Printing a .dat filei have created a .dat file using a streamwriter and am having troubles
recalling the file for printing to a receipt. I know to use a printDialog and a PrintDocument, but how do i set the printDocument to the document i want? Any insight would help <baconbits***@gmail.com> schrieb:
>i have created a .dat file using a streamwriter and am having troubles What data does the DAT file contain? You'll have to handle the print > recalling the file for printing to a receipt. I know to use a > printDialog and a PrintDocument, but how do i set the printDocument to > the document i want? document's 'PrintPage' event, draw the data to be printed onto the page there ('e.Graphics.DrawString', 'e.HasMorePages') and start printing by calling the print document's 'Print' method. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks for the help. I was able to take what you said and find other
examples. Thanks
Least Cost Formulations and Linear Programming
Just-In-Time Debugging????? Q: Percentages Datagrid display problem Msg Box not displaying messages Error Logging? Data Grid Scroll Bar How to use Process ID (PID) to get elapsed CPU time? Howto Transfer data from the DataTable into a SQL Database Strongly typed data - the 'current row' |
|||||||||||||||||||||||