Help! StarSP200 printing component

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.
.