Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Star - POSPrinter

Status
Not open for further replies.

TLowder

Programmer
Mar 20, 2002
224
I'm printing to a Star SP512 printer using POSPrinter control and VB. What I've found is that when you have the printer installed in windows, the POSPrinter1.RecEmpty never returns a true value. When you delete the windows printer it works fine. This posses a problem for me when wanting to share the printer and capture the port from another computer over the network. Is there a way to capture a port directly to another computers lpt port without a shared printer? Or another way around this issue?

Thanks,
Tom
 
Yeah there's no way to share printer over the network if you don't add printer in the windows, but you can use instead winsock control in VB instead, which enables you to print over the network by IP address.

Can i know about the control that you are using the POSprinter??

Thanks
 
TLowder,
Although I can't answer the question, it seems indeed that having a Windows-printer installed using the same port that POSPrinter want's to use, blocks POSPrinter.
This is "logical", as the POSPrinter needs exclusive use of the port (see the UPOS documentation)

JohnVai,
POSPrinter is one of the controls of the UPOS (using VB, OPOS) set. Refer to for more info, common controls and links to the download pages of hardware vendors.
Epson ( offers some clear examples on implementation.

Diederik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top