Hi All,
 
This is what I am trying to achieve. I have created a csv file using code. I open it up using ProcessStartInfo. Then I would show up the print dialog box from my code so the user would select a printer. I Assign the file I created (Which is open now) to the PrintDocument object. After user selects the printer I assign the printersettings of the PrintDialog object to the PrintDocument Object.
 
I call the method Print (of PrintDocument Object).
 
All It does is print a blank page.
 
I think it is because the file is open.
 
I was thinking may be I could pass the parameter of the printer to the ProcessStartInfo before I start the process.
 
How do I make a file to be printed to a specific printer using ProcessStartInfo.
 
Thanks
Sharon


SPONSORED LINKS
Object oriented programming language Object oriented Programming languages


YAHOO! GROUPS LINKS




Reply via email to