If you are not using the LPTx port (No printer connected), try right clicking 
on the network printer, properties, ports, and Enable printer pooling, then 
check the LPTx.

Make sure the original port is also selected.

 

LPTx where the x is 1 through the number of LPT ports adding to your machine.

 

Here is an article on how to add additional LPT ports.

http://support.microsoft.com/kb/323345

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Michael J. 
Sinclair
Sent: Wednesday, October 14, 2009 10:11 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Printing to network printers LPT1-LPT9 in Rbase for 
DOS vs Rbase for Windows

 

I have all the responses...and I am deep gratified and a bit confused!

A few commnents...

One problem I found is that if the workstation is a member of a Windows 2003 
Server domain, and if the user is not an Administrator, and if LPT1 is an 
actual physical port that exists, Windows 2003 will not allow me to rediret the 
LPT1 port to a network printer. Can anybody confirm that? Is there a setting 
somewhere that would allow that?

 

Also, I can't seem to get RBase for DOS to recognize any printer ports above 
LPT3..ie, I get errors if I try to create LPT9 and redirect it. Can anybody 
confirm that?

 

Also, would it make more sense to have the NET USE commands loaded by Windows 
as part of the RUN ONCE EX commands in the registry rather than having them 
repeated every time Rbase for DOS is started with a Batch file?

 

And finally, if I use the /Persistent switch as part of the NET USE command, 
should I be able to just do it one time from a Command Prompt window and never 
have to do it again??

 

TIA!!

Mike 

        -------------- Original message from "Emmitt Dove" 
<[email protected]>: -------------- 

        Michael,

         

        When you do a ZIP NET USE when running R:BASE for DOS in a Windows 
environment, you are not changing the setup for the current session, but a 
child session which goes away as soon as ZIP returns control to R:BASE.

         

        The best approach is to set up your printer mappings in the batch file 
that starts R:BASE for DOS so you know they are in effect for the CMD.EXE 
session that is running R:BASE.

         

        As for the port numbers other than LPT1, I cannot say.  We have had far 
better results sticking with port 1, but I know of one location where we have a 
dot matrix printer and a Datamax printer attached to the same PC mapped to LPT1 
and LPT2, and we print to both of them using the “COPY filename LPTx” approach.

         

        Emmitt Dove

        Manager, Converting Applications Development

        Evergreen Packaging, Inc.

        [email protected]

        (203) 214-5683 m

        (203) 643-8022 o

        (203) 643-8086 f

        [email protected]

         

        From: [email protected] [mailto:[email protected]] On Behalf Of Michael 
J. Sinclair
        Sent: Tuesday, October 13, 2009 2:57 PM
        To: RBASE-L Mailing List
        Subject: [RBASE-L] - Printing to network printers LPT1-LPT9 in Rbase 
for DOS vs Rbase for Windows

         

        Hi All,

        What is the best way to print to a network printers in Rbase for DOS 
and Rbase for Windows? Do both versions recognize LPT1 through LPT9? I have 
been using the following code with reasonable success, but I do get a few jobs 
that just don't print....

         

        ZIP NET USE LPTx /delete

        ZIP NET USE LPTx \\servername\printequename 
<file:///\\servername\printequename> 

        OUTPUT LPTx

        WRITE 'whatever you want'

        OUTPUT SCREEN

        --or sometimes...

        OUTPUT LPTx

        COPY filename.txt LPTx

        OUTPUT SCREEN

         

        Adding a PAUSE FOR 2 after the ZIP NET USE COMMANDS seems to decrease 
the number of times that my print jobs "get lost".

        What is the best way to do this? Do both versions (DOS and Windows) 
running on Windows XP support LPT1-LPT9??

        
        TIA!

        Mike

Reply via email to