This is a short guide to keep track on how to setup this damn printer 😅
The driver can be downloaded here: https://ftp.hp.com/pub/softlib/software13/printers/SS/SL-M4580FX/uld_V1.00.39_01.17.tar.gz
Uncompress the file and run the install script:
This is a short guide to keep track on how to setup this damn printer 😅
The driver can be downloaded here: https://ftp.hp.com/pub/softlib/software13/printers/SS/SL-M4580FX/uld_V1.00.39_01.17.tar.gz
Uncompress the file and run the install script:
(ns the-namespace.core | |
(:require [clj-http.client :as client] | |
[clojure.java.io :as io])) | |
(defn- fetch-photo! | |
"makes an HTTP request and fetches the binary object" | |
[url] | |
(let [req (client/get url {:as :byte-array :throw-exceptions false})] | |
(if (= (:status req) 200) | |
(:body req)))) |