mirror of https://github.com/klirichek/zj-58
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
409 B
18 lines
409 B
#!/bin/bash
|
|
|
|
# Installs zj-58 driver
|
|
# Tested as working under Ubuntu 14.04
|
|
|
|
# Deprecated. Don't use this script;
|
|
# use build with cmake and then 'make install' instead
|
|
|
|
/etc/init.d/cups stop
|
|
cp rastertozj /usr/lib/cups/filter/
|
|
mkdir -p /usr/share/cups/model/zjiang
|
|
cp ZJ-58.ppd /usr/share/cups/model/zjiang/
|
|
cd /usr/lib/cups/filter
|
|
chmod 755 rastertozj
|
|
chown root:root rastertozj
|
|
cd -
|
|
/etc/init.d/cups start
|