Answer the question
In order to leave comments, you need to log in
How to print a pdf document?
There is a .pdf document, how to call at least the print window in the program?
The solution with CodeRoad did not help. (
CreateTempFile();
Process p = new Process();
p.StartInfo = new ProcessStartInfo()
{
CreateNoWindow = true,
Verb = "print",
FileName = @"C:\Program Files (x86)\Arbitr\Temp\TempFile.pdf"
};
p.Start(); // Пишет что не удается вызвать эту программу
Answer the question
In order to leave comments, you need to log in
Try this method. https://www.tek-tips.com/viewthread.cfm?qid=1686563
By the way, yours should also work if you set your printer as the default printer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question