Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print to COM1 from FOXDOS in Window XP

Status
Not open for further replies.

Kflasph

Programmer
Apr 8, 2002
65
0
0
US
I am trying to print to a Zebra printer using the command
SET PRINT TO COM1
SET PRINT ON
and then I pass the printer commands.

When I use the SET PRINT ON command, I get an error that the printer is not available. I think that my problem may be the baud rate because I can print a test page from my printer setup in Windows.

The baud rate on my printer is 19200. Does the baud rate need to be adjusted to 9600 on any printer that is used to print in FOXDOS?

Also, I can create a text file in DOS for windows and copy the file to the COM1 and it prints fine but when I try the ! DOS command from FOXPRO with the same file - I get the error that the printer is not available.

Thanks in advanced !

KFlasph
 
I should have read other threads before posting this (I called myself doing it)

jrbbldr had posted a reply to a similar problem and suggested to remove the driver for Windows altogether.

I did that and it worked great!

KFlasph
 
I am glad that it helped you out and solved your problem.

Good Luck,


JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top