I want to convert a Postscript. You can use the The Ghostscript Interpreter API . Please refer to the following c# code to Does GhostScript provide any library so that we can reference it in our C# project to programmatically handle printing of ps / pdf files?. Nov 3, Greetings, Can anyone suggest how to merge multiple PDF files into a single PostScript file when using GhostScript with C# At the command.

Author: Arasho Voodoolkis
Country: Slovenia
Language: English (Spanish)
Genre: Medical
Published (Last): 26 April 2015
Pages: 138
PDF File Size: 3.44 Mb
ePub File Size: 10.78 Mb
ISBN: 616-8-55844-833-3
Downloads: 72155
Price: Free* [*Free Regsitration Required]
Uploader: Vudozil

Hello Deepak, If you want to merge PDF files, then you can directly use the merging option of ghostscript. Hi Bhuban, Please tell me what should i write on the click event of both bottons Hi Viruddhi, Though I have not implemented this through a Web application, but it should work with both Windows Application and Web application. I have one question Can we specify the path for storing. First the convertToPs and then convertToPdf. This email is in use. Hi Bhuban, I have a VB.

You can go through them to more about distribution.

After the print job completes, the process does not get disposed as the Application was running c. Convert Postscript to Text file using ghostscript Ask Question. Then, we are requesting the process to execute the print operation on the file.


This approach eliminate the problem with the popup when using html files.

Insults are not welcome. Please provide me help. Add your solution here.

c# – Convert Postscript to Text file using ghostscript – Stack Overflow

Open the file with the default application and print it, the printer being the installed Ghostscript printer. Thanks for your help. I will try to post a code snippet on this soon.

My code then would proceed to pdfProcess. Thanks for your g8 help Vinayak. You need to provide the full path of the input file. hhostscript

[gs-devel] Merge multiple PDFs to PostScript with GhostScript / C#

OpenSubKey item ; foreach var valueInner in inner. Yes it will definitely retain the fonts. If someone has the problem, that on a server deployed application isn’t able to create a ps file, then that may seriously be a problem with user restrictions on the server.

WriteLine ” Process Machine name: It will be really helpfull if you could post the code snippet. If we look closely at the code in Listing 1, we will get to know that we are using the installed PDF printer to print the file.

Email Required, but never shown.

You can also check the arguments. The difference would be, the GhostScript should be installed on the Server and the gswin32c. Hi i recall my posts Title: Hi Bhuban, i’ve just tried to put your code into my application asp.


[gs-devel] Merge multiple PDFs to PostScript with GhostScript / C#

I had the same problem as described earlier: Hi, convertToPdf method return string only. Hi andreas, How do you fix the problem with the empty output? Which adds virtual printer and prints the pstscript PS to the temp directory than Ghostscrupt can read the contents of that postscript file and save it to the database. Do you have any suggestions where there’s the rub? On the distribution of ghostscript, it depends on the License.

Waiting 4 ur reply. My probelm is solved. Thanks for your g8 help Vinayak. Each file type have been assigned some default applications to run with. Process hangs with winword. Hi Cedric, Here is your correct syntax: Amjad Abdullah sorry for the late answer and anyone else: By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.