TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Piyush Mohan
NA
96
9.5k
Printing form gives me blank page from printer
Jan 15 2021 10:57 AM
Printing form gives me blank page from printer.
I used below codes:-
PrintDocument pd =
new
PrintDocument();
pd.PrinterSettings.PrinterName = cmbprinter.SelectedItem.ToString();
string
[] files = Directory.GetFiles(FileDir);
foreach
(
string
file
in
files)
{
FileInfo file_into =
new
FileInfo(file);
string
short_name = file_into.Name;
pd.DocumentName = short_name;
pd.Print();
}
Reply
Answers (
2
)
Help!!! How to run a Crud operation in single page View ASP.NEtCore ??
How to capture and reuse a dynamic variable in a Controller?