----- Original Message ----- 
From: "J.M. GRATIAS" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 4:30 PM
Subject: [RBASE-L] - RE: DOS printing to a USB port



MikeB :

>
Did you try to give your printer a ShareName ...
<

Yes. Sharename is 'Lexmark'


>
.... and try printing to it via the ShareName.
<

How would you do that ?

I have a batch file that sets the Port Redirection for Example here is the Contents of 
"LptSet.bat"

net use lpt2 /delete
net use lpt3 /delete
net use lpt2 \\srv01\Laser2200
net use lpt3 \\SRV01\Laser4

The first and second lines remove any previous redirection on lpt2 and lpt3.
The Third and Fourth Lines set the redirection on lpt2 and lpt3.


So if your ComputerName is "JMGworkstation" your batch file might look like this:

net use Lpt2 /delete
net use Lpt2 \\JMGworkstation\Lexmark


Then your RBase Code would be:

OUTPUT Lpt2
PRINT ReportName
OUTPUT SCREEN






J.M. GRATIAS, Logimatique

Reply via email to