Hello I need this done today and it should be simple for anyone who is a printing expert in c# winforms.
another worker created a function for us
and this part needs to print
if (save)
{
if([login to view URL](folderPath))
{
string fileName, fullPath;
do
{
fileName = [login to view URL]() + ".png";
fullPath = [login to view URL](folderPath, fileName);
}
while([login to view URL](fullPath));
StreamWriter writer = new StreamWriter([login to view URL](fullPath));
[login to view URL]([login to view URL]);
[login to view URL]();
[login to view URL]();
status["imagePath"] = fullPath;
}
}
I also need an else function
} else { // if save == false
i need it instead of saving the file to the harddrive keep it in memory and print from memory.
the print option cannot show print preview it must just print directly to the default printer.