Showing posts with label DOS. Show all posts
Showing posts with label DOS. Show all posts

Friday, 27 May 2011

Windows XP Mode–Printing From A DOS Application

Some of our clients have Line of Business Applications that go way back. This is especially true for accounting firms where folks will come to them to fill out tax reports for years gone by.

Some of those LoBs were DOS with no other option to run them.

So, we get the app set up in XP Mode on the Windows 7 system, from there we need to run the following command in the command line shell:

  • net use lpt1 \\pserver\laser1 /persistent:yes

Since 99.9% of our clients don’t even have a parallel port on their computer anymore, it is probably quite safe to use LPT1. For those rare cases use LPT2.

One can either point that command to a server share or share the locally attached USB printer making sure that the firewall allows the connection.

Note that in our experience both HP and Lexmark printers seem to work okay for this process. The actual printout may not be what is expected, but it works. If using any other printer vendor’s products this may or may not work due to driver or PCL language issues.

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists
Co-Author: SBS 2008 Blueprint Book

*Our original iMac was stolen (previous blog post). We now have a new MacBook Pro courtesy of Vlad Mazek, owner of OWN.

Windows Live Writer

Tuesday, 23 September 2008

XP - 16 bit MS-DOS Subsystem - Error S32EVNT1.DLL

On a brand new Lenovo T61 laptop after a downgrade to XP Professional and subsequently the removal of any superfluous software we received the following when running a DOS app:

16 bit MS-DOS Subsystem

C:\DOCUME~1\SAVIOL~1\Desktop\SHORTC~1.PIF
C:\PROGRA~1\Symantec\S32EVNT1.DLL. An installable Virtual Device Driver failed Dll initialization. Choose 'Close' to terminate the application.

Since our client has Symantec Corporate 10.2 A/V managed by the server, we had uninstalled the Symantec Client Security.

One of the things we do as we are prepping a system and installing their line of business applications is run them to verify that everything is good to go.

This particular application is a DOS based inflation/tax/interest/ and other financial type stuff calculator written by a local Edmonton fellow. The program receives regular updates for Canadian tax updates and the like. It just works ... so why look for something else?

So, after double clicking on the shortcut, that is the error that we received.

To date, we have never seen this one!

A quick search turned up a couple of Symantec technical articles:

The first one is what fixed it for us ... almost. We need to pay particular attention to the instructions as they say to delete the data for the indicated key, not delete the key itself!

We navigated to the required registry location:

Registry: HKLM\System\CurentControlSet\Control\VirtualDeviceDrivers

Double click on the VDD key and delete the data contained therein. Note that in our case no zeros were left as the Symantec article indicated there may be. Also, if we placed the zeros in the key, the error came back when we started the DOS program.

This is what the key looks like after removing the data:


Registry: Blank VDD Key

One more little thing to watch out for when threads of an old program are left by a software uninstall.

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists

*All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.