私はiPhone開発に本当に慣れていません。
潜在的なアプリに Monotouch または objC を使用するかどうかを評価しています。
アプリは、ネットワーク プリンターに写真を印刷できる必要があります。
cocoa touch/objc を使用してそれを行う方法についての投稿をいくつか見ました。
モノタッチを使用してこれを行う例は見つかりませんでした。
これは MonoTouch を使用して実行可能/サポートされていますか?
これは必須の機能です。
ありがとう
私はiPhone開発に本当に慣れていません。
潜在的なアプリに Monotouch または objC を使用するかどうかを評価しています。
アプリは、ネットワーク プリンターに写真を印刷できる必要があります。
cocoa touch/objc を使用してそれを行う方法についての投稿をいくつか見ました。
モノタッチを使用してこれを行う例は見つかりませんでした。
これは MonoTouch を使用して実行可能/サポートされていますか?
これは必須の機能です。
ありがとう
これでうまくいくはずです。これをチェックインしました:
「印刷」ディレクトリのhttp://github.com/migueldeicaza/monotouch-samples :
void Print ()
{
var printInfo = UIPrintInfo.PrintInfo;
printInfo.OutputType = UIPrintInfoOutputType.General;
printInfo.JobName = "My first Print Job";
var textFormatter = new UISimpleTextPrintFormatter ("Once upon a time...") {
StartPage = 0,
ContentInsets = new UIEdgeInsets (72, 72, 72, 72),
MaximumContentWidth = 6 * 72,
};
var printer = UIPrintInteractionController.SharedPrintController;
printer.PrintInfo = printInfo;
printer.PrintFormatter = textFormatter;
printer.ShowsPageRange = true;
printer.Present (true, (handler, completed, err) => {
if (!completed && err != null){
Console.WriteLine ("error");
}
});
}