Try:@ECHO OFF
@REM Setting LPT1: to Brother 6050 via Network connection
 NET USE LPT1:  /DELETE
NET USE LPT1: \\Brn_3927bc\BINARY_P1 /PERSISTENT:YES

where "\\Brn_3927bc\BINARY_P1" is the printer you wish to connect.

I have this is a .BAT file

 
Jim Bentley
American Celiac Society
[email protected]
tel: 1-504-737-3293


>________________________________
>From: Michael J. Sinclair <[email protected]>
>To: RBASE-L Mailing List <[email protected]>
>Sent: Wednesday, August 17, 2011 2:03 PM
>Subject: [RBASE-L] - RE: Printing in Rbase for DOS on a Server from a Thin 
>Client or Remote Desk Top
>
>
>Hi Kenny,
>In Rbase for DOS, trying to print to \\server_name\printer_name does not work, 
>what I get is ...
>
>
>-ERROR- Cannot create destination file. (2086)
>
>
>Mike
>
>
>
>
>________________________________
>From: Kenny Camp <[email protected]>
>To: RBASE-L Mailing List <[email protected]>
>Sent: Wednesday, August 17, 2011 12:43 PM
>Subject: [RBASE-L] - RE: Printing in Rbase for DOS on a Server from a Thin 
>Client or Remote Desk Top
>
>
>Try R> copy filename.txt  \\server\sharename
> 
>From:[email protected] [mailto:[email protected]] On Behalf Of Michael J. 
>Sinclair
>Sent: Tuesday, August 16, 2011 6:24 PM
>To: RBASE-L Mailing List
>Subject: [RBASE-L] - Printing in Rbase for DOS on a Server from a Thin Client 
>or Remote Desk Top
> 
>I would like to try run Rbase for DOS on a 32 bit server, and access the 
>program using a Thin Client or Remote Desk Top.
>I tried it, and it works fine, but not for printing.
> 
>Everything I tried failed.
> 
>OUTPUT LPT1; PRINT reportname; OUTPUT SCREEN
>OUTPUT LPT1; TYPE filename; NEWPAGE; OUTPUT SCREEN
>COPY filename PRN
>COPY filename LPT1
>
>NET USE indicates that LPT1/2/3 are indeed mapped to network printers
>I am able to copy files to the LPT1/2/3 from a command prompt window, so I 
>think the printers
 are working.
>
>What am I doing wrong?
>
>Mike
> 
>
>
>
>

Reply via email to