Given the choice presented, you would have to put
it in the batch file (autoexec.bat), but you
could also put it in the same batch file used to
launch dataperfect. The printer mapping does not
need to be part of your boot sequence. Also,
its easier to do multiple printers or drive
mappings at the same time, if need be. If you
are asking a question like that about autoexec.bat,
I will also not that if you use notepad to create
a .bat file, be careful to create it as
godp.bat and not godp.bat.txt (check the file
name in the folder after you create it)
example of godp.bat: I added extra commands you might want to use.
net use lpt2: \\MyComputer\MyPrinter
net use lpt3: \\MyComputer\MyPrinter2
c:
cd\dp_data\
C:\dp26g\DP26G.EXE
net use lpt2: \\MyComputer\MyPrinter /delete
net use lpt3: \\MyComputer\MyPrinter2 /delete
or you could do something like this - create a
file called testprt.bat to check to see if the printer mapping is working
net use lpt2: \\MyComputer\MyPrinter
dir > lpt2
net use lpt2: \\MyComputer\MyPrinter /delete
Bob
At 04:27 PM 07/29/2011, Jong wrote:
Chris-
Does that command go into autoexect.bat or config.sys?
Also, you're saying a USB printer hooked into my laptop would work with this
command? or a server that has a usb printer attached?
Jon
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Christopher Dunn
Sent: Friday, July 29, 2011 3:50 PM
To: [email protected]
Subject: Re: [Dataperf] virtualization
It has been a while since I used direct printing (only remaining DP app
in production doesn't print), but if I recall correctly, the way I got
this to work in XP, was to share the USB printer (say, as "MyPrinter").
Then use: "net use lpt2: \\MyComputer\MyPrinter" command to map the usb
printer. -chris
On 2011-07-29 6:04 PM, Jong wrote:
> Fabio:
>
> Did you use VMWare 7 for this? I bought a copy and am waiting for a
> new Toshiba Protégé portable to arrive to install. I hope to use
> Dataperfect (which I run under the old WordPerfect Office) to continue
> running my patient database program. Using usb output for a printer
> is a must. I've seen a usb to parallel port converter at
> www.cyberguys.com but their support told me it wouldn't work unless
> program running it saw the virtual parallel port. SO, hope you can
> figure it out -- otherwise it leaves anyone with a new computer dead
> in the water.
>
> Jon Ong MD
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Muller Fabio
> Sent: Friday, July 29, 2011 2:46 PM
> To: [email protected]
> Subject: [Dataperf] virtualization
>
>
> Gentlemen , I know you are already very skilled in virtualization but
> I didn't find any vmware appliance ready with DP, so I decide to build
> one. It seems to be working fine, my only problem is with printing, as
> I don't have a parallel print but an USB and I'm still trying to put
> the appliance to print. I'm trying to redirect the LPT1 to USB via
> windows but I'm not getting to much success. I tested dosbox megabuild
> too but I'm having problems with CTRL-F keys. Printing is working fine
> in DOXBOX after some changes in the config file. Does anybody have
> success to remap the CTRL-F Keys ? Is it possible to copy the config
> file and send in a msg to the list ? Regarding the vmware appliance,
> as soon as I got success with the printer I'll try to let the
> appliance available somewhere.
>
> Rgds.
> _______________________________________________
> Dataperf mailing list
> [email protected]
> http://lists.dataperfect.nl/mailman/listinfo/dataperf
>
> _______________________________________________
> Dataperf mailing list
> [email protected]
> http://lists.dataperfect.nl/mailman/listinfo/dataperf
>
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf