Bug 27141 - star micronics printer in xamarin android
Summary: star micronics printer in xamarin android
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 5.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2015-02-17 08:38 UTC by Tapas
Modified: 2017-09-12 18:19 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Tapas 2015-02-17 08:38:44 UTC
Hello All,

I am trying to implement Star Micronics printer in my app. Basically I want to print a pdf file on Star Micronics printer from my app. I have added below code in my app:

                IList<PortInfo> portList = StarIOPort.SearchPrinter("BT");
                portList = StarIOPort.SearchPrinter("BT:DeviceName");   

But I am not getting the printer list.

Please suggest. Thanks in advanced,
Comment 1 Jonathan Pryor 2015-02-17 13:33:23 UTC
Does the same code in Java work? Are you perhaps missing some library initialization code? Are there any relevant messages from the Star library on `adb logcat`? Could you provide a testcase?
Comment 2 Tajinder Singh 2015-02-18 01:17:21 UTC
Also can you please add the logs from the following places?:
On XS IDE Log  Location: XS>Help> Open Log Directory> IDE.log file (with latest timestamp)
AndroidTools log: XS->Help->Open Log Directory->AndroidTools.log

If using VS, 
IDE log: Location: C:\User\AppData\Local\Xamarin\Log\ 
(Devenev file with latest timestamp)
Android Trace log: Location: \AppData\Local\Xamarin\Log\XamarinAndroid
Comment 3 Jon Douglas [MSFT] 2017-09-12 18:19:27 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!