EddyVerbruggen / EddyVerbruggen/nativescript-star-printer
Trouble with ethernet printer
- Dominant language
- Objective-C
- Stars
- 32
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
I'm having trouble getting this demo app to work for an ethernet-connected star micronics printer. In the demo app when I click search printers, it correctly finds my printer port: TCP:192.168.1.47 and when I hit connect/reconnect it console logs Connected: true. However, when I click the print option nothing happens. I added a .then() and a .catch() to the print command and the .then() is being triggered and is just returning undefined so I'm not sure what's going wrong. I see in the ReadMe that it references bluetooth - does this plugin only work for bluetooth connections? I just figured it would work for ethernet since it's finding the printer and returning connected: true.
On another note, I know this printer works because I've been able to print from it using the star micronics TSP100III Utility app.
Which platform(s) does your issue occur on?
iOS
Please, provide the following version numbers that your issue occurs with:
CLI: 3.1.3
Cross-platform modules: 2.5.3
Runtime(s): 3.0.1
Plugin(s):
"dependencies": {
"nativescript-star-printer": "file:../src",
"nativescript-theme-core": "^1.0.2",
"nativescript-unit-test-runner": "^0.3.4",
"tns-core-modules": "^2.5.1"
},
"devDependencies": {
"babel-traverse": "6.12.0",
"babel-types": "6.11.1",
"babylon": "6.8.4",
"filewalker": "0.1.2",
"jasmine-core": "^2.5.2",
"karma": "^1.3.0",
"karma-jasmine": "^1.0.2",
"karma-nativescript-launcher": "^0.4.0",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.7",
"typescript": "^2.1.0"
}
Please, tell us how to recreate the issue in as much detail as possible.
Running the sample demo on an iPad while attempting to print to a star micronics ethernet printer.
Is there any code involved?
I'm running the sample demo
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the sample demo on an iPad with the Star Micronics ethernet printer at TCP:192.168.1.47, using the reported NativeScript and plugin versions. Check whether discovery, connection, and printing behave differently, then use the result to establish whether ethernet printing is supported and what behavior should be documented or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100