PC Review Forums Newsgroups Windows XP Windows XP Embedded POS.NET: POSDM/ Share Printer

Reply

POS.NET: POSDM/ Share Printer

 
Thread Tools Rate Thread
Old 08-02-2007, 01:45 AM   #1
=?Utf-8?B?Zm9r?=
Guest
 
Posts: n/a
Default POS.NET: POSDM/ Share Printer



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
  Reply With Quote
Old 08-02-2007, 05:47 AM   #2
KM
Guest
 
Posts: n/a
Default Re: POS.NET: POSDM/ Share Printer

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/defaul...6&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

> 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



  Reply With Quote
Old 08-02-2007, 06:01 AM   #3
Sean Liming \(eMVP\)
Guest
 
Posts: n/a
Default Re: POS.NET: POSDM/ Share Printer

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


"fok" <fok@discussions.microsoft.com> wrote in message
news:57BAD56A-CDF9-4957-8833-5EF131C9AD30@microsoft.com...
>
> 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



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off