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..
I tried:
PrintDocument pd = new PrintDocument();
pd.DocumentName = ("c:\\GIP_Foto\\data.log");
pd.Print();
But it just opens a new screen to select what you want to print..
need help?
Isaaac -1 Newbie Poster
Ramy Mahrous 401 Postaholic Featured Poster
Isaaac -1 Newbie Poster
Ramy Mahrous 401 Postaholic Featured Poster
Isaaac -1 Newbie Poster
Isaaac -1 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.