Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: Print Pdf Character Encoding

$
0
0
Hi,

I use Ghostscript.Net v1.2.0 for printing pdf files. It prints pdf documents which has only english characters very well but when I try print pdf document which has some turkish characters it doesn't print these characters. Do you have any suggestion for this situation ? My source code shown below;
using (GhostscriptProcessor processor = new GhostscriptProcessor())
                    {
                        List<string> switches = new List<string>();
                        switches.Add("-empty");
                        switches.Add("-dPrinted");
                        switches.Add("-dBATCH");
                        switches.Add("-dNOPAUSE");
                        switches.Add("-dNOSAFER");
                        switches.Add("-dNumCopies="+item.NumberOfCopies);
                        switches.Add("-sDEVICE=mswinpr2");
                        switches.Add("-sOutputFile=%printer%" + item.PrinterName);
                        switches.Add("-f");
                        switches.Add(destFile);
                        processor.StartProcessing(switches.ToArray(), null);
                    }

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>