{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/lbp9100c/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/lbp9100c/", "feed_url": "https://matoken.org/blog/tag/lbp9100c/feed/json/", "language": "ja", "title": "LBP9100C – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=2648", "url": "https://matoken.org/blog/2019/11/15/print-with-canon-lbp9100c-from-ubuntu-19-10-amd64/", "title": "Ubuntu 19.10 amd64\u304b\u3089CANON LBP9100C\u3067\u5370\u5237\ud83d\udda8\ufe0f", "content_html": "
\u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u3067\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u305d\u306e\u307e\u307e\u3067\u3059\uff0e\u305f\u3060\uff0csystemd\u74b0\u5883\u306a\u306e\u3067\u305d\u306e\u3078\u3093\u3060\u3051\u304c\u9055\u3044\u307e\u3059\uff0e
\n\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u7b49\u3092\u5165\u624b\u3057\u307e\u3059\uff0e
\n\u4eca\u56de\u306f\u300cCAPT Printer Driver for Linux Ver.2.71\uff0832bit&64bit\uff09\u300d\u3092\u4f7f\u3044\u307e\u3057\u305f\uff0e
\n\u7d50\u69cb\u53e4\u3044\u3067\u3059\u306d\uff0e
\n\n\n\n\n\u672c\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u52d5\u4f5c\u78ba\u8a8d\u6e08 OS
\n
\nFedora 24 (32bit/ 64bit)
\nFedora 25 (32bit/ 64bit)
\nUbuntu 16.04 Desktop (32bit/ 64bit)
\nUbuntu 16.10 Desktop (32bit/ 64bit)
\u30d5\u30a1\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u306f\u3053\u3093\u306a\u611f\u3058\uff0e
\n$ ls -s ./linux-capt-drv-v271-jp.tar.gz\n124484 ./linux-capt-drv-v271-jp.tar.gz\n$ sha512sum ./linux-capt-drv-v271-jp.tar.gz\nf6b354dd29393322f0ae4bcea5568650ce286358e42505b6c33f2c7ebb9ff8c813ca52bfd9d56d0cf87db678e56af5559b6300720d50ea29834c1d319c1eb75c ./linux-cap\nt-drv-v271-jp.tar.gz\n$ tar tvf ./linux-capt-drv-v271-jp.tar.gz\n-rw-rw-r-- canon/canon 9879361 2017-04-18 00:00 linux-capt-drv-v271-jp/32-bit_Driver/RPM/cndrvcups-capt-2.71-1.i386.rpm\n-rw-rw-r-- canon/canon 15356845 2017-04-18 00:00 linux-capt-drv-v271-jp/32-bit_Driver/RPM/cndrvcups-common-3.21-1.i386.rpm\n-rw-rw-r-- canon/canon 15382368 2017-04-18 00:00 linux-capt-drv-v271-jp/32-bit_Driver/Debian/cndrvcups-common_3.21-1_i386.deb\n-rw-rw-r-- canon/canon 9716256 2017-04-18 00:00 linux-capt-drv-v271-jp/32-bit_Driver/Debian/cndrvcups-capt_2.71-1_i386.deb\n-rw-rw-r-- canon/canon 9905144 2017-04-18 00:00 linux-capt-drv-v271-jp/64-bit_Driver/RPM/cndrvcups-capt-2.71-1.x86_64.rpm\n-rw-rw-r-- canon/canon 15365135 2017-04-18 00:00 linux-capt-drv-v271-jp/64-bit_Driver/RPM/cndrvcups-common-3.21-1.x86_64.rpm\n-rw-rw-r-- canon/canon 9733334 2017-04-18 00:00 linux-capt-drv-v271-jp/64-bit_Driver/Debian/cndrvcups-capt_2.71-1_amd64.deb\n-rw-rw-r-- canon/canon 15389756 2017-04-18 00:00 linux-capt-drv-v271-jp/64-bit_Driver/Debian/cndrvcups-common_3.21-1_amd64.deb\n-rw-rw-r-- canon/canon 573192 2017-04-18 00:00 linux-capt-drv-v271-jp/Doc/guide-capt-2.7xJ.tar.gz\n-rw-rw-r-- canon/canon 27592 2017-04-18 00:00 linux-capt-drv-v271-jp/Doc/LICENSE-JP.txt\n-rw-rw-r-- canon/canon 46924 2017-04-18 00:00 linux-capt-drv-v271-jp/Doc/README-capt-2.71J.txt\n-rw-rw-r-- canon/canon 10031685 2017-04-18 00:00 linux-capt-drv-v271-jp/Src/cndrvcups-capt-2.71-1.tar.gz\n-rw-rw-r-- canon/canon 17277148 2017-04-18 00:00 linux-capt-drv-v271-jp/Src/cndrvcups-common-3.21-1.tar.gz\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/32-bit_Driver/RPM/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/32-bit_Driver/Debian/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/64-bit_Driver/RPM/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/64-bit_Driver/Debian/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/Doc/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/Src/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/32-bit_Driver/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/64-bit_Driver/\ndrwxrwxr-x canon/canon 0 2017-04-18 00:00 linux-capt-drv-v271-jp/\n
\u5c55\u958b\u3057\u3066\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n$ tar xf ./linux-capt-drv-v271-jp.tar.gz\n$ sudo dpkg -i ./linux-capt-drv-v271-jp/64-bit_Driver/Debian/cndrvcups-capt_2.71-1_amd64.deb ./linux-capt-drv-v271-jp/64-bit_Driver/Debian/cndrvcups-common_3.21-1_amd64.deb\n\u4ee5\u524d\u306b\u672a\u9078\u629e\u306e\u30d1\u30c3\u30b1\u30fc\u30b8 cndrvcups-capt \u3092\u9078\u629e\u3057\u3066\u3044\u307e\u3059\u3002\n(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059 ... \u73fe\u5728 690646 \u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002)\n.../cndrvcups-capt_2.71-1_amd64.deb \u3092\u5c55\u958b\u3059\u308b\u6e96\u5099\u3092\u3057\u3066\u3044\u307e\u3059 ...\ncndrvcups-capt (2.71-1) \u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059...\n\u4ee5\u524d\u306b\u672a\u9078\u629e\u306e\u30d1\u30c3\u30b1\u30fc\u30b8 cndrvcups-common \u3092\u9078\u629e\u3057\u3066\u3044\u307e\u3059\u3002\n.../cndrvcups-common_3.21-1_amd64.deb \u3092\u5c55\u958b\u3059\u308b\u6e96\u5099\u3092\u3057\u3066\u3044\u307e\u3059 ...\ncndrvcups-common (3.21-1) \u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059...\ncndrvcups-common (3.21-1) \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 ...\ncndrvcups-capt (2.71-1) \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 ...\nsystemd (242-7ubuntu3) \u306e\u30c8\u30ea\u30ac\u3092\u51e6\u7406\u3057\u3066\u3044\u307e\u3059 ...\n
cups\u518d\u8d77\u52d5\uff0e
\n$ sudo service cups restart\n
\u30d7\u30ea\u30f3\u30c8\u30b9\u30d7\u30fc\u30e9\u306b\u30d7\u30ea\u30f3\u30bf\u3092\u767b\u9332\uff0e
\n$ sudo lpadmin -p LBP9100C -P /usr/share/cups/model/CNCUPSLBP9100CCAPTJ.ppd -v ccp://localhost:59687 -E\n
ccpd\u306bdaemon\u306b\u30d7\u30ea\u30f3\u30bf\u3092\u767b\u9332\uff0e
\n\u203b 192.168.1.14 \u90e8\u5206\u306f\u8a72\u5f53\u30d7\u30ea\u30f3\u30bf\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u5909\u66f4\u3059\u308b\uff0e
$ sudo ccpdadmin -p LBP9100C -o net:192.168.1.14\n\n CUPS_ConfigPath = /etc/cups/\n LOG Path = None\n UI Port = 59787\n\n Entry Num : Spooler : Backend : FIFO path : Device Path : Status\n ----------------------------------------------------------------------------\n\t [0] : LBP9100C : ccp : //localhost:59687 : net:192.168.1.14 : New!!\n
cups\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u8a2d\u5b9a\u3057\u3066\u304a\u304f\uff0e\u3053\u3053\u3067\u306f\u81ea\u5206(127.0.0.1)\u3060\u3051\uff0e
\n$ sudo vi /etc/cups/cupsd.conf\n$ sudo git -C /etc diff HEAD^ -- /etc/cups/cupsd.conf\ndiff --git a/cups/cupsd.conf b/cups/cupsd.conf\nindex 0f233ad..1c51867 100644\n--- a/cups/cupsd.conf\n+++ b/cups/cupsd.conf\n@@ -29,11 +29,13 @@ WebInterface Yes\n # Restrict access to the server...\n <Location />\n Order allow,deny\n+ Allow From 127.0.0.1\n </Location>\n\n # Restrict access to the admin pages...\n <Location /admin>\n Order allow,deny\n+ Allow From 127.0.0.1\n </Location>\n\n # Restrict access to configuration files...\n
ccpd\u3092\u8d77\u52d5\u3057\u3066\uff0c\u30c6\u30b9\u30c8\u5370\u5237\u3057\u3066\u307f\u308b\uff0e
\n$ sudo service ccpd start\n
ccpd\u304c\u30b7\u30b9\u30c6\u30e0\u8d77\u52d5\u6642\u306b\u8d77\u52d5\u3059\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3068\u8d77\u52d5\u3057\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b
\n$ sudo systemctl is-enabled ccpd\nccpd.service is not a native service, redirecting to systemd-sysv-install.\nExecuting: /lib/systemd/systemd-sysv-install is-enabled ccpd\ndisabled\n
ccpd\u3092\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u6012\u3089\u308c\u308b\uff0e
\n$ sudo systemctl enable ccpd\nccpd.service is not a native service, redirecting to systemd-sysv-install.\nExecuting: /lib/systemd/systemd-sysv-install enable ccpd\nupdate-rc.d: error: ccpd Default-Start contains no runlevels, aborting.\n
/etc/init.d/ccpd \u3092\u5c11\u3057\u4fee\u6b63\u3057\u3066\u6012\u3089\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u518d\u5ea6\u767b\u9332\uff0e
$ sudo vi /etc/init.d/ccpd\n$ sudo git -C /etc diff -- /etc/init.d/ccpd\ndiff --git a/init.d/ccpd b/init.d/ccpd\nindex f14cb8c..bdac57e 100755\n--- a/init.d/ccpd\n+++ b/init.d/ccpd\n@@ -1,5 +1,13 @@\n #!/bin/sh\n # startup script for Canon Printer Daemon for CUPS (ccpd)\n+### BEGIN INIT INFO\n+# Provides: my-service-name\n+# Required-Start: $all\n+# Required-Stop:\n+# Default-Start: 2 3 4 5\n+# Default-Stop:\n+# Short-Description: your description here\n+### END INIT INFO\n\n if [ `ps awx | grep cupsd | grep -v grep | wc -l` -eq 0 ]; then\n\t\twhile [ `ps awx | grep cupsd | grep -v grep | wc -l` -eq 0 ]\n$ sudo systemctl enable ccpd\nccpd.service is not a native service, redirecting to systemd-sysv-install.\nExecuting: /lib/systemd/systemd-sysv-install enable ccpd\n$ sudo systemctl is-enabled ccpd\nccpd.service is not a native service, redirecting to systemd-sysv-install.\nExecuting: /lib/systemd/systemd-sysv-install is-enabled ccpd\nenabled\n
$ w3m -dump http://192.168.1.14/cab/dev_info.shtml | grep \u88fd\u54c1\n\u2502 \u88fd\u54c1\u540d : \u2502 LBP9100C \u2502\n\u2502 \u88fd\u54c1\u30d0\u30fc\u30b8\u30e7\u30f3 : \u2502 1.16 \u2502\n$ dpkg-query -W cups* cndrvcups*\ncndrvcups-capt 2.71-1\ncndrvcups-common 3.21-1\ncndrvcups-lipslx\ncndrvcups-ufr2-uk\ncndrvcups-ufr2-us\ncups 2.2.12-2ubuntu1\ncups-browsed 1.25.11-0ubuntu1\ncups-bsd 2.2.12-2ubuntu1\ncups-client 2.2.12-2ubuntu1\ncups-common 2.2.12-2ubuntu1\ncups-core-drivers 2.2.12-2ubuntu1\ncups-daemon 2.2.12-2ubuntu1\ncups-filters 1.25.11-0ubuntu1\ncups-filters-core-drivers 1.25.11-0ubuntu1\ncups-filters-ippusbxd\ncups-ipp-utils 2.2.12-2ubuntu1\ncups-pdf\ncups-pk-helper 0.2.6-1ubuntu3\ncups-ppdc 2.2.12-2ubuntu1\ncups-server-common 2.2.12-2ubuntu1\ncupsys\n$ lsb_release -dr\nDescription: Ubuntu 19.10\nRelease: 19.10\n$ uname -m\nx86_64\n