B4i Library iSD BLE Printer

Maicon

Member
Licensed User
Longtime User
There is a conflict with the lib SD BLE Printer and iHttpUtils2, every return of request in HttpJob closes the application, giving the error unrecognized selector sent to instance 0x281675e80.

Is there any solution for this? I'm attaching a small project
 

Attachments

  • ios_sdPrinter.zip
    5.7 KB · Views: 5
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Hi Maicon,

There is no conflict between the iSD_BlePrinter library and iHttpUtils2. You probably need to rethink your way of diagnosing problems.

I am attaching the example you gave me, removing the library and its BlePrinter classes, leaving only your code to download the file ... The download does not work even without the BlePrinter library.
There is a programming error. The specific URL you requested cannot be read with Job.GetString. For more tips on how to do this you can ask the question in the forum
 

Attachments

  • teste sd printer2.zip
    5.4 KB · Views: 3
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Hi StarDust, I have an airpad, model 1. It has iOS 12
Will I be able to print QR with this library?
And a bitmap?
I did not see how to buy it, point me please in that direction

Many Thanks
The only sure answer is to try the library. In the first posts you will find the libraries and examples.

I printed the bitmaps and qr. But you need to try it with the printer you will use it on, there may be compatibility issues.

After you are sure that everything is working and that this library has the methods you are looking for then I will explain how to make the donation
 

Pablo Torres

Active Member
Licensed User
Longtime User
Great. I will try it and let you know what happens.
Many thanks
 

Pablo Torres

Active Member
Licensed User
Longtime User
Unfortunately, not working on my devices (iPhone 11 Pro Max and iPad Air 2, both of them have iOS 15.6.1)
This is what it shows the logs:

Copying updated assets files (2)
Application_Start
Application_Active
Library demo version
SignalHandler 6
Error occurred on line: 48 (Main)
Signal - 6
Stack Trace: (
"0 BLE Printer SignalHandler + 120",
"1 libsystem_platform.dylib 0x00000001dc968d48 D2B9EA44-3EDF-39C4-8E5C-BB3AD9CC58DD + 11592",
"2 libsystem_kernel.dylib 0x00000001bc34cbe0 14ABFFC1-C15E-3C93-A655-A917279DB06C + 187360",
"3 libsystem_kernel.dylib 0x00000001bc34cc10 14ABFFC1-C15E-3C93-A655-A917279DB06C + 187408",
"4 TCC B40C0C40-D80C-3BE6-BC47-CFCF0CBEFA82 + 30472",
"5 TCC B40C0C40-D80C-3BE6-BC47-CFCF0CBEFA82 + 9168",
"6 TCC B40C0C40-D80C-3BE6-BC47-CFCF0CBEFA82 + 20116",
"7 libxpc.dylib 5E25C660-3EAA-3D72-890C-E68CA120FCC2 + 103252",
"8 libxpc.dylib 5E25C660-3EAA-3D72-890C-E68CA120FCC2 + 54972",
"9 libdispatch.dylib 4FC02901-034E-35CF-8CF2-5B7F81D579E4 + 409868"
)


I'm attaching the project, is the same of the sample but I added one button for printing barcode (that is not the problem denitely)

Can you give me a hand on this?

Many thanks
 

Attachments

  • SampleBLE_Printer.zip
    111.6 KB · Views: 4

Star-Dust

Expert
Licensed User
Longtime User
Hi,

There are several programming errors. It is not true that you have only added a button, but it has inserted a timer that initializes the printer every 3 seconds, this is meaningless, it is useless and continuously blocks the printer.

The QR button is never displayed because you have not entered the view in the connection event.

Finally, as regards the crash for the SignalHamdler 6, as often recommended you should first look on the forum because often others have already found a solution. With a short search I found this:
 

Pablo Torres

Active Member
Licensed User
Longtime User
You're right. Everything is working
I'm ready for the full version, just send you a PM, please check it

Many Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…