Help! StarSP200 printing component
- From: Vampir <jp_dev@xxxxxxxxxxxx>
- Date: Tue, 15 Jul 2008 13:57:09 +0200
Hi!
I'm writing application for printing to POS SP200 serial printer
and i'm using StarComm.dll component. The thing I wan't to make
is reading printer setting from file but here is problem:
StarComm SPPOS200 = new StarComm();
SPPOS200.Protocols = Enum.Parse(typeof(StarComm.Protocols), "SC_DirectSerial";
But that doesn't work... it throws me an error:
"Cannot implicitly convert type 'object' to 'StarComm.Protocols'"
How to avoid that? Does any body have experience with that StarComm component?
Thnx.
J.
.
- Follow-Ups:
- Re: Help! StarSP200 printing component
- From: Ignacio Machin ( .NET/ C# MVP )
- Re: Help! StarSP200 printing component
- Prev by Date: Re: application cannot read the app.config file
- Next by Date: Re: Performance counter throws error
- Previous by thread: Performance counter throws error
- Next by thread: Re: Help! StarSP200 printing component
- Index(es):