LPT1: output to USB printer.
Moderators:daleadmin, Dale Harris, Alan, Andrew
- Dale Harris
- Forum Owner
- Posts:1171
- Joined:Sun Dec 28, 2003 10:19 pm
- Location:Chicago
- Contact:
I received this in an email today. Does anyone want to try it out and report back?
<hr>
Dale
I thought this might be a useful tip to post on your website...
Print to a USB printer via LPT.
From what I remember, you want to install the printer to the USB port, i.e. USB001.
Then you have to share the printer. Our printer is shared as HPLJ2000D.
Then use the following commands:
NET USE LPT1 \\COMP_NAME\HPLJ200D /Persistent:YES (This should all be on the same line. It basically redirects output on LPT1 to the shared printer HPLJ2000D.)
NET VIEW \\COMP_NAME (To see the connection.)
Of course you need to replace COMP_NAME with the name of your computer.
You can delete the connection by using:
NET USE LPT1 /DELETE
This is for windows 2000 but may be different for other OSs but I can't be sure...
I hope this helps!
Michael
<hr>
<hr>
Dale
I thought this might be a useful tip to post on your website...
Print to a USB printer via LPT.
From what I remember, you want to install the printer to the USB port, i.e. USB001.
Then you have to share the printer. Our printer is shared as HPLJ2000D.
Then use the following commands:
NET USE LPT1 \\COMP_NAME\HPLJ200D /Persistent:YES (This should all be on the same line. It basically redirects output on LPT1 to the shared printer HPLJ2000D.)
NET VIEW \\COMP_NAME (To see the connection.)
Of course you need to replace COMP_NAME with the name of your computer.
You can delete the connection by using:
NET USE LPT1 /DELETE
This is for windows 2000 but may be different for other OSs but I can't be sure...
I hope this helps!
Michael
<hr>
Dale
-
- Forum Regular
- Posts:78
- Joined:Tue Feb 07, 2006 3:54 am
- Location:Sierra Vista, AZ
- Contact:
Now that it's been tested, is there a way to implement this as a feature in DHPOS instead of having to set it up manually each time? Sure, a BAT file could be created, but I'm just thinking along the lines of 'user-friendly'. Maybe possibly 'do away' with Aprint? Aprint is a great program, but the more streamlined and minimalistic things are made... the better.
Reply
Dale,
I tried this before and it worked with your TEST and WORD SEARCH Software. With The POS Program I set it up the same way, but I made one mistake- I set it to COM 1 and the program froze when a receipt was about to be printed.
TIP: Do NOT set the printer output to COM 1. This will freeze the program.
I tried this before and it worked with your TEST and WORD SEARCH Software. With The POS Program I set it up the same way, but I made one mistake- I set it to COM 1 and the program froze when a receipt was about to be printed.
TIP: Do NOT set the printer output to COM 1. This will freeze the program.
Reply Addition
Dale,
I have another way to set the USB Port in Windows to also print to LPT1.
FOR WINDOWS XP
- In the start menu or control pannel, select printers and faxes
- Select the PORTS Tab
- Check ENABLE PRINTER POOLING
- Check the box that has LPT1
- Either restart or try it out. (Whatever you feel most comfortable with)
- It should now print to LPT1.
> Note: If you are only allowed to select one box, cherck that the ENABLE PRINTING POOLING is checked off
> WARNING: Be sure you do not check off the box where the USB Port is set. On my machine it is the DOT4_001 Port.
Hope this works!
I have another way to set the USB Port in Windows to also print to LPT1.
FOR WINDOWS XP
- In the start menu or control pannel, select printers and faxes
- Select the PORTS Tab
- Check ENABLE PRINTER POOLING
- Check the box that has LPT1
- Either restart or try it out. (Whatever you feel most comfortable with)
- It should now print to LPT1.
> Note: If you are only allowed to select one box, cherck that the ENABLE PRINTING POOLING is checked off
> WARNING: Be sure you do not check off the box where the USB Port is set. On my machine it is the DOT4_001 Port.
Hope this works!
- Dale Harris
- Forum Owner
- Posts:1171
- Joined:Sun Dec 28, 2003 10:19 pm
- Location:Chicago
- Contact:
LPT1: --> USB
Guest,
Actually we are trying to get the LPT1: output to go to the USB port. Not the other way around.
Actually we are trying to get the LPT1: output to go to the USB port. Not the other way around.
Dale
Who is online
Users browsing this forum: No registered users and 146 guests