POS.NET: POSDM/ Share Printer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how to use posdm command to add a shared printer? Thank You!
How to use share printer to print through POS.NET framework.
I have write some code to print using POS.NET framework.
It can print normal if the printer is connected directly.
But it is not work if using a share printer to print.
I am using Epson TM88III thermal printer. Thank You
 
fok,

You are probably using Microsoft Embedded for POS. Please post to
microsoft.public.windows.embedded.pointofservice newsgroup.
This NG covers questions about Windows XP Embedded.

Since MS POS is based on XPe I'd think that some basic XP stuff is still
supported there. You don't necessarily have to use posdm command line tool
to add a printer. You can do that with simple printui.dll approach:
http://support.microsoft.com/default.aspx?scid=kb;en-us;314486&Product=winxp.
Here you'll find the full list of printui commands suported on XP:
http://www.robvanderwoude.com/index.html
If printer driver is already installed, you can simply add by a WSH script
if you use AddWindowsPrinterConnection method of WScript.Network object.
Somthing like:
Set wshnet = CreateObject("WScript.Network")
wshnet.AddWindowsPrinterConnection
"\\server_name\shared_printer_name"

Regards,
KM
 
1. Do you have the Epson Service Object or OPOS driver installed on your
system?
2. Have you created a logical name for the printer and is your application
get the printer using the logical name? Here is an example of setting the
logical name for the service object.:

POSDM ADDNAME myPrinter /TYPE:PosPrinter /SONAME:"EPSPON Printer" - I don't
know the name of the EPSON SO.

There is a SOManager application that can help
http://www.seanliming.com/WEPOS.html - It is just a graphical version of
POSDM.


Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
 
Back
Top