Page 1 of 1

LPT1: output to USB printer.

Posted: Thu Feb 16, 2006 7:48 pm
by Dale Harris
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>

yep

Posted: Thu Feb 16, 2006 10:39 pm
by grahamsw
Dale, tried and it works fine both in xp home, pro and ME

hope this helps

Posted: Thu Feb 16, 2006 10:54 pm
by ProDeZigner
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

Posted: Thu Feb 16, 2006 11:07 pm
by Guest
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.

Reply Addition

Posted: Thu Feb 16, 2006 11:21 pm
by Guest
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

LPT1: --> USB

Posted: Thu Feb 16, 2006 11:34 pm
by Dale Harris
Guest,

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

Posted: Fri Feb 17, 2006 1:37 am
by Guest
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

Posted: Fri Feb 17, 2006 2:02 am
by bdude
you won't need it in a batch file, the persistent option makes it ... persistent