How can i print a text file in c#?
I've been looking on the internet and found code, but I just need it on paper, don't care what type of letters, just a regular print..
And i want to keep the code short.
I've found long code, but I've got to make it work at thuesday 25/05..
PrintDocument pd = new PrintDocument();
pd.DocumentName = ("c:\\GIP_Foto\\data.log");
But it just opens a new screen to select what you want to print..
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.