Old DOS-Based App & Parallel Printer
-
- Advanced Member
- Posts: 695
- Joined: Sat Nov 04, 2000 12:00 am
- Location: Spring Hill, FL
Old DOS-Based App & Parallel Printer
I have been helping someone who uses an old DOS-based Calendar program, which runs in a DOS Window, his OS is W2000. The program is called CALENDAR and is setup to print to LPT1, connected using the parallel cable to an HP Laserjet II. The printer has been acting up and he'd like to change the program to be able to print to a different printer. But I looked at the printer settings in the program, and the only choices are LPT1, LPT2 or LPT3 or you can also specify "Device or File". But I could not get it to print to his default printer in Windows, a USB connected Brother.
Anyone know how this could be done, to get it to print to the default printer that Windows recognizes?
He has used this program for years and is very reluctant to switch to something newer.
Thanks!!!
Anyone know how this could be done, to get it to print to the default printer that Windows recognizes?
He has used this program for years and is very reluctant to switch to something newer.
Thanks!!!
You could try sharing the USB printer then using the old command:
Gawd that command brings back some chilling memories ..... 
Code: Select all
net use LPT1: \\computer\sharename /persistent:yes

http://www.computerglitch.net"I'm doing a (free) operating system (just a hobby, won't be big and professional...) for AT clones... It's not portable and it probably [won't ever] support anything other than AT hard disks, as thats all I have :-(." --Posted on Usenet August 1991 by Linus Trovalds
curiosity builds security | dd if=/dev/zero of=/dev/hda bs=512 count=100
EOF
-
- Advanced Member
- Posts: 695
- Joined: Sat Nov 04, 2000 12:00 am
- Location: Spring Hill, FL
You can still have a MS Dos Server runninggreEd wrote:You could try sharing the USB printer then using the old command:
Gawd that command brings back some chilling memories .....Code: Select all
net use LPT1: \\computer\sharename /persistent:yes
![]()

It will show up as a "MS Dos - Peer Network" in Windows 2000

It's good to see you still around greEd
_______________________________________________
Vendor neutral certified in IT Project Management, IT Security, Cisco Networking, Cisco Security, Wide Area Networks, IPv6, IT Hardware, Unix, Linux, and Windows server administration
[SIGPIC][/SIGPIC]
Vendor neutral certified in IT Project Management, IT Security, Cisco Networking, Cisco Security, Wide Area Networks, IPv6, IT Hardware, Unix, Linux, and Windows server administration
[SIGPIC][/SIGPIC]

- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
The "net use LTP1" command will load last..and over ride the local physical port.Qui-Gon John wrote:Thanks, hadn't thought about that angle. And the printer is already shared, so that makes it even easier.
Would I have to do anything to the real LPT1 or would that command supersede any prior setting to the actual parallel port?
To kill it if you decide to switch to local....type command again..but instead of the persistant arguement..use /del or /delete or /d (I think all 3x worked in 2K)...net use ltp1: /delete
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!
Hey ShinobiShinobi wrote:You can still have a MS Dos Server running
It will show up as a "MS Dos - Peer Network" in Windows 2000![]()
It's good to see you still around greEd

I still lurk around here in my spare time. Work, new baby and the wife occupy everything else. Stay "Happy"

http://www.computerglitch.net"I'm doing a (free) operating system (just a hobby, won't be big and professional...) for AT clones... It's not portable and it probably [won't ever] support anything other than AT hard disks, as thats all I have :-(." --Posted on Usenet August 1991 by Linus Trovalds
curiosity builds security | dd if=/dev/zero of=/dev/hda bs=512 count=100
EOF
-
- Advanced Member
- Posts: 695
- Joined: Sat Nov 04, 2000 12:00 am
- Location: Spring Hill, FL
This worked!!!
Although only for 1 shared printer. He has a Brother and an HP as USB Shared Printers. I used the command for the Brother and the print went there but was blank, (I imagine because the old DOS App's HP2's drivers were too different).
Then I tried it to the HP Shared Printer (a Photo-Smart) and it worked fine.
Thanks!!!
Although only for 1 shared printer. He has a Brother and an HP as USB Shared Printers. I used the command for the Brother and the print went there but was blank, (I imagine because the old DOS App's HP2's drivers were too different).
Then I tried it to the HP Shared Printer (a Photo-Smart) and it worked fine.
Thanks!!!
- YARDofSTUF
- Posts: 70006
- Joined: Sat Nov 11, 2000 12:00 am
- Location: USA
-
- Advanced Member
- Posts: 695
- Joined: Sat Nov 04, 2000 12:00 am
- Location: Spring Hill, FL
Hi all, another problem now regarding this same Old DOS-Based Calendar program. This guy apparently lost any old copies of the data file and his data file got corrupted. I have saved the corrupted file, in the meantime we created a new data file, but he's begging to get the old file repaired. He says he has a lot of info in there he can't duplicate elsewise. I've been telling him for years to switch to using Outlook's calendar, (I successfully moved him to Outlook from IncrediMail a few years ago and have been trying to convince him his life would be much easier to just use Outlook's calendar, since he's already familiar with Outlook from working with email. But so far no luck. Then when his file got corrupted I really tried to tell him, it's time now to switch. But he still wanted me to see if I can find any way to repair the old data file. So if anyone has any idea, please let me know.
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
What was that data file hosted on? Just the local hard drive? Which OS?
Certain database software will have their own native "utility" to repair/optimize" the database...even though this DOS app is ancient, is the software company still around to reach out to their support?
Certain database software will have their own native "utility" to repair/optimize" the database...even though this DOS app is ancient, is the software company still around to reach out to their support?
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!
-
- Advanced Member
- Posts: 695
- Joined: Sat Nov 04, 2000 12:00 am
- Location: Spring Hill, FL
Thanks for the reply. I personally think he's out of luck. I looked around in the program and cannot even find a company name to see if they are still around. But when you run it, it makes (if not already there) a file called calendar.fil. In that is all the data, as well as user settings such as colors, printer selected, etc. His original one got corrupt and only one little piece of data showed within the calendar. I copied that file to a safe location, re-opened the program and a new file was created, and he could do everything, of course none of his data was in there.
Hey Hi.. its me again Shinobi your guide in the realm of DOS Dungeons and DragonsQui-Gon John wrote:Thanks for the reply. I personally think he's out of luck. I looked around in the program and cannot even find a company name to see if they are still around. But when you run it, it makes (if not already there) a file called calendar.fil. In that is all the data, as well as user settings such as colors, printer selected, etc. His original one got corrupt and only one little piece of data showed within the calendar. I copied that file to a safe location, re-opened the program and a new file was created, and he could do everything, of course none of his data was in there.

_______________________________________________
Vendor neutral certified in IT Project Management, IT Security, Cisco Networking, Cisco Security, Wide Area Networks, IPv6, IT Hardware, Unix, Linux, and Windows server administration
[SIGPIC][/SIGPIC]
Vendor neutral certified in IT Project Management, IT Security, Cisco Networking, Cisco Security, Wide Area Networks, IPv6, IT Hardware, Unix, Linux, and Windows server administration
[SIGPIC][/SIGPIC]
