There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
Printing in dos


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
RubyLaser's Avatar
Junior Member with 4 posts.
 
Join Date: Jul 2006
13-Jul-2006, 08:46 AM #1
Printing in dos
Can someone out there please advise me on how to print in dos? I have an ibm xt connected to an Epson xp 1050 and i managed to get the printer to work in xp, but when i took the printer back to the xt machine and tried to print there it just gives a device timeout message in gwbasic and wont let me print.

Any help in this regard would be greatlty appreciated!
JohnWill's Avatar
Computer Specs
Moderator with 77,380 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
Experience: Advanced age & experience
13-Jul-2006, 09:51 AM #2
Printing in MS-DOS requires each application to have drivers for the specific printer you're using, it's not like using Windows. What printers does the application you're running support? If it has no specific print driver support, all you can print is plain text, and the printer has to understand that's what's coming. Some printers used to have emulation modes for common printers, but that's been a looooooooooong time ago, don't know if any current printers do that.

I'd recommend you print to a serial port and capture it on a more modern machine with something like HyperTerminal and you can print it on a Windows machine.
__________________
Microsoft MVP - User Desktop Experience

If you think experts are expensive, wait until you see what amateurs cost you!

Help me out with some details here, I'm brilliant, not clairvoyant!
RubyLaser's Avatar
Junior Member with 4 posts.
 
Join Date: Jul 2006
13-Jul-2006, 06:01 PM #3
I managed to find an old dos book and in it said that you have to declare the device in the config.sys, which i did (if remember correctly wrote device=c:\dos\printer (4208,385,2), my numbers could be wrong but that was basically it). But alas still did not print, the printer is a Seikosha sp 2000, I dont need to actually print but in order for this program to run it uses the lprint command in gwbasic and if it doesnt print it throws an error 27 msg. All I am trying to do is get the program to work, but I am having endless battles with it. Do you know if there is any way of viewing a .bas file on modern machines that will let me print it out so I can at least read it.

Thanks
JohnWill's Avatar
Computer Specs
Moderator with 77,380 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
Experience: Advanced age & experience
14-Jul-2006, 09:11 PM #4
You should be able to save the .BAS file in plain text mode, which will allow you to open it with NOTEPAD or any other plain text editor. Like I said, it's not som somple as putting some numbers in CONFIG.SYS, you actually have to have the printer supported as part of the application. That printer will emulate an Epson FX-80, which was pretty common back in the DOS days.
__________________
Microsoft MVP - User Desktop Experience

If you think experts are expensive, wait until you see what amateurs cost you!

Help me out with some details here, I'm brilliant, not clairvoyant!
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:23 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.