Click here to Skip to main content
15,888,803 members
Home / Discussions / C#
   

C#

 
GeneralRe: A C# Windows Application can not run in Windows XP Pin
Member 1173519614-Jun-15 20:51
Member 1173519614-Jun-15 20:51 
GeneralRe: A C# Windows Application can not run in Windows XP Pin
Simon_Whale14-Jun-15 23:07
Simon_Whale14-Jun-15 23:07 
AnswerRe: A C# Windows Application can not run in Windows XP Pin
Bernhard Hiller14-Jun-15 21:47
Bernhard Hiller14-Jun-15 21:47 
SuggestionRe: A C# Windows Application can not run in Windows XP Pin
Richard Deeming15-Jun-15 1:13
mveRichard Deeming15-Jun-15 1:13 
QuestionCard reader and control data Pin
Jean-Pierre Carvalho (JPCarvalho)14-Jun-15 0:51
Jean-Pierre Carvalho (JPCarvalho)14-Jun-15 0:51 
AnswerRe: Card reader and control data PinPopular
OriginalGriff14-Jun-15 1:20
mveOriginalGriff14-Jun-15 1:20 
GeneralRe: Card reader and control data Pin
Jean-Pierre Carvalho (JPCarvalho)14-Jun-15 4:43
Jean-Pierre Carvalho (JPCarvalho)14-Jun-15 4:43 
QuestionBarcode printing Sato Lm 408e thermal SBPL Pin
gunturlin12-Jun-15 2:00
gunturlin12-Jun-15 2:00 
I'm making an application that produce barcode labels. I'm using Sato LM408e thermal printer. In order to print i'm using sbpl command. I got no error but the printer doesnt print anything. Is there anyone who has experience printing with sato barcode printer? lm 408e to be more specific

My Code:

C#
PrintDialog printDia = new PrintDialog();
printDia.PrinterSettings = new PrinterSettings();
DialogResult result = printDia.ShowDialog();
StringBuilder sb = new StringBuilder();
        sb.AppendLine("<STX><ESC>A");
        sb.AppendLine("<ESC>H0001<ESC>V0001<ESC>XM45676567");
        sb.AppendLine("<ESC>Q1");
        sb.AppendLine("<ESC>Z<ETX>")
String output = sb.ToString().Replace("<ESC>", ((char)27).ToString());
        output.Replace("<STX>",((char)2).ToString());
        output.Replace("<ETX>", ((char)3).ToString());
if (result == DialogResult.OK)
        {
            RawPrinterHelper.SendStringToPrinter(printDia.PrinterSettings.PrinterName, output);
        }


and my output value :
http://imgur.com/hVCk2ic[^]
AnswerRe: Barcode printing Sato Lm 408e thermal SBPL Pin
OriginalGriff12-Jun-15 2:41
mveOriginalGriff12-Jun-15 2:41 
QuestionBinaryFormatter - Serialize OutOfMemory Exception Pin
Kit Fisto11-Jun-15 1:54
Kit Fisto11-Jun-15 1:54 
AnswerRe: BinaryFormatter - Serialize OutOfMemory Exception Pin
Sascha Lefèvre11-Jun-15 2:23
professionalSascha Lefèvre11-Jun-15 2:23 
GeneralRe: BinaryFormatter - Serialize OutOfMemory Exception Pin
Brisingr Aerowing11-Jun-15 11:55
professionalBrisingr Aerowing11-Jun-15 11:55 
GeneralRe: BinaryFormatter - Serialize OutOfMemory Exception Pin
Sascha Lefèvre11-Jun-15 16:41
professionalSascha Lefèvre11-Jun-15 16:41 
AnswerRe: BinaryFormatter - Serialize OutOfMemory Exception Pin
Eddy Vluggen11-Jun-15 12:29
professionalEddy Vluggen11-Jun-15 12:29 
GeneralRe: BinaryFormatter - Serialize OutOfMemory Exception Pin
Kit Fisto23-Jun-15 5:34
Kit Fisto23-Jun-15 5:34 
GeneralRe: BinaryFormatter - Serialize OutOfMemory Exception Pin
Eddy Vluggen23-Jun-15 5:57
professionalEddy Vluggen23-Jun-15 5:57 
QuestionSMTP - Failure sending mail. Pin
Hrishikesh Shivacharan10-Jun-15 23:12
Hrishikesh Shivacharan10-Jun-15 23:12 
AnswerRe: SMTP - Failure sending mail. Pin
OriginalGriff10-Jun-15 23:49
mveOriginalGriff10-Jun-15 23:49 
SuggestionRe: SMTP - Failure sending mail. Pin
Richard MacCutchan11-Jun-15 1:01
mveRichard MacCutchan11-Jun-15 1:01 
AnswerRe: SMTP - Failure sending mail. Pin
Abhipal Singh11-Jun-15 6:23
professionalAbhipal Singh11-Jun-15 6:23 
QuestionHow to write java script for image upload on choose file type not in click function Pin
balajiparamkusam10-Jun-15 4:42
balajiparamkusam10-Jun-15 4:42 
AnswerRe: How to write java script for image upload on choose file type not in click function Pin
CHill6010-Jun-15 4:56
mveCHill6010-Jun-15 4:56 
Question(SOLVED) C# .NET File.Delete() Not Working. Pin
uniflare9-Jun-15 16:28
uniflare9-Jun-15 16:28 
Questionhow to fill textbox with data from access database in c sharp windows application Pin
Being The Sharan Kumar9-Jun-15 7:31
Being The Sharan Kumar9-Jun-15 7:31 
AnswerRe: how to fill textbox with data from access database in c sharp windows application Pin
Richard Deeming9-Jun-15 7:58
mveRichard Deeming9-Jun-15 7:58 

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.