Showing posts with label laser printer. Show all posts
Showing posts with label laser printer. Show all posts

Friday, June 30, 2023

Brother laser color printer MFC9340CDW Scan to Email function

You have to go to brother.com to download a Utilities Tool called Internet FAX Install Tool, you have to click Show all to unhide the link to download

If you are using Gmail, you have to go to Google Account Settings -> Security
1. setup 2FA
2. setup app password

Then, you have to setup SMTP server in printer portal page

SMTP Server Address: smtp.gmail.com
SMTP Port: 587
SMTP Server Authentication Method: SMTP-AUTH
SMTP Server Authentication Name: your_gmail_address
SMTP Server Authentication Password: your_gmail_app_password
SMTP over SSL/TLS: TLS (unclick Verify Server Certificate)
Device E-mail Address: your_gmail_address

POP3 Sever Address: imap.gmail.com
POP3 Port: 993
Mailbox Name: your_gmail_address
Mailbox Password: your_gmail_app_password
POP3 over SSL/TLS: TLS (unclick Verify Server Certificate)

After, you should be all good to go.

Sunday, January 16, 2022

HP LaserJet P1006 之重新 - Network Shared Printing

話說家中有部陳年的 HP LaserJet P1006。呢部嘢十分騎呢,我都唔係好知 printing o既 protocol,以我有限o既知識o既理解就係,呢部煩嘢係將要 print o既嘢,全部轉成 image 先再 print 出嚟,估計都係啲史前o既產物。

轉入正題,話說近來我安裝o左 unRAID,突然靈機一觸,既然個 server 長著,係唔係又好似之前 DSM o既實驗咁,host 個 printer server 令部陳年 laser printer 可以變成 network printer 呢。

上網 search 咗一下,有一個 docker 叫 CUPS,用嚟做 printer server。咁我就拿拿林就安裝,揀好型號再裝好 driver,到裝好之後就試 print test print。事情就當然無咁順利喇。部 printer 一啲反應都無。click 落去 log,就有一堆 error:

E [15/Jan/2022:13:19:16 -0600] [Client 307] Returning IPP client-error-document-format-not-supported for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_LaserJet_P1006) from localhost.
E [15/Jan/2022:13:19:49 -0600] [Client 313] Returning IPP client-error-document-format-not-supported for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_LaserJet_P1006) from localhost.
E [15/Jan/2022:13:19:59 -0600] [Client 318] Returning IPP client-error-document-format-not-supported for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_LaserJet_P1006) from localhost.
W [15/Jan/2022:13:25:19 -0600] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [15/Jan/2022:13:25:19 -0600] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [15/Jan/2022:13:25:19 -0600] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

上網一查,發現部 printer 除咗要裝 driver 之外,仲要裝一個HPLIP o既 Plug-in 佢先可以 printer 到嘢。估計都係因為佢奇奇怪怪o既打印方法。我遇到兩個問題,就係唔知點 download 同唔知點 run。

https://developers.hp.com/hp-linux-imaging-and-printing/plugins

睇完一大輪,HP 淨係叫人喺 CLI 度打 HP-setup 或者 HP-plugin,我心諗,屌,我喺 docker 度裝 CUPS,咩都無裝又點會行到呢兩個 command 呀師傅。

搞咗一大輪,沮喪到就嚟放棄之際,我就喺 terminal 度手痕打 HP-plugin 試下。嘩,屌,真係有反應o架喎。唔好問我點解得,我都唔知點解,佢可能原生就有娤咗 HP 個 printing package。但入到去有三個 options, d 就係 download,p 就俾條 path, q 就 exit。揀 'd' 佢又話 download 唔到喎。咁我咪 wget 個 plug-in 囉,可以去呢個網址度睇下:

https://developers.hp.com/hp-linux-imaging-and-printing/plugins

一個係 .run 尾,一個係 .asc 尾,兩個都要 download,因為佢要計一下個 plug-in 係唔係原裝無俾人 alert 過。跟住再 hp-plugin 入去,今次揀 p 去 specify 頭先 download 咗返嚟個 path。仆你街,佢又話咩 Gnu command not found。上網搵一輪之後原來又要裝個咩 gnupg o既 package。由於 CUPS 係 debian 底o既 docker。所以可以用 apt install gnupg 呢個 command 去 download 同 install 所需 package. 之後再行 hp-plugin,入到去再 specify 條 path 就真係大功告成。我估唔到真係會得咗。

最開心係 iPhone 都睇到個 printer 可以喺部陳年 printer 度打印。又學多樣嘢。

學黃子華話齋,唔搵錢嗰啲,係技能定無能呢? 

https://developers.hp.com/sites/default/files/hplip-3.18.12-plugin.run
https://developers.hp.com/sites/default/files/hplip-3.18.12-plugin.run.asc