copy to COM in cmd prompt


I'm trying to send files to a thermal printer via RS232.  In the manual, it says i can just send these command files to the printer via dos copy with the /b binary switch.  My printer is on COM3..  what is the syntax for copying to a COM port?  i can't figure it out..

thanks - Trevor
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

copy filename > com3: /b
copy filename > com3: /b

I assume you really meant:

 copy filename com3: /b
trevorhartmanAuthor Commented:
thanks all.... when i copy a file to the printer is it supposed to print?
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

trevorhartmanAuthor Commented:
it says 1 file(s) copied, but i was expecting it to print..
The most likely problem is that the baud rate (or handshaking protocol) is not matching.

Do you know what baud rate the printer is expecting?

If not, try the following command from the command prompt before using the above Copy command:

> mode com3: 9600,n,8,1
> copy... etc.

Also, make sure you have the proper cable (there are at least two types, pins 2 and 3 are crossed over, or not).

Also, create a very short text file with notepad, say "temp.txt", and try printing that first:

> copy temp.txt com3:

This may be obvious, but are you sure that COM3 is the port your printer is connected to? Most PC's just have 1 or 2 serial ports.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
trevorhartmanAuthor Commented:
great, thanks for your help, i got it working
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.