Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Print on Remote Side
Message
De
24/12/2008 09:43:18
 
 
À
24/12/2008 03:44:53
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Versions des environnements
Visual FoxPro:
FoxPro Dos
OS:
Windows XP
Network:
Windows 2000 Server
Database:
DB2
Application:
Desktop
Divers
Thread ID:
01368941
Message ID:
01369603
Vues:
11
Please find the feedback as required by you:

First, can you check that a Windows print job initiated via RDP comes out properly on the remote printer?
Ans. Yes I checked the window printing.

Second, assuming RDP print job forwarding is working OK, have you made the printer installed on the server shared? What is its share name?
Ans. The share name is EpsonLQ

Third, was the NET USE command in the batch file example I gave successful? After you run the batch file, you can start up a CMD window, and type NET USE. It will show you a list of all current redirections - both drive letters and DOS ports. Check that LPT1 has been redirected properly to the shared printer on the server.
Ans.
Status Local Remote Network
---------------------------------------------------------------------------------------------------------------------
OK P: \\192.168.2.110\e-server\packg Microsoft Windows Network
OK R: \\192.168.2.110\e-server\abcraw Microsoft Windows Network
OK LPT1 \\jebelaliserver\EpsonLQ Microsoft Windows Network
The command completed succesfully.

Come to think of it, could you tell us:

- what is the server name?
Ans. jebelaliserver

- what is the printer's share name on the server?
Ans. EpsonLQ
- can you paste in here the contents of the batch file you created?
Ans. I typed/copy & paste exactly whatever you mentioned. which is as follows:

@ECHO OFF

REM RemoteDOSPrint.CMD

REM First, remove any existing LPT1 printer port redirection:
NET USE LPT1 /DEL

REM Now, redirect DOS printer port LPT1 to the local shared printer on the server:
NET USE LPT1 \\jebelaliserver\EpsonLQ
REM If you'd like this redirection to persist across logons, you can add /persistent:y to the end

REM End of CMD file
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform