Printing in ios: if the printer is connected to the mac, could it print from the simulator? - objective-c

I'm reading this to add the printing functionality.
The Printer-options sheet is displayed, but when I try to select my printer, the message "printer not found" appears.
The printer is connected via usb to the imac.
Can the print functionality be tested from the simulator?
EDIT
I tried with a wireless printer (installing also the airprint activator on the mac). Now I can see the printer from the simulator.
I don't know if I should be able to really print from the simulator and/or see some printer msg in the printer simulator.
EDIT
I resolved using the Printer Simulator

First of all this is a AirPrint feature. iDevice will only detect printers which are has AirPrint. There are about 12-14 hp printers currently supported. If you are looking for any printer, this is not possible. While developing we can use printer simulator or buy the supported AirPrint printer.

It seems that it's not possible to print from the simulator on both real and simulated printer. However, I succeeded to print from the device by using the Printer Simulator and by activating airprint on the mac with AirPrint Activator.

Related

How to open a cashdrawer in android, using USB connected printer?

We have a Point of Sale Application in that, iam using bluetooth, USB printer for receipt printing, through bluetooth option when i eject cashdrawer its working fine and iam using printer.printFormattedTextAndOpenCashBox(text, 40),
When coming to USB printing, got the printing, but unable to open the cashdrawer, i didnt found any methods like above for USB.

Print .pdf files in Windows Mobile 6.5

I recently got a Motorola MC9190 handheld and a Zebra P4T printer. The Motorola has a Windows Mobile 6.5 version. My problem is that I want to print .pdf files but any apps can do it. I installed PrintBoy v7 but the service server for convert .pdf files is down, also, I installed ActivePrint Traveler but the app can't check my registration.
Anyone has a solution for my problem?
I only want to print .pdf files with my printer.
Thanks!
The problems are:
Windows Mobile does not come with any system printer support
the P4T is a mobile receipt Bluetooth? printer not designed to print PDF files
PrintBoy and any other mobile client/server printing application may help, but better you do not use PDF. If possible create print files in native printer language (ZPL for Zebra?) and send these directly to the printer.

Running airplay in simulator [duplicate]

I've set "allowsAirPlay" to "YES" in my MPMoviePlayerController, but AirPlay button doesn't appear. Does iOS simulator support AirPlay?
And give please some example how to stream video through Apple TV for example.
Nope, at the time of writing (iOS 7 just released) simulators don't have airplay nor any way to simulate or test it. Having an airplay capable device (apple TV) or program (http://www.airsquirrels.com/reflector/) in the same wifi network makes the mirroring button appear on my iPhone 4S but not on any simulator.
Edit: There is a way of testing it, simulate TV output.
If you want to test your app in real environment without Apple TV or airplay enable speaker then you can test it through your any Mac machine or PC. You just need to download the app "Air Joy" from appstore.
1)Go to App Store
2)Download AirJoy application
OR
AirJoy
But before that make sure that your mac machine(Airjoy installed) and your device is in same network.
I have already tested the Airplay option with the above explanation.

airplay in simulator - objective-c

I've set "allowsAirPlay" to "YES" in my MPMoviePlayerController, but AirPlay button doesn't appear. Does iOS simulator support AirPlay?
And give please some example how to stream video through Apple TV for example.
Nope, at the time of writing (iOS 7 just released) simulators don't have airplay nor any way to simulate or test it. Having an airplay capable device (apple TV) or program (http://www.airsquirrels.com/reflector/) in the same wifi network makes the mirroring button appear on my iPhone 4S but not on any simulator.
Edit: There is a way of testing it, simulate TV output.
If you want to test your app in real environment without Apple TV or airplay enable speaker then you can test it through your any Mac machine or PC. You just need to download the app "Air Joy" from appstore.
1)Go to App Store
2)Download AirJoy application
OR
AirJoy
But before that make sure that your mac machine(Airjoy installed) and your device is in same network.
I have already tested the Airplay option with the above explanation.

MFmailcomposer works fine in iphone but not in simulator!

MFMailcomposer works fine in iphone but when run in simulator mails are not sent. and when sent from iphone if image is attached in mail it displays broken image. image is not clear.
i am not getting what is the problem. right now i dont have device and from simulator its not sending mails.
There is no mail support in the simulator, so you can't send mail. And the broken image from a device is usually just a problem with the iPhone OS, when viewing the email on a desktop computer it should look fine. Nothing you can fix though.