Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/24/09 08:00
Modified:
  06/24/09 09:31

Read: times


 
#166408 - Intern? [edited]
Responding to: ???'s previous message
[edit]
Ah, ignore the first bit - just seen that Goodson is your Distributor for the printer.
[/edit]

Giang Ho said:
I have a chat with a software developer from Goodson

Does this mean that you are an "intern" at Goodson?

Who is "Goodson"?

mode com1 9600,n,8,1
--> The printer will send RS232 connection detail and display on DOS

No, this has nothing to do with the printer at all.
This simply configures the baud rate (9600), parity (none), number of data bits (8), and number of stop bits (1) for the PC's COM1: port.

It doesn't cause the PC to send anything, and has no effect whatsoever on anything connected to the port - including your printer.

dir>com1

I think that should actually be
dir>com1:
(note the colon)

--> send root directory detail to and print on the thermal printer

It sends the output of the dir command to the COM1: port - it neither knows nor cares what may or may not be connected to that COM port!

3. He also told me to to print these characters "ABCDEFG" by:

type in: ABCDEFG then follow by ASCII command of LF & CR
but I could not figure out exactly what actual command I should type in:

If you didn't understand what he was telling you, you should have asked him to explain it!

C://ABCDEFG 0x0A 0x012
???

Is that going to be a valid command that DOS will understand??

To have what you type in a command prompt copied to the com port, type:
copy CON: COM1:

To escape from this, type Ctrl+Z, then hit Enter.


List of 44 messages in thread
TopicAuthorDate
CMP-10 thermal printer & 8051            01/01/70 00:00      
   Printer settings            01/01/70 00:00      
   Some hints/advice..            01/01/70 00:00      
   I sent commands like "BEL", or "ESC RS"            01/01/70 00:00      
      ASCII table            01/01/70 00:00      
      HyperTerminal & ASCII code            01/01/70 00:00      
         Would it be realistic....            01/01/70 00:00      
         Not text,            01/01/70 00:00      
            Not text,            01/01/70 00:00      
               Spend more time with the ASCII table.            01/01/70 00:00      
                  Still fail to test the printer            01/01/70 00:00      
                     The printer is working            01/01/70 00:00      
                     ASCII char on HyperTerminal            01/01/70 00:00      
                        Re: ASCII char on HyperTerminal            01/01/70 00:00      
                     ASCII char on HyperTerminal            01/01/70 00:00      
                        Is that guaranteed?            01/01/70 00:00      
                           I use it that way            01/01/70 00:00      
   XOn/XOff set on MCU side            01/01/70 00:00      
      You have to do it yourself            01/01/70 00:00      
         Re:You have to do it yourself            01/01/70 00:00      
            Intern? [edited]            01/01/70 00:00      
   HyperTerminal and microcontroller - please help!            01/01/70 00:00      
      HyperTerminal and microcontroller - please help!            01/01/70 00:00      
         May be I need to use cross over serial cable            01/01/70 00:00      
   Use printf to output to UART, but receive incorrect data            01/01/70 00:00      
      Re: Use printf to output to UART, but receive incorrect dat            01/01/70 00:00      
         printf only can output value from 256 to 32767 correctly            01/01/70 00:00      
            Hasn't Maarten already explained this?            01/01/70 00:00      
               Re: Hasn't Maarten already explained this?            01/01/70 00:00      
                  Show it!            01/01/70 00:00      
                     Re: Show it            01/01/70 00:00      
      use a cast            01/01/70 00:00      
         or RTFM            01/01/70 00:00      
            Re: RTFM            01/01/70 00:00      
            I found the solution. Thanks            01/01/70 00:00      
               Direct Memory?            01/01/70 00:00      
                  Re: Direct memory            01/01/70 00:00      
                     Definitely a BAD Idea!            01/01/70 00:00      
                        Re:Definitely a BAD Idea!            01/01/70 00:00      
                           Could you please suggest?            01/01/70 00:00      
                              Re: Do not call from ISR            01/01/70 00:00      
                                 I didn't say that            01/01/70 00:00      
                                    Thanks!            01/01/70 00:00      
         Re: use a cast            01/01/70 00:00      

Back to Subject List