Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AirPrintについて iOSからプリンターに接続して印刷を実行する
Search
S-cubism
October 20, 2017
Technology
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AirPrintについて iOSからプリンターに接続して印刷を実行する
S-cubism
October 20, 2017
More Decks by S-cubism
See All by S-cubism
WSLでreactの開発環境作った話
scubism
0
740
未経験者がAndroidアプリをリリースするまで
scubism
0
160
scubism_LT_20180223_細田謙二_イベントソーシング
scubism
0
170
REVEAL.JSをちょっとだけ使ってみた
scubism
0
290
忙しい人のための仮想通貨
scubism
0
140
サーバ作業の注意コマンド
scubism
0
160
最近勉強してること、次にやりたいこと
scubism
0
130
FOOD TECH
scubism
0
81
Firebase(Realtime Database)について
scubism
0
140
Other Decks in Technology
See All in Technology
人間はどの意思決定を手放せるのか
kawasima
14
7.1k
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
9
970
SREは、MCPとAutopilotをこう使え!
kazumax55
2
850
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
200
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2k
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
190
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
930
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
160
LTのテーマ どうきめてる?〜5つの型と私のやり方〜
yama3133
1
110
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
160
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
0
260
データ_AIの事業の勝敗をわけるもの
nek0128
0
390
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
New Earth Scene 8
popppiees
4
2.6k
Designing for Performance
lara
611
70k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
810
Everyday Curiosity
cassininazir
0
320
Done Done
chrislema
186
16k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Balancing Empowerment & Direction
lara
6
1.3k
Embracing the Ebb and Flow
colly
88
5.2k
Music & Morning Musume
bryan
48
7.4k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Transcript
AirPrintについて iOSからプリンターに接続して印刷を実行する 2017/10/20 西田祐
AirPrintとは • 無線LANを通して、AirPrint対応のプリンター、 もしくはWindows、macOS、GNU/Linuxに接続している 非対応のプリンターに、iOS端末から直接印刷できる機能を指す。 MacOS X Lion以降と、iOS4.2以降に備わっている。 対応プリンターはHPのePrintシリーズ、 キヤノンの2011年9月以降発売のワイヤレスモデル、
ブラザー工業の一部機種、 エプソンの2011年秋以降モデル…が挙げられる。
参考) https://www.konicaminolta.eu/en/business- solutions/products/mobile-printing/apple-airprint.html
AirPrintを用いた印刷処理を記述する • 大まかな流れ 印刷の設定を定義する UIPrintInfoクラス シングルトンを取得、使用する UIPrintInteractionControllerクラス ページレンダラーをjoinする UIPrintPageRendererクラス
UIPrintInfoクラス • 印刷向き、コンテンツの種類、両面片面印刷などの指定が可能 jobName: ジョブの名前の設定ができる。 outputType: コンテンツの種類の指定ができる。 UIPrintInfoOrientationLandscape…印字のみの場合。白黒でデフォルトサイズがLetter/A4 UIPrintInfoOutputPhoto…写真印刷。カラー可。サイズは4×6、A6など UIPrintInfoOutputGeneral…字やイラストの混在の場合。サイズはLetter/A4など。
orientation: 印刷の向きの指定ができる。 UIPrintInfoOrientationLandscape…横向きの印刷 UIPrintInfoOrientationPortrait…縦向きの印刷
UIPrintInteractionControllerクラス • 設定、ページレンダラーをセット • 印刷 ・プリンターのIPアドレスからプリンターを直接指定して印刷することもできる
UIPrinterPickerControllerクラスについて • iOS8から使用可能となっているクラス。 • UIPrinterInteractionControllerクラスでは困難であった プリンター指定やViewのカスタマイズが楽に行えるようになったそう。
参考文献 • https://developer.apple.com/documentation/uikit/printing • https://ja.wikipedia.org/wiki/AirPrint • http://mokumokusan0205.blog.fc2.com/blog-entry-630.html • https://dev.classmethod.jp/references/ios8-uiprinterpickercontroller/ •
http://seesaakyoto.seesaa.net/article/442349010.html