- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Networking
- >
- Capture printer port to LPT for JetDirect and stan...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2003 02:03 PM - last edited on тАО02-24-2013 07:42 PM by Cathy_xu
тАО02-25-2003 02:03 PM - last edited on тАО02-24-2013 07:42 PM by Cathy_xu
We write a 16 bit app that needs to print to an LPT port. On XP/2k, we need to capture the port through a net use command.
net use lpt2 \\server\printername
I've encountered problems when the server and/or printer name have spaces in the name. When we encounter spaces, we rename the server or printername or both. Does anyone know an easier way around this?
Is there any easy utility to capture the server/printer name and create a bat file with the net use in it?
P.S.This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to Microsoft > networking-HP Forums Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2003 11:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 08:23 PM
тАО02-28-2003 08:23 PM
Re: Capture printer port to LPT for JetDirect and standard Printers
Roger
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 08:05 AM
тАО03-03-2003 08:05 AM
Re: Capture printer port to LPT for JetDirect and standard Printers
I've had some users add it to their script, but our users are very very basic users so sometimes it is more trouble than it is worth.
I was trying to find away to just capture the print info for a bat file.
Thanks, I'll keep plugging away!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 11:30 AM
тАО03-03-2003 11:30 AM
Re: Capture printer port to LPT for JetDirect and standard Printers
If you're an Admin on the server, you can create the script for them (but, I believe, you'll have to make the WS point to the script).
Here's how it's done in XP:
"To activate a logon script:
Open Network Connections.
Right-click the connection on which you want to run a script, and then click Properties.
On the Security tab, select the Run script check box.
To use an existing script file, click Browse.
Or, to use Switch.inf, click Edit."
Voila!
Roger
Roger