LPT1: output to USB printer.

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
User avatar
Dale Harris
Forum Owner
Posts:1171
Joined:Sun Dec 28, 2003 10:19 pm
Location:Chicago
Contact:
LPT1: output to USB printer.

Post by Dale Harris » Thu Feb 16, 2006 7:48 pm

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>
Dale

grahamsw
Forum Regular
Posts:83
Joined:Sun Jul 10, 2005 4:24 pm
Location:United States-New Hampshire-Rochester
Contact:

yep

Post by grahamsw » Thu Feb 16, 2006 10:39 pm

Dale, tried and it works fine both in xp home, pro and ME

hope this helps
Graham Wakefield
Wakefield Tech Services and Mobile POS

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Post by ProDeZigner » Thu Feb 16, 2006 10:54 pm

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.

Guest

Reply

Post by Guest » Thu Feb 16, 2006 11:07 pm

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.

Guest

Reply Addition

Post by Guest » Thu Feb 16, 2006 11:21 pm

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! :D

User avatar
Dale Harris
Forum Owner
Posts:1171
Joined:Sun Dec 28, 2003 10:19 pm
Location:Chicago
Contact:

LPT1: --> USB

Post by Dale Harris » Thu Feb 16, 2006 11:34 pm

Guest,

Actually we are trying to get the LPT1: output to go to the USB port. Not the other way around.
Dale

Guest

Post by Guest » Fri Feb 17, 2006 1:37 am

dale you can do it the same way as in that mannual i sent you about printing to network printers[the ones with ips] from the lpt port

-peachey

User avatar
bdude
Forum Regular
Posts:117
Joined:Mon Jul 19, 2004 12:00 am
Contact:

Post by bdude » Fri Feb 17, 2006 2:02 am

you won't need it in a batch file, the persistent option makes it ... persistent
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 146 guests