473,320 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Fooling Windows to use LPT1 port for a USB printer

I use FedEx's online shipping web site via Internet Explorer to print FedEx shipping labels. But, the FedEx site only allows printing to a LTP1 or COM port, and I have a USB printer. I can use their shipping software to print the the USB port, but the online version is much easier to use.

Is there a way to create a pseudo printer port so that I can "fool" Windows into sending the print command to the LPT1 port, and instead it gets redirected to a USB port?

(I want to do this as I don't want to have to purchase a print server)

Thanks,

Tony
Nov 5 '07 #1
1 9829
jehrich
24
Hi widevision7,

Try sharing the printer (right-click the printer, click properties, sharing tab) and then enter the following at a command prompt:

NET USE LPT1: \\machineName\shareNmae

Where machineName is the NetBIOS name of your computer and shareName is the name that you entered when sharing the printer (try to avoid using spaces and special characters here).

Good luck!

JE

I use FedEx's online shipping web site via Internet Explorer to print FedEx shipping labels. But, the FedEx site only allows printing to a LTP1 or COM port, and I have a USB printer. I can use their shipping software to print the the USB port, but the online version is much easier to use.

Is there a way to create a pseudo printer port so that I can "fool" Windows into sending the print command to the LPT1 port, and instead it gets redirected to a USB port?

(I want to do this as I don't want to have to purchase a print server)

Thanks,

Tony
Jan 13 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Nick | last post by:
Hi guys, I have an old VB app that writes just fine to an old LPT printer. I do this using: Open "LPT1" .... Now, the app is changing and I have to do the same thing in .NET. I found at...
0
by: Brett Mostert | last post by:
Hey, could some please help me to be able to iterate through the ports on the server. I am currently able to print test pages, add ports, delete printers etc, but i cannot get a handle to a...
1
by: Allan | last post by:
I open and write LPT1 as file with standart file i/o functions. But it sends directly to the printer on win98 without spooling.But when I send something from command prompt (dos) to LPT1 it is...
0
by: musicloverlch | last post by:
I used to be able to create PDFs, automatically save them to a file, and mail them out to people. This was on Access 97 with Windows NT. We've changed to Windows XP and Access 2003. Doesn't work...
5
by: Tom | last post by:
I am converting an old application that was printing directly to a specialized printer device (i.e. a special label printer). It was doing this by opening a file with the file path of 'LPT1:' and...
1
by: Luis Ramos | last post by:
Hello, In VB6 i use to print text to the lpt1 port, because of matricial printers and i use to do this: open "lpt1:" for output as #1 print #1, "some text" close #1 my question is: How can i...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
0
by: realgoggi | last post by:
Hello, I have a label printer connected to LPT1 on the server where IIS and the ASPX/C# code is running. From the web application I need to send data to the printer. Preferably directly,...
1
by: Steve | last post by:
Hi All I am using vb.net 2005 in a windows forms application I send data to the selected windows printer using a PrintDocument object Is there any way to detect if the Printer is not...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.