Dos programs usage on printing lpt1 & lpt2 ports.

G

Guest

By changing to Win 2000, I still can use dbase 3 plus programs, however using
two lpt ports; lpt1 and lpt2, by means of ms dos application ,Prnswap.com.,
Win2000 always direct datas only through LPT1 port. In Win98,Me, there was
any problems by using this MS-dos Application command. Is there any ways to
go around or any another Ms-dos programs can be inserted into dbase 3 plus
program language to execute dos command ?. Within Dos promt condition,
Prnswap.com does not generate any error messages at all and seems accept
full aray of Dos command. Help please. Thanks.
 
J

j9

There should still be a way in the printer setup wizard to tell the OS to
emulate a network print queue/usb printer/non parallel printer into DOS LPT1
emulation. At least, that's the way we did it back in the old NT/Win95
days -- it was a radio button, as I recall.

I don't see anything like that now, but I'm on an XP Pro Corp box at the
moment so that probably ins't definative....
 
G

Guest

Thanks for your hint, however, could you be bit more details in either dos
commad languages or dbase 3 plus languages so that I can actually incorporate
into my own programings as " print to lpt2 and have it done ". Doing a task
without involving Window based cliking mouse or any functions. Just through
db3 plus langaages with dos commands. Thanks.
 
G

Guest

I tried with printer setup through Win 2000's start box.. Properties of
Printer that is hooked with LPT2 Port. There is not one to do some of
emulations you suggest. All printers; Lpt1 & Lpt22, will work flowlessly
with any Window base programs. I Just use this old dbase 3 plus programs for
my own works a lot. Thanks for your suggestions.
 
B

Bob I

Ok, IF the "old program" will only print to LPT1. Then the thing to do
is have the printers physically attached to LPT2 and LPT3 ,share them,
then NET USE LPT1 \\computername\sharedprintername for which ever
printer you want to print the output.
 
G

Guest

Thanks for your hints. After miss & tries, it started to work as follows;
1. incorporate dos line in my db3plus programs ; RUN NET USE LPT2
\\computername\sharedprintername /persistent:yes, then after print job done,
another dos line 2. RUN NET USE LPT2 /delete. Inthis way I can use both
printers in lpt1 & lpt2 according to types of printings I want. I also got
useful info's from article " Connecting an Ms-Dos Application to a Printer on
a USB port on Windows 2000 by Curtis Krauskopf. Thanks again.
 
B

Bob I

Glad it is working for you. Also in this case the "/persistent:yes" is
not necessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top