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
210112 複合機プリンターへの印刷自動化で調べたこと masuoさん
Search
comucal
PRO
January 12, 2021
Technology
560
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
210112 複合機プリンターへの印刷自動化で調べたこと masuoさん
comucal
PRO
January 12, 2021
More Decks by comucal
See All by comucal
「駆動」って言葉、なんかカッコイイ_Mitz
comucal
PRO
0
240
2025年 コミュニティ×ビジネスのリアル_Mitz
comucal
PRO
0
250
コミュニティが仕事になった人間の意識|娯楽志向か情報志向か
comucal
PRO
0
110
生成AI情報2025.3.21
comucal
PRO
0
140
テック系コミュニティの参加者を徹底分析_株式会社コミュカル Mitz
comucal
PRO
0
220
AppSheet タスク管理アプリ 中級編
comucal
PRO
0
690
参加人数が多ければ正解?
comucal
PRO
0
430
交流会のコツ 自己紹介編~コミュ学~
comucal
PRO
0
240
コミュニティ運営勉強会OP
comucal
PRO
0
180
Other Decks in Technology
See All in Technology
フィンテック養成勉強会#68
finengine
0
150
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
Getting Started with Google Antigravity
glaforge
0
320
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
300
専門領域のAIをどう評価するか
bengo4com
2
290
DBについての基礎説明(MySQL編) - コロプラ 2026年度 新卒研修
colopl
0
130
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
470
大型犬好きによるPugの紹介
yamanoku
1
160
WasmをRustにする
sansantech
PRO
0
280
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
5
1.3k
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
310
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.4k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Optimising Largest Contentful Paint
csswizardry
37
4k
What's in a price? How to price your products and services
michaelherold
247
13k
Navigating Weather and Climate Data
rabernat
0
560
Become a Pro
speakerdeck
PRO
31
6.3k
Product Roadmaps are Hard
iamctodd
55
13k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Six Lessons from altMBA
skipperchong
29
4.5k
A designer walks into a library…
pauljervisheath
211
25k
Transcript
RPA COMMUNITY 関西スペシャル 複合機プリンターへの 印刷自動化で調べたこと masuoのブログ/masuo 2021年1月12日 #RPALT
自己紹介 #RPALT Automation Anywhere(1年), BizRobo!(≒1年) RPA経験: 業務プロセス改善が専門の技術士(情報工学部門) 小原増雄 名前: 活動:
OSS:Open Source Software 個人のブログやRPACommunityで、OSSツールの SikuliXやUI Automation PowerShell Extensions の紹介
BizRobo!の特長はBuilt-inブラウザ ファイルアップロードのファイル選択については、BizRobo!独自の専用ダイアロ グが表示する仕掛けになっているのでアップロードも問題なし。 個々のWebブラウザは開かない。 I don't need it Webブラウザで動作するアプリケー ションの操作だけで完結するなら、
実行環境(Desktop)を複数用意しな くてもロボットを同時に実行可能。 #RPALT
今回の課題 mspaint.exe /pt "C:¥work¥screencapture.png" "printername" screencapture.png printername #RPALT アプリケーションを実行するときのオプションで、「カ ラーモード」の設定や「ユーザーID」の入力ができない。
システムダイアログの操作しかない? 白黒/カラー の切替 ユーザーID の入力 人がプリンターの場所まで行って、操作パネルでユーザーIDを入力して出力 指示するまでプリントアウトを保留する機能を使うとき入力が必要になる。 #RPALT
BizRobo!のDA機能 DA:Desktop Automation 実行環境(Desktop)で操作対象アプリケー ションを開いて、自動操作する機能 【対象アプリケーションの例】 ・Win32/.NET/WPFアプリケーション ・SAPやJavaアプリケーション #RPALT
印刷設定のためだけにDA使いたくない Desktop Automationの実行環境が1つ ロボットの実行スケジュールを決めてお いて競合しないようにするか? オンデマンド実行するロボットと 競合するリスクは残る。 #RPALT
コマンドで実現する方法を探す #RPALT 「printui.dll」が見つかりました! 何か方法が有るはずだ。
業務名でプリンター定義 業務1 業務2 1234 5678 #RPALT <準備1> ユーザーID:1234 ユーザーID:5678 デバイスとプリンター
印刷設定を保存する #RPALT <準備2> rundll32.exe printui.dll,PrintUIEntry /Ss /n "業務1" /a C:¥work¥A4横カラー
A4横カラー 010101 010101 010101 業務1 rundll32.exe printui.dll,PrintUIEntry /Ss /n "業務2" /a C:¥work¥A4縦白黒 A4縦白黒 010101 010101 010101 業務2 保存 保存
コマンドライン実行で印刷設定&印刷 業務1 #RPALT mspaint.exe /pt "C:¥work¥業務1.png" "業務1" 業務1.png ユーザーID:1234 rundll32.exe
printui.dll,PrintUIEntry /Sr /n "業務1" /a C:¥work¥A4横カラー A4横カラー 010101 010101 010101 業務1 設定
自動化って楽しい! #RPALT
おわりに #RPALT UI Automation PowerShell Extensions 活用講座 UI Automation PowerShell
Extensionsを活用すると、身近にあるソフトウェアだけ でGUI操作の自動化を実現できます。(Win32/.NET/WPFアプリケーションが対象で す。Webブラウザ上で動作するアプリケーションや、Javaアプリケーションなどは操作 できません。) 会社で導入するとなると、『ソフトウェアを統一しなきゃ』とか『製品の継続性に問題 ないか』とか、考える必要がありますから、あくまでも個人レベルで業務の効率化を図 るときの選択肢とはなりますが、日々のGUI操作でストレスを感じているものがあるな ら、自分専用にちょっと自動化して、楽しんでみてはいかがでしょうか。 で公開中 今日の内容が、少しでも皆様の役に立てば幸いです。