printer not ready

January 17, 2010 at 02:45:37
Specs: Windows XP
i have an datamax allegro 2 serial printer

i configure it with dos mode command
mode com1:9600,n,8,1

then i invoke foxpro for dos
? chr(1)+"#"

error: printer not ready
can anyone help why?


See More: printer not ready

Report •

#1
January 17, 2010 at 04:10:52
This is the dos forum, and it is my understanding printer ports for windows are best setup under the particular o/s in use.

For dos:-

Redirect the printer:-

MODE LPT1: = COM1:
MODE COM1:9600,n,8,1,P

these can be entered in flight for testing and then placed in autoexec.bat when working ok for permanent use.

Just enter MODE to see current settings.

Am surprised you have no parity as it is there as a check that data is being sent/received ok.

P relates to when data is sent quicker than it can be printed (retry on timeout).

Advise back how you get on.

Good Luck - Keep us posted.


Report •
Related Solutions


Ask Question