vb.net - Ghostscript Pdf printing to network printer issues with formatting -
i use windows 7 64 bit. have .net application , trying print pdf network printer using below code:
dim startinfo new processstartinfo() startinfo .arguments = string.format("-dprinted -dbatch -dnopause -dnosafer -dnocancel -dquiet -q -dnumcopies={0} -spapersize={1} -dpdffitpage -dfixedmedia -sdevice=mswinpr2 -soutputfile=""\\spool\{2}"" ""{3}"" ", numberofcopies, _papersize, _printername, _pdffilename) .filename = ghostscriptpath '"c:\program files\gs\gs9.07\bin\gswin64.exe" .useshellexecute = false .redirectstandarderror = true .redirectstandardoutput = true .windowstyle = processwindowstyle.hidden end gs = process.start(startinfo)
the pdf printing editable pdf , has text italic formatting. however, italic formatting not applied in printed output.
kindly let me know how can resolved.
thanks :)
Comments
Post a Comment