Giter Site home page Giter Site logo

starxpand_flutter's People

Contributors

davidhole avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

starxpand_flutter's Issues

The obtained star Bluetooth device name is Unknown

The obtained star Bluetooth device name is Unknown
Hello, I used your plugin and obtained the device name as Unknown with a MAC address of 0012F33E6428
Under normal circumstances, the device name should be Star Micronics, and the MAC address should be 00:12: F3: 3E: 64:28
I don't know how to return the correct name, I suspect there is a problem here below
image

image

Testing with MCP30 printer

I'm trying to configure this code with an MCP30 printer. It's typically used for a POS and it only has LAN connection according to this. I original bought this with a Square bundle package.

I ran the scan but nothing came back using the sample application.

The MCP30 apparently doesn't have bluetooth.

I originally started with the original iOS SDK test app. I successfully printed from that app connected via both simulator and a physical device. I force entered my IP address for the printer and everything worked.

I'd like to just prototype the same with this app at first using the sample app. Then I might be able to reverse engineer (or learn this code for the plugin) and potentially come up with a PR to support LAN based solutions.

I did see this starting point in SwiftStarxpandPlugin.swift

let connection = StarConnectionSettings(interfaceType: InterfaceType.fromString(printer["interface"] as! String), identifier: printer["identifier"] as! String, autoSwitchInterface: true)

It's similar to the original code from the iOS SDK Sample in PrintViewController (of that open source project).

let starConnectionSettings = StarConnectionSettings(interfaceType: selectedInterface, identifier: identifier)

With that app, I entered into the screen my IP address. I think I'm on the right track to see if I can just get connected to an IP address based printer.

I wasn't sure if this library was typically only used for just bluetooth printers exclusively.

It could perhaps be a routing issue why I don't discover my printer on the LAN. I'm trying to get the LAN routes completely open for both wireless and lan connected devices.

Let me know if I'm on the right track on getting an IP based printer working.

Thanks for sharing your code. I may just cut my loss with this MCP30 and find a bluetooth enabled version or some of the portable versions. If you have suggestions for purchase, that would be great. Thanks again!

Add text like widget

IMG_3853
Hello. How can I add text as shown: 1 line in between the 2 lines on the same row?

Dekstop Windows Support

Hi, thanks for create this package, could you mind to add dekstop windows support for this package please ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.