中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-16 05:07
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » [Urgent] How do I output a file to a peripheral with DOS commands?
Printable Version  651 / 2
Floor1 frankzzz Posted 2003-10-16 00:00
初级用户 Posts 3 Credits 111
I want to output a file to a peripheral through the serial port. What DOS command should I use? Can the serial port output data format and baud rate be set? How are the parameters set?
Urgent, please advise, experts. Many thanks!!!
Floor2 txj Posted 2003-10-19 00:00
初级用户 Posts 2 Credits 115
If what is connected to your serial port is a serial printer (for example, inserting a serial circuit board into an Epson LQ-1600K to convert it into a serial printer), you can use the following command:

Assume the serial printer is connected to serial port 1

C:\>type config.sys > com1

Explanation: this outputs the contents of the config.sys file on the serial printer.

If for some other reason you need to set parameters such as the serial port output data bits, stop bits, baud rate, etc., you can use the command

C:\>mode /?

to view its help.
Floor3 frankzzz Posted 2003-10-20 00:00
初级用户 Posts 3 Credits 111
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023