on 10-28-2018 12:51 PM
I have a list of pdf files in the server at a specified path,
Now the crystal reports read the pdf file from the path and send it directly to printer.
A quick Google search found this:
And:
https://stackoverflow.com/questions/17448465/send-pdf-file-to-a-printer-print-pdf
private void SendToPrinter()
{
ProcessStartInfo info = new ProcessStartInfo();
info.Verb = "print";
info.FileName = @"c:\output.pdf";
info.CreateNoWindow = true;
info.WindowStyle = ProcessWindowStyle.Hidden;
Process p = new Process();
p.StartInfo = info;
p.Start();
p.WaitForInputIdle();
System.Threading.Thread.Sleep(3000);
if (false == p.CloseMainWindow())
p.Kill();
}
You likely need Adobe Reader installed to get the Adobe Printer
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Crystal doesn't "read" PDF files, but it can generate them. If you want to generate the file to PDF and print it, you'll have to run the report twice - once to save the PDF file and once to print it.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not that I'm aware of. However, you can look here to find a good list of what's available, free and (mostly) paid.
-Dell
Any free PDF Rasterizer which can be used for print directly from PDF file. Please find below link.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.