Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ClassWizard not displayed Pin
peaqea5-Apr-09 19:36
peaqea5-Apr-09 19:36 
QuestionRe: ClassWizard not displayed Pin
David Crow6-Apr-09 6:38
David Crow6-Apr-09 6:38 
AnswerRe: ClassWizard not displayed Pin
prithaa7-Apr-09 2:32
prithaa7-Apr-09 2:32 
QuestionPC based application using Microsoft Bluetooth Stack Pin
Kevin Geary5-Apr-09 16:47
Kevin Geary5-Apr-09 16:47 
AnswerRe: PC based application using Microsoft Bluetooth Stack Pin
Soundman32.26-Apr-09 0:32
Soundman32.26-Apr-09 0:32 
GeneralRe: PC based application using Microsoft Bluetooth Stack Pin
Kevin Geary6-Apr-09 1:43
Kevin Geary6-Apr-09 1:43 
GeneralRe: PC based application using Microsoft Bluetooth Stack Pin
Soundman32.26-Apr-09 1:53
Soundman32.26-Apr-09 1:53 
QuestionInterfacing with an Maxatec POS receipt printer, printing "downloaded images" Pin
Sternocera5-Apr-09 8:00
Sternocera5-Apr-09 8:00 
Hello,

I'm writing an application that needs to interface with a Maxatec MT-200 receipt printer. This is done through posting bytes to the device. I have successfully changed character encodings and made text bold in the past, so my basic approach is sound.

I am working off the MT-200 technical manual, but I don't seem to be having much luck getting it working printing monochrome bitmap images (bitmap in the traditional sense, 1-bit per pixel).

ftp://ftp.maxatec-europe.com/Public/Maxatec/MT-200_Technical.pdf[^]

Look to page 59 and 60, defining and printing a downloaded bit image. It certainly has me confused.

[Name]   Define downloaded bit image
                               
[Format] ASCII      GS          ∗     x y d1 ... d (x x y x 8)
         Hex         1D        2A    x y d1 ... d (x x y x 8)
         Decimal   29          42    x y d1 ... d (x x y x 8)

  .................

          The number of dots in the horizontal direction is x x 8, in the vertical
              direction it is y x 8.


Surely the number of horizontal dots is the number specified by x. Does it simply mean x must be a multiple of 8? When I write the following bytes to the device:

1D 2A 10 10 66 66 66 66 66 66 66 66

in an effort to define a downloaded device image, the device becomes unresponsive - it doesn't print any additional ascii bytes I might send. It certainly doesn't respond to the print dowloaded image command:

1D 2F 30

What should I do? Can anyone make sense of this documentation? I myself cannot work it out, so I'd appreciate if someone else could weigh in,

Regards,
Sternocera
AnswerRe: Interfacing with an Maxatec POS receipt printer, printing "downloaded images" Pin
Iain Clarke, Warrior Programmer6-Apr-09 1:56
Iain Clarke, Warrior Programmer6-Apr-09 1:56 
GeneralRe: Interfacing with an Maxatec POS receipt printer, printing "downloaded images" Pin
Sternocera6-Apr-09 3:12
Sternocera6-Apr-09 3:12 
QuestionArchitectural problem Pin
0x3c05-Apr-09 6:27
0x3c05-Apr-09 6:27 
AnswerRe: Architectural problem Pin
Stuart Dootson5-Apr-09 11:44
professionalStuart Dootson5-Apr-09 11:44 
GeneralRe: Architectural problem Pin
0x3c06-Apr-09 4:34
0x3c06-Apr-09 4:34 
GeneralRe: Architectural problem Pin
Stuart Dootson6-Apr-09 7:38
professionalStuart Dootson6-Apr-09 7:38 
GeneralRe: Architectural problem Pin
0x3c07-Apr-09 1:54
0x3c07-Apr-09 1:54 
GeneralRe: Architectural problem Pin
Stuart Dootson7-Apr-09 2:02
professionalStuart Dootson7-Apr-09 2:02 
GeneralRe: Architectural problem Pin
0x3c07-Apr-09 5:49
0x3c07-Apr-09 5:49 
AnswerRe: Architectural problem Pin
Garth J Lancaster5-Apr-09 17:41
professionalGarth J Lancaster5-Apr-09 17:41 
QuestionHuffman coding Pin
krish_amrita5-Apr-09 6:15
krish_amrita5-Apr-09 6:15 
AnswerRe: Huffman coding Pin
Cedric Moonen5-Apr-09 7:20
Cedric Moonen5-Apr-09 7:20 
AnswerRe: Huffman coding Pin
Luc Pattyn5-Apr-09 8:25
sitebuilderLuc Pattyn5-Apr-09 8:25 
AnswerRe: Huffman coding Pin
Stuart Dootson5-Apr-09 11:46
professionalStuart Dootson5-Apr-09 11:46 
QuestionHow to override TR1 "function class"' operator()(****)//many parameters ? Thanks! The code is as follows. Pin
yjred5-Apr-09 5:20
yjred5-Apr-09 5:20 
AnswerRe: How to override TR1 "function class"' operator()(****)//many parameters ? Thanks! The code is as follows. Pin
Stuart Dootson5-Apr-09 11:50
professionalStuart Dootson5-Apr-09 11:50 
QuestionCTabCtrl Usage. Pin
FISH7865-Apr-09 2:57
FISH7865-Apr-09 2:57 

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.