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: Mikajinn Kigagal
Country: Trinidad & Tobago
Language: English (Spanish)
Genre: Business
Published (Last): 14 August 2006
Pages: 413
PDF File Size: 2.6 Mb
ePub File Size: 15.11 Mb
ISBN: 523-4-40171-146-1
Downloads: 12920
Price: Free* [*Free Regsitration Required]
Uploader: Akinolrajas

[gs-devel] Merge multiple PDFs to PostScript with GhostScript / C# – I got an answer

The time taken to convert the document to PDF depends on the size of the document. What should i write on the click event of both button. Help us improve MSDN. Hi, I want to convert the. Hi, I want to convert the. Is it giving any kind of errors? Thus, we need to catch this exception and ignore it for the normal operation of our job.

The logic used behind is: I found ghostscript as confusing. I tried doing it by removing the StreamWriter and StreamReader objects altogether by simply using info. What we are actually doing here is that we are creating a Virtual Printer that prints to a.

Each file type have been assigned some default applications to run with. Whenever we launch a document, the associated application is invoked by the Operating System as a new Process.


How can I use Ghostscript API in “server mode” to convert files using VB or C# ? – CodeProject

A way to know the error is to show the gswin32c window. Means that i want to install it using codes.

There seems to have a bug which replaces the message with back slashes, if the message contains one. Hi, is it possible to convert HTML documents to pdf using this app. Regards, Deepak Kataria Title: Edited by Castorix31 Monday, July 31, This problem first started when the C drive ran out of space hanging all processes and still continuing.

How can I use Ghostscript API in “server mode” to convert files using VB or C# ?

Hi yhostscript recall my posts Title: I have searched so may option, but nothing full proof. Could we use batch size of the printing page like for single side pdfs and for duplex pdfs.

Dude, excellent article, really of gr8 help. Thanks for your g8 help Vinayak.

This method is the final step of our application which converts the postscript file generated by the Ghostscript printer in the above function to a PDF document. Also the ps printer has to run on the server! Hi Bhuban, Could we create 1 PostScript file from several pdfs which are store in a directory folders and subfolders. I have a problem, when I deployed the site for creating Ps file.


You may get some info from the latest gs documentation. Yes it will definitely retain posyscript fonts. Pro Public, Private, and Hybrid Cloud: In figure 9 of this article, you will see a form with 2 buttons.

But we are now facing a problem where the process hangs at converttops step with winword. Not anything that I know. For more details check http: We then programatically use the gswin32c. Reagrds, Deepak Kataria Title: The ps file is saved as gsoutput.

This is just a wild guess. Ot after giving an End C## it ends the ghstscript and generates. One is for selecting the file to convert and the second convert calls the two functions concurrrently. You can check for that and try. Hoping to hear from your side soon.

This leads on to: When I tried, I found the following: Hi BhubanThanks for your quick reply. The logic used behind is: Hi, How to convert as PDF with output of web page using. My probelm is solved.