Click here to Skip to main content
15,910,787 members
Home / Discussions / C#
   

C#

 
GeneralRe: Code to send data over GPRS Network Pin
Babubhai0714-Aug-07 0:46
Babubhai0714-Aug-07 0:46 
GeneralRe: Code to send data over GPRS Network Pin
plastio14-Aug-07 1:48
plastio14-Aug-07 1:48 
GeneralRe: Code to send data over GPRS Network Pin
Babubhai0714-Aug-07 4:08
Babubhai0714-Aug-07 4:08 
GeneralRe: Code to send data over GPRS Network Pin
Babubhai0714-Aug-07 5:33
Babubhai0714-Aug-07 5:33 
GeneralRe: Code to send data over GPRS Network Pin
plastio14-Aug-07 5:34
plastio14-Aug-07 5:34 
QuestionWhat is output Pin
seemamltn13-Aug-07 7:44
seemamltn13-Aug-07 7:44 
AnswerRe: What is output Pin
Michael Potter13-Aug-07 7:57
Michael Potter13-Aug-07 7:57 
AnswerRe: What is output Pin
Christian Graus13-Aug-07 8:17
protectorChristian Graus13-Aug-07 8:17 
AnswerRe: What is output Pin
Dan Neely13-Aug-07 8:49
Dan Neely13-Aug-07 8:49 
AnswerRe: What is output Pin
Luc Pattyn13-Aug-07 9:00
sitebuilderLuc Pattyn13-Aug-07 9:00 
AnswerRe: What is output Pin
m@u13-Aug-07 9:38
m@u13-Aug-07 9:38 
JokeRe: What is output Pin
Luc Pattyn13-Aug-07 9:52
sitebuilderLuc Pattyn13-Aug-07 9:52 
AnswerRe: What is output Pin
Ravi Bhavnani13-Aug-07 18:36
professionalRavi Bhavnani13-Aug-07 18:36 
Questionprint pdf file to network printer using printer IP address Pin
There is always the way to do it, but I don't know13-Aug-07 7:39
There is always the way to do it, but I don't know13-Aug-07 7:39 
I use following code in C# to print pdf files, it works ok, I want to use printer's IP address instead of printer's name, any help?

private static void doPrint(string executable, string fileFullPath, string printerName)
{
// Print PDF file using Acrobat Reader.
// "/h" - hidden mode
// "/t" - print command following by the file name and printer name
System.Diagnostics.ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.Arguments = "/h /t \"" + fileFullPath + "\" \"" + printerName + "\"";
startInfo.FileName = executable;
startInfo.UseShellExecute = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
System.Diagnostics .Process process = new Process() ;
try {
process = Process.Start(startInfo);
}
catch (Exception ex)
{
DBMaint.updateLogFile (ex.Message.ToString ());
}
finally
{
process.WaitForExit(20000);
if (process.HasExited == false)
{
process.Kill();
}
}
}
AnswerRe: print pdf file to network printer using printer IP address Pin
Hessam Jalali13-Aug-07 9:03
Hessam Jalali13-Aug-07 9:03 
GeneralRe: print pdf file to network printer using printer IP address Pin
There is always the way to do it, but I don't know14-Aug-07 17:27
There is always the way to do it, but I don't know14-Aug-07 17:27 
GeneralRe: print pdf file to network printer using printer IP address Pin
Hessam Jalali16-Aug-07 20:23
Hessam Jalali16-Aug-07 20:23 
QuestionPainting Reversible Rectangle Pin
T.D.Prasad13-Aug-07 7:03
T.D.Prasad13-Aug-07 7:03 
AnswerRe: Painting Reversible Rectangle Pin
Christian Graus13-Aug-07 8:19
protectorChristian Graus13-Aug-07 8:19 
QuestionRe: Painting Reversible Rectangle Pin
T.D.Prasad13-Aug-07 8:37
T.D.Prasad13-Aug-07 8:37 
AnswerRe: Painting Reversible Rectangle Pin
Luc Pattyn13-Aug-07 8:51
sitebuilderLuc Pattyn13-Aug-07 8:51 
QuestionRe: Painting Reversible Rectangle Pin
T.D.Prasad13-Aug-07 9:02
T.D.Prasad13-Aug-07 9:02 
AnswerRe: Painting Reversible Rectangle Pin
Luc Pattyn13-Aug-07 9:14
sitebuilderLuc Pattyn13-Aug-07 9:14 
AnswerRe: Painting Reversible Rectangle Pin
Christian Graus13-Aug-07 8:55
protectorChristian Graus13-Aug-07 8:55 
QuestionRe: Painting Reversible Rectangle Pin
T.D.Prasad13-Aug-07 9:12
T.D.Prasad13-Aug-07 9:12 

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.