windows 8 - Brother Label Printer c# program with visual studio 2012 for windows8 -


i want make simple program prints sth (just wnt write sth )

i ve added interop.bpac.dll (found samples bin folder) ve wrote code

    private void buttontry_tapped_1(object sender, tappedroutedeventargs e)     {         bpac.documentclass doc = new documentclass();         if(doc.open("templatefile.lbx"))         {             doc.getobject("field1").text = "hello";             doc.getobject("field2").text = "world";              doc.startprint("", printoptionconstants.bpodefault);             doc.printout(1, printoptionconstants.bpodefault);             doc.endprint();             doc.close();          }      } 

and gives error "interop type 'bpac.documentclass' can not embedded.use applicable interface instead." im trying print ql700 ll try other thermal receipt printers later , couldnt templatefile.lbx whats , program search file?

thanks :)

change embed interop types false


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -