Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Ugh, the pain

Ugh, the pain

1,255 3
So this morning one of my indirect managers comes up to me with his laptop in hand. This has been a bad thing to see coming in the past. Following on from that experience, there was one application that had been copied across that he wanted to be able to work with. Now the program was running fine, bar one little problem. It couldn't print.

The problem is that we are talking about a pretty up to date laptop, and a not-too-shabby home printer. The biggest problem was going to be the program, a word processor from 1988. This beauty comes with its own print engine, that if you want to set up a printer in, you have to supply the drivers yourself. Confident that this may not recognise drivers designed to work on Windows XP, I decided that I was probably going to have to place an emulated layer between the app and the printer.

After some time Googling, I found an suite that sounded like just the job. It would emulate an LPT port, print the sent information to a file, and then redirect that data to the printer. Wonderful. Or at least it would be, if it had installed properly, and not taken down Windows spooler service either when you went to configure the process, or five minutes had elapsed since you had restarted the spooler. Two uninstalls and one reinstall later (the first one botched and didn't remove the emulator drivers), I hit Google again.

Experts Exchange came to the rescue this time. with a little functionality straight out of the annals of "Coo, I didn't know Windows could do that", I discovered that by sharing the printer, and using net use I could map the port to the shared printer.[1] Nice.

But does that work? No. For some reason, even though typing the UNC path into Windows Explorer will show the printer to be very much alive and kicking on the workgroup, net use refuses point blank that its there. I have restarted, I have disabled firewalls, I have done everything I can think of that might be the cause and searched for hours on end for anything else.

Anybody have any ideas?

Discussion

Loading comments...