Click here to Skip to main content
15,890,995 members
Home / Discussions / C#
   

C#

 
GeneralRe: Err... Form Design / Layout? Pin
Baeltazor14-May-09 1:25
Baeltazor14-May-09 1:25 
AnswerRe: Err... Form Design / Layout? Pin
Henry Minute14-May-09 2:17
Henry Minute14-May-09 2:17 
QuestionBug with between sql command Pin
yueru14-May-09 0:02
yueru14-May-09 0:02 
AnswerRe: Bug with between sql command Pin
Rob Philpott14-May-09 0:10
Rob Philpott14-May-09 0:10 
GeneralRe: Bug with between sql command Pin
yueru14-May-09 3:25
yueru14-May-09 3:25 
GeneralRe: Bug with between sql command Pin
PIEBALDconsult14-May-09 3:51
mvePIEBALDconsult14-May-09 3:51 
GeneralRe: Bug with between sql command Pin
yueru14-May-09 5:04
yueru14-May-09 5:04 
QuestionConvert .Ps to .pdf Pin
Member 339495914-May-09 0:01
Member 339495914-May-09 0:01 
I want to develop a pdf printer. I can pass any type of document to the pdfprinter so that it will generate the PDF file.

i have used the Ghostscript 8.56 and my Operating System is :XP.

1.I can get the Postscript file (.ps)

2. Unable to convert to .pdf

I don't know where i did mistake, my code is as follows :

string command = "gswin32c.exe -q -dNOPAUSE -dBATCH - sDEVICE=pdfwrite -sOutputFile=" + path + " -fd:\\GSOUTPUT.PS";
Process pdfprocess = new Process();
StreamWriter write;
StreamReader read;
ProcessStartInfo info = new ProcessStartInfo("command");
info.WorkingDirectory = System.AppDomain.CurrentDomain.BaseDirectory;
info.CreateNoWindow = false;
info.UseShellExecute = false;
info.RedirectStandardInput = true;
info.RedirectStandardOutput = true;
pdfprocess.StartInfo = info;
pdfprocess.Start();
write = pdfprocess.StandardInput;
read = pdfprocess.StandardOutput;
write.AutoFlush = true;
write.WriteLine(command);
write.Close();
ret = read.ReadToEnd();
Pls help me to create pdf....


Thanks in Advance.

Regards
Doni
QuestionFile.Move throws exception Pin
Casper Hansen13-May-09 23:42
Casper Hansen13-May-09 23:42 
AnswerRe: File.Move throws exception Pin
Simon P Stevens14-May-09 0:27
Simon P Stevens14-May-09 0:27 
GeneralRe: File.Move throws exception Pin
Casper Hansen14-May-09 0:50
Casper Hansen14-May-09 0:50 
GeneralRe: File.Move throws exception Pin
Simon P Stevens14-May-09 1:00
Simon P Stevens14-May-09 1:00 
Questionhow to monitor user idle time from inside a application Pin
indradeep das13-May-09 23:38
indradeep das13-May-09 23:38 
AnswerRe: how to monitor user idle time from inside a application Pin
DaveyM6914-May-09 2:50
professionalDaveyM6914-May-09 2:50 
AnswerRe: how to monitor user idle time from inside a application Pin
PIEBALDconsult14-May-09 4:01
mvePIEBALDconsult14-May-09 4:01 
Questionwhat is the size of reference variable Pin
Mogaambo13-May-09 23:14
Mogaambo13-May-09 23:14 
JokeRe: what is the size of reference variable Pin
Mycroft Holmes13-May-09 23:16
professionalMycroft Holmes13-May-09 23:16 
GeneralRe: what is the size of reference variable Pin
Mogaambo13-May-09 23:29
Mogaambo13-May-09 23:29 
GeneralRe: what is the size of reference variable Pin
Pete O'Hanlon14-May-09 2:17
mvePete O'Hanlon14-May-09 2:17 
AnswerRe: what is the size of reference variable Pin
Rob Philpott14-May-09 0:19
Rob Philpott14-May-09 0:19 
GeneralRe: what is the size of reference variable Pin
Luc Pattyn14-May-09 0:42
sitebuilderLuc Pattyn14-May-09 0:42 
GeneralRe: what is the size of reference variable Pin
Rob Philpott14-May-09 0:44
Rob Philpott14-May-09 0:44 
GeneralRe: what is the size of reference variable Pin
Rob Philpott14-May-09 0:49
Rob Philpott14-May-09 0:49 
GeneralRe: what is the size of reference variable Pin
Luc Pattyn14-May-09 1:55
sitebuilderLuc Pattyn14-May-09 1:55 
GeneralRe: what is the size of reference variable Pin
Rob Philpott14-May-09 2:10
Rob Philpott14-May-09 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.