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.Protoc ols = Enum.Parse(type of(StarComm.Pro tocols), "SC_DirectSeria l";
But that doesn't work... it throws me an error:
"Cannot implicitly convert type 'object' to 'StarComm.Proto cols'"
How to avoid that? Does any body have experience with that StarComm component?
Thnx.
J.
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.Protoc ols = Enum.Parse(type of(StarComm.Pro tocols), "SC_DirectSeria l";
But that doesn't work... it throws me an error:
"Cannot implicitly convert type 'object' to 'StarComm.Proto cols'"
How to avoid that? Does any body have experience with that StarComm component?
Thnx.
J.
Comment