need help sending control characters epson printer 
Author Message
 need help sending control characters epson printer

I need help!

Is there a way to send control characters (like chr(27);chr(15)) directly to an
epson dot matrix printer in order to configure the way it will operate?
I have been trying command like Printer.Print Chr(27);chr(15) but no success
mainly because windows sends a "." character to the printer. What am I doing
wrong?

Thanx in advance!

Antoni




Mon, 16 Apr 2001 03:00:00 GMT  
 need help sending control characters epson printer
I'm not sure if that will work but it's worth a trial

Dim SI
SI = Chr$(27) & Chr$(15)
Printer.Print SI

I have a number of .com files to send  printer code to
epson dot matrix SI, SO etc. you might be able to shell them to get your
printer to change. Let me know.

--
HTH
delete "RemoveMe."

My home page: http://www.generation.net/~hleboeuf/


Quote:

> I need help!

> Is there a way to send control characters (like chr(27);chr(15)) directly
to an
> epson dot matrix printer in order to configure the way it will operate?
> I have been trying command like Printer.Print Chr(27);chr(15) but no
success
> mainly because windows sends a "." character to the printer. What am I
doing
> wrong?

> Thanx in advance!

> Antoni





Mon, 16 Apr 2001 03:00:00 GMT  
 need help sending control characters epson printer
Antoni
Try this:

Dim sWork as String
Open "LPT1:" for Binary as #1
sWork = chr$(27) & chr$(15)
Put #1,,sWork
Close 1

Helmar B. Herman

Quote:

>I need help!

>Is there a way to send control characters (like chr(27);chr(15)) directly
to an
>epson dot matrix printer in order to configure the way it will operate?
>I have been trying command like Printer.Print Chr(27);chr(15) but no
success
>mainly because windows sends a "." character to the printer. What am I
doing
>wrong?

>Thanx in advance!

>Antoni





Mon, 16 Apr 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How do I print Epson control characters to an Epson printer using VB5

2. printer control object - cannot send Esc character to printer

3. HELP: Sending Escape Characters for RLF to printer

4. Epson Printer Control Codes

5. Help with printing to Epson DFX printer from VB6

6. Help with printing to Epson DFX printer from VB6

7. Help - Must speed up printing on an Epson dot-matrix printer

8. Help with printing to Epson DFX printer from VB6

9. Need help on sending character to comm in echo mode

10. Help, How to send printer command to printer bypassing printer driver in vb

11. Need to send a command directly to printer (Eltron Card Printer)

12. Need control or DLL to send picBox to Printer

 

 
Powered by phpBB® Forum Software