Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Reliable label printer system
Search
imashin
March 21, 2019
Technology
0
230
Reliable label printer system
Cookpad Tech Kitchen #21 Show-and-Tell
https://cookpad.connpass.com/event/122585/
imashin
March 21, 2019
Tweet
Share
More Decks by imashin
See All by imashin
NOT A HOTEL - スマートホームの未来
shinsuke_imai
0
110
スマートホームのこれから - NOT A HOTEL TECH TALK 2024/04/09
shinsuke_imai
1
230
クックパッドマート SORACOMを使って 高速プロトタイピング
shinsuke_imai
0
69k
クックパッドマート開発の裏側 ~ステーション編~
shinsuke_imai
0
1.5k
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
580
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
1.2k
Reliable distribution system with Ruby x IoT
shinsuke_imai
0
730
クックパッド流食品流通の作り方
shinsuke_imai
0
280
Data analysis of cookpad storeTV
shinsuke_imai
1
5.8k
Other Decks in Technology
See All in Technology
夢の印税生活 / Life on Royalties
tmtms
0
140
Observability for LLM Application lifecycle
ivry_presentationmaterials
1
160
JAWS-UG のイベントで使うハンズオンシナリオを Amazon Q Developer for CLI で作ってみた話
kazzpapa3
0
130
[OCI Technical Deep Dive] OCIで生成AIを活用するためのソリューション解説(2025年8月5日開催)
oracle4engineer
PRO
0
130
PFEM Online Feature Flag @ newmo
shinyaishitobi
2
160
九州の人に知ってもらいたいGISスポット / gis spot in kyushu 2025
sakaik
0
200
Autonomous Database Serverless 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
18
52k
サイボウズフロントエンドの横断活動から考える AI時代にできること
mugi_uno
3
1.2k
AIは変更差分からユニットテスト_結合テスト_システムテストでテストすべきことが出せるのか?
mineo_matsuya
5
2.7k
Kiro と Q Dev で 同じゲームを作らせてみた
r3_yamauchi
PRO
1
120
LLM 機能を支える Langfuse / ClickHouse のサーバレス化
yuu26
9
2.7k
薬屋のひとりごとにみるトラブルシューティング
tomokusaba
0
390
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
4 Signs Your Business is Dying
shpigford
184
22k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
It's Worth the Effort
3n
186
28k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Adopting Sorbet at Scale
ufuk
77
9.5k
Transcript
eliable label printer system Cookpad ech itchen #21 how-and- ell
2019.3.21 Shinsuke IMAI
whoami hinsuke A @imashin_ erverside engineer
Demo - print labels -
Agenda • When the label printer is used in our
service • Why we develop this remote label printer • ow we develop this system
rder flow rder products
rder flow rder end time comes (a day before delivery)
rder flow TSP743II E3-24J1 JP UD-LT1 / EX SORACOM VPC
AWS Printer CKPD VPC SORACOM Print batch rint product labels via celler network
rder flow roduct labels
rder flow A-2 A-1 B-2 B-1 Deliver labeled products to
users A-2 B-2
Agenda • When the label printer is used in our
service => Ans. sending ordered items • Why we develop this remote label printer • ow we develop this system
abel is mportant A-1
eliable label printer system is required
Agenda • When the label printer is used in our
service => Ans. sending ordered items • Why we develop this remote label printer => Ans. All people depend on labels • ow we develop this system
First label printer • i ad Air (Cellular model) ◦
Application crashes ◦ Difficult to auto update • abel printer ( -820 WB Brother) ◦ aper jam • Direct wired ethernet connection ◦ Connection lost
ew idea • eplace ◦ i ad to a cloud
computer ◦ unstable connection to stable connection ◦ the normal label printer to a stable label printer
Cloud computer
E router • D- 1 iodata ◦ ebooting ▪ Daily
▪ n connection lost ◦ onitoring ▪ ◦ ogging ▪ syslog
rinter • 743 tar icronics ◦ Controllable via C socket
▪ print / reboot / status check ◦ onitoring ▪ ◦ am less ▪ ??? ( est needed)
rinter • rints many labels ◦ never happen jam
rinter • rints many labels ◦ never happen jam ◦
many label cores are created
rinter • rints many labels ◦ never happen jam ◦
many label cores are created ◦ next seat engineers build unreliable Android tower
et’s build!!!
Direct print TSP743II E3-24J1 JP UD-LT1 / EX SORACOM VPC
AWS Printer CKPD VPC SORACOM Print batch end label data from a batch to the printer
Development • etwork: @sorah ◦ Build a network to use
soracom ◦ Device management
Development • rinter: @imashin ◦ Develop gem to control printer
via C socket https://www.starmicronics.com/support/Mannualfolder/starline_cm_en.pdf https://rubygems.org/gems/star_ethernet
Development • Assemble: @imashin ◦ ake holes at the box
◦ lace devices in one box
Agenda • When the label printer is used in our
service => Ans. reparing orders • Why we develop this online label printer => Ans. All people depend on labels • ow we develop this system => Ans. Assembling reliable devices and services
None