Dos command Print strange behavior

V

Vin

Hi,

I have a document that I want to print using the Dos command Print.

- I am using a laptop with XP Professional installed
- My printer is connected to the serial port (com1:) with settings of
baud=115200, DataBits=1, Parity=none, Stop bits=1, Flow control is Xon/Xoff

When I send it either a text file about 3kb in size using either:

Print /D: COM1: file.txt
Copy file.txt COM1:

The printer will start to print, but then it stops and then start printing
garbage. But when I reset the baud to 9600, it will print just fine.

Anyone knows what's going on here? Is Dos print command only using baud of
9600?

How can I using the COM1 port with 115200 baud rate?

I have also tried MODE LPT1:=COM1: and print through LPT1:, but I still have
the same issue.

Any Ideas?

Thanks!
 
H

HeyBub

Vin said:
Hi,

I have a document that I want to print using the Dos command Print.

- I am using a laptop with XP Professional installed
- My printer is connected to the serial port (com1:) with settings of
baud=115200, DataBits=1, Parity=none, Stop bits=1, Flow control is
Xon/Xoff

When I send it either a text file about 3kb in size using either:

Print /D: COM1: file.txt
Copy file.txt COM1:

The printer will start to print, but then it stops and then start
printing garbage. But when I reset the baud to 9600, it will print
just fine.

Anyone knows what's going on here? Is Dos print command only using
baud of 9600?

How can I using the COM1 port with 115200 baud rate?

I have also tried MODE LPT1:=COM1: and print through LPT1:, but I
still have the same issue.

9600 is standard. The printer probably can't handle 115200.
 
P

Plato

=?Utf-8?B?Vmlu?= said:
I have a document that I want to print using the Dos command Print.

- I am using a laptop with XP Professional installed
- My printer is connected to the serial port (com1:) with settings of
baud=115200, DataBits=1, Parity=none, Stop bits=1, Flow control is Xon/Xoff

When I send it either a text file about 3kb in size using either:

Print /D: COM1: file.txt
Copy file.txt COM1:

The printer will start to print, but then it stops and then start printing
garbage. But when I reset the baud to 9600, it will print just fine.

Then just use what works. Nuff said...
 
H

HeyBub

Vin said:
The printer can handle 115200 because it is working before until
Windows XP.

Ah, okay. Well, use 9600 then.

9600bps is way faster than the computer can print anyway, so nothing is
lost.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top