You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to print a pdf file to printer directly from a Web service.
It works under IIS Express but in deployment machine it doesn't work.
Gives:
An error occured when call to 'gsapi_new_instance' is made: -100
The code is:
Using processor As New GhostscriptProcessor()
Dim switches As New List(Of String)()
switches.Add("-empty")
switches.Add("-dPrinted")
switches.Add("-dBATCH")
switches.Add("-dNOPAUSE")
switches.Add("-dNOSAFER")
switches.Add("-dNumCopies=1")
switches.Add("-sDEVICE=mswinpr2")
switches.Add(Convert.ToString("-sOutputFile=%printer%") & printerName)
switches.Add("-f")
switches.Add(filename)
processor.StartProcessing(switches.ToArray(), Nothing)
End Using
IIS is running 64 bit.
ApplicationPool has an Administrator user identity.
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to print a pdf file to printer directly from a Web service.
It works under IIS Express but in deployment machine it doesn't work.
Gives:
An error occured when call to 'gsapi_new_instance' is made: -100
The code is:
IIS is running 64 bit.
ApplicationPool has an Administrator user identity.
The text was updated successfully, but these errors were encountered: