ovatu / starxpand_flutter Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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
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!
Hi, thanks for create this package, could you mind to add dekstop windows support for this package please ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.