9 replies
by mpdcsup
At a command prompt on the user's machine, type:
net use lpt1: \\printservername\printersharename
by mpdcsup
If you want this to reconnect the user at every logon use the following:
net use lpt1: \\printservername\printersharename /persistent:yes
by mpdcsup
Your user is using 5250 emulation to an AS/400 host and the emulation software they're using can only be configured to use LPT1. 5250 printing is strictly text so there is no need to add a printer driver (because unformatted text output is fully supported by hardware and design).
In fact, the *suggested* driver is probably already installed because the specific printer you're likely to map is the user's current default Windows printer -- for which you have already installed the driver.
All you're interested in, though, is redirecting the emulation software's LPT1 dependence.
Printing directly to the share isn't an option. Do you care about disconnecting? NET USE /? will give you details about arguments and usage. And, finally,if there were a printer hanging off LPT1, you wouldn't have a problem, right?
Did I miss something here? Why would you do more work? And how could I have been more precise in my original answer(s)?
by men
by foxja
Make sure you have the printer driver installed for the printer you are wanting to print to on the network....Navigate your network neighborhood to the server and install the printer
My Networks Places
Microsoft Windows Network
open the workgroupwhere the server resides
open the server
double click on the printer
and install the printer
Now that the printer is installed use one of the following methods from Microsoft Knowledge Base Article Q154498
Method 1
Establish a persistent connection using NET.EXE. To do so, use the following syntax at a command prompt:
net use lpt: \\\ /persistent:yes
Method 2
Print directly to the printer share by using the following syntax at a command prompt:
print/d:\\\ :\\
If the LPT port is redirected successfully, the following message should appear:
The command completed successfully.
To disconnect persistent LPTx connections, use the following syntax:
net use lpt /delete
This should provide you with a properly installed printer drive connected to LPT port of your choosing. Use LPT1 for this user if they do not have a local printer already otherwise you will have to use LPT2 or LPT3 and instruct the Terminal Emulator to use the same local port.... Best of Luck
James Fox
Owner
Fox International Computing
http://fox2.foxcomputers.net
by men
by lucho
I would have to agree with mpdcsup.
type: net use lpt1 \\printerservername\printersharename /persistent:yes
This is the UNC way of capturing a port from DOS.
Hope it helps.
Lucho.
by men
by men
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending