all: Unify naming convention of backends. Get rid of '_' in URIs.

now it's:

 manufacturer-model
This commit is contained in:
Solomon Peachy 2013-07-14 20:10:18 -04:00
parent 7224fe02a8
commit caaaf3f623
8 changed files with 40 additions and 40 deletions

10
.gitignore vendored
View File

@ -1,6 +1,6 @@
*~
selphy_print
kodak1400_print
kodak6800_print
shinko_s2145_print
sony_updr150_print
canon-selphy_print
kodak-1400_print
kodak-6800_print
shinko-s2145_print
sony-updr150_print

View File

@ -4,29 +4,29 @@ LDFLAGS = -lusb-1.0
CUPS_BACKEND_DIR = /usr/lib/cups/backend
DEPS = backend_common.c
all: selphy_print kodak1400_print kodak6800_print shinko_s2145_print sony_updr150_print
all: canon-selphy_print kodak-1400_print kodak-6800_print shinko-s2145_print sony-updr150_print
selphy_print: selphy_print.c $(DEPS)
canon-selphy_print: selphy_print.c $(DEPS)
gcc -o $@ $< $(LDFLAGS) $(CFLAGS)
kodak6800_print: kodak6800_print.c $(DEPS)
kodak-6800_print: kodak6800_print.c $(DEPS)
gcc -o $@ $< $(LDFLAGS) $(CFLAGS)
kodak1400_print: kodak1400_print.c $(DEPS)
kodak-1400_print: kodak1400_print.c $(DEPS)
gcc -o $@ $< $(LDFLAGS) $(CFLAGS)
shinko_s2145_print: shinko_s2145_print.c $(DEPS)
shinko-s2145_print: shinko_s2145_print.c $(DEPS)
gcc -o $@ $< $(LDFLAGS) $(CFLAGS)
sony_updr150_print: sony_updr150_print.c $(DEPS)
sony-updr150_print: sony_updr150_print.c $(DEPS)
gcc -o $@ $< $(LDFLAGS) $(CFLAGS)
install:
install -o root -m 700 selphy_print $(CUPS_BACKEND_DIR)/selphy
install -o root -m 700 kodak1400_print $(CUPS_BACKEND_DIR)/kodak1400
install -o root -m 700 kodak6800_print $(CUPS_BACKEND_DIR)/kodak6800
install -o root -m 700 shinko_s2145_print $(CUPS_BACKEND_DIR)/shinko_s2145
install -o root -m 700 sony_updr150_print $(CUPS_BACKEND_DIR)/sony_updr150
install -o root -m 700 canon-selphy_print $(CUPS_BACKEND_DIR)/canon-selphy
install -o root -m 700 kodak-1400_print $(CUPS_BACKEND_DIR)/kodak-1400
install -o root -m 700 kodak-6800_print $(CUPS_BACKEND_DIR)/kodak-6800
install -o root -m 700 shinko-s2145_print $(CUPS_BACKEND_DIR)/shinko-s2145
install -o root -m 700 sony-updr150_print $(CUPS_BACKEND_DIR)/sony-updr150
clean:
rm -f selphy_print kodak6800_print kodak1400_print shinko_s2145 sony_updr150

28
README
View File

@ -15,13 +15,13 @@
***************************************************************************
Supported Printers for each backend:
selphy: All Canon SELPHY ES and SELPHY CP printer models
canon-selphy: All Canon SELPHY ES and SELPHY CP printer models
(see below)
kodak1400: Kodak Professional 1400
kodak-1400: Kodak Professional 1400
Kodak 805 Photo Printer
kodak6800: Kodak 6800 Photo Printer
skinko_s2145: Shinko/Sinfonia CHC-S2145
sony_updr150: Sony UP-DR150
kodak-6800: Kodak 6800 Photo Printer
skinko-s2145: Shinko/Sinfonia CHC-S2145
sony-updr150: Sony UP-DR150
***************************************************************************
Compilation:
@ -56,7 +56,7 @@
backend - < filename
somecommand | backend -
[[ where 'backend' is the program name, eg 'selphy_print' ]]
[[ where 'backend' is the program name, eg 'canon-selphy_print' ]]
Some backends may support additional arguments; see below:
@ -65,7 +65,7 @@
output.
***************************************************************************
selphy backend:
canon-selphy backend:
Verified supported printers:
@ -104,7 +104,7 @@
a PID/TYPE specification, please let me know via e-mail.
***************************************************************************
kodak1400 backend:
kodak-1400 backend:
This backend fully supports the Kodak 1400 medium-format printer.
@ -112,7 +112,7 @@
This backend supports additional commands:
kodak1400_print [command [arg] ]
kodak-1400_print [command [arg] ]
Valid commands:
@ -127,7 +127,7 @@
(unsure as to the bit usage)
***************************************************************************
kodak6800 backend:
kodak-6800 backend:
This backend fully supports the Kodak 6800 kiosk printer.
@ -135,7 +135,7 @@
This backend supports additional commands:
kodak6800_print [command [arg] ]
kodak-6800_print [command [arg] ]
Valid commands:
@ -151,7 +151,7 @@
(ie 14-bit)
***************************************************************************
shinko_s2145 backend:
shinko-s2145 backend:
This backend fully supports the Shinko/Sinfonia CHC-S2145 kiosk printer.
@ -165,7 +165,7 @@
This backend supports additional commands:
shinko_s2145_print [command [arg] ]
shinko-s2145_print [command [arg] ]
Valid commands:
@ -202,6 +202,6 @@
[3] Default printer tone curve is a linear 'val << 3'
***************************************************************************
sony_updr150 backend:
sony-updr150 backend:
This backend fully supports the Sony UP-DR150 Digital Photo Printer.

View File

@ -35,8 +35,8 @@
#include <fcntl.h>
#include <signal.h>
#define VERSION "0.15"
#define URI_PREFIX "kodak1400://"
#define VERSION "0.16"
#define URI_PREFIX "kodak-1400://"
#include "backend_common.c"

View File

@ -35,8 +35,8 @@
#include <fcntl.h>
#include <signal.h>
#define VERSION "0.10"
#define URI_PREFIX "kodak6800://"
#define VERSION "0.11"
#define URI_PREFIX "kodak-6800://"
#define STR_LEN_MAX 64
#include "backend_common.c"

View File

@ -35,8 +35,8 @@
#include <fcntl.h>
#include <signal.h>
#define VERSION "0.51"
#define URI_PREFIX "selphy://"
#define VERSION "0.52"
#define URI_PREFIX "canon-selphy://"
#include "backend_common.c"

View File

@ -39,8 +39,8 @@
#include <fcntl.h>
#include <signal.h>
#define VERSION "0.10"
#define URI_PREFIX "shinko_s2145://"
#define VERSION "0.11"
#define URI_PREFIX "shinko-s2145://"
#include "backend_common.c"

View File

@ -35,8 +35,8 @@
#include <fcntl.h>
#include <signal.h>
#define VERSION "0.01"
#define URI_PREFIX "sony_updr150://"
#define VERSION "0.02"
#define URI_PREFIX "sony-updr150://"
#define STR_LEN_MAX 64
#include "backend_common.c"