Click here to Skip to main content
15,923,087 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
Questionspeed test Pin
ramamaru8-Jun-06 9:44
ramamaru8-Jun-06 9:44 
QuestionRe: speed test Pin
David Crow8-Jun-06 10:27
David Crow8-Jun-06 10:27 
AnswerRe: speed test Pin
ramamaru9-Jun-06 3:49
ramamaru9-Jun-06 3:49 
GeneralRe: speed test Pin
David Crow9-Jun-06 4:02
David Crow9-Jun-06 4:02 
AnswerRe: speed test Pin
Sebastian Schneider10-Jun-06 12:32
Sebastian Schneider10-Jun-06 12:32 
QuestionReduce the volume of system sound Pin
Anu_Bala8-Jun-06 2:22
Anu_Bala8-Jun-06 2:22 
AnswerRe: Reduce the volume of system sound Pin
S Douglas9-Jun-06 20:27
professionalS Douglas9-Jun-06 20:27 
QuestionCBM-1000 II printer and communication with C# 2.0 Pin
Member 7610947-Jun-06 1:05
Member 7610947-Jun-06 1:05 
Hi all.

I cant understand what`s wrong in my code...
I`ve got "Command Reference" of Citizen CBM-1000 II Line thermal printer.
For example, cutting the paper:


[Command] (1) GS V m .......
[Command] (2) GS V m n ..... 
[Function] Cutting the paper
[Code]  (1) <1D>H<56>H<m>
        (2) <1D>H<56>H<m><n>
[Range] (1) m = 1, m = 49
        (2) m = 66
            0 <= n <= 255
[Outline] Performs the specified paper cutting.
Value of 'm' ----    Function
1 or 49      ---- Partial cut (Leaving a bridge area uncut)
66           ---- Paper feed by "cut position + {n ´ basic calculation
                  pitch}"and partial cut (Leaving a bridge area uncut)


Here`s my code (C# 2.0):
<br />
            SerialPort printer = new SerialPort("COM4");<br />
            printer.Open();<br />
            byte[] buffer = new byte[3] { 0x1D, 0x56, (byte)1 };<br />
            printer.Write(buffer, 0, 3); // printer.Write("GS V 1");<br />
            printer.Close();<br />

Printer do not cut the paper. Just printing some symbols...

What`s wrong here ?
Please help.
AnswerRe: CBM-1000 II printer and communication with C# 2.0 Pin
Sebastian Schneider8-Jun-06 0:55
Sebastian Schneider8-Jun-06 0:55 
GeneralRe: CBM-1000 II printer and communication with C# 2.0 Pin
Member 7610948-Jun-06 2:46
Member 7610948-Jun-06 2:46 
QuestionBandwidth Pin
terry8933-Jun-06 7:28
terry8933-Jun-06 7:28 
AnswerRe: Bandwidth Pin
Michael Dunn3-Jun-06 9:26
sitebuilderMichael Dunn3-Jun-06 9:26 
AnswerRe: need help? Pin
Michael Dunn8-Jun-06 18:15
sitebuilderMichael Dunn8-Jun-06 18:15 
GeneralRe: need help? Pin
Haitham Khedre8-Jun-06 22:33
Haitham Khedre8-Jun-06 22:33 
Question16f874a Pin
Jocus31-May-06 4:18
Jocus31-May-06 4:18 
QuestionMainboards Pin
ehsan_prog29-May-06 20:26
ehsan_prog29-May-06 20:26 
AnswerRe: Mainboards Pin
Sebastian Schneider2-Jun-06 8:02
Sebastian Schneider2-Jun-06 8:02 
QuestionMoving XP to bigger HD?? Pin
Vaclav29-May-06 10:40
Vaclav29-May-06 10:40 
AnswerRe: Moving XP to bigger HD?? Pin
JCParker30-May-06 11:25
JCParker30-May-06 11:25 
QuestionCommity charge rising over many files being saved Pin
Emiliano25-May-06 2:35
Emiliano25-May-06 2:35 
AnswerRe: Commity charge rising over many files being saved Pin
fat_boy1-Jun-06 5:57
fat_boy1-Jun-06 5:57 
AnswerRe: Commity charge rising over many files being saved Pin
Dan Neely1-Jun-06 6:02
Dan Neely1-Jun-06 6:02 
QuestionAutologon OK, now how do you turn it off?? Pin
Vaclav19-May-06 13:46
Vaclav19-May-06 13:46 
AnswerRe: Autologon OK, now how do you turn it off?? Pin
Arjan Einbu20-May-06 6:51
Arjan Einbu20-May-06 6:51 
Questionexternal hdd drive frozen Pin
Marc Soleda16-May-06 0:33
Marc Soleda16-May-06 0:33 

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.