forked from Shinbar/foo2zjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.in
67 lines (49 loc) · 1.71 KB
/
INSTALL.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
INSTALLATION
------------
UBUNTU 22.04. Other distros/versions may vary.
Optimised for Fuji Xerox CP105b
Pre-requisites: (note: do NOT install foomatic-filters.
It will uninstall cups, as cups has its own filters now)
$ sudo apt install cups cups-client cups-filters build-essential tix groff dc
Uninstall system repo version of this driver pack:
$ sudo apt remove printer-driver-foo2zjs
Grab these files:
$ cd /tmp
$ git clone https://github.com/UltraSalem/foo2zjs.git
$ cd foo2zjs
(Optional) Uninstall this pack if you've previously installed from here:
$ sudo make uninstall
Compile:
$ make
Install driver, foomatic XML files, PPD files, and extra files:
$ sudo make install
If you use CUPS to manage your printers, you must restart cupsd:
$ sudo systemctl restart cups
Unplug and re-plug the USB printer
If your system doesn't automatically pick it up, run:
$ system-config-printer
Troubleshooting:
$ sudo less /var/log/cups/error_log
CUPS USB NOTES
--------------
If you are using the USB port, then the URI should be:
file:/dev/usb/lp0 OR usb:/dev/usb/lp0
file:/dev/usb/lp1 OR usb:/dev/usb/lp1
OR
usb://Samsung/CLP-310%20Series
usb://Samsung/CLP-310%20Series
usb://HP/Color%20LaserJet%20CP1215
usb://HP/Color%20LaserJet%202600n
usb://HP/LaserJet%201000
usb://HP/LaserJet%201005
usb://HP/LaserJet%201018
usb://HP/LaserJet%201020
usb://HP/LaserJet%20P1005
usb://HP/LaserJet%20P1006
usb://HP/LaserJet%20P1007
usb://HP/LaserJet%20P1008
usb://HP/LaserJet%20P1505
usb://HP/LaserJet%20Professional%20P1102w
Don't use hp://<whatever> because that is for hplip (a closed source,
proprietary driver).
Do a "make cups" as root if you haven't done it before.