[misc] Update docs.

This commit is contained in:
Solomon Peachy 2012-11-19 21:53:20 -05:00
parent 6c2870e791
commit e04be18f48
2 changed files with 8 additions and 9 deletions

View file

@ -1,13 +1,13 @@
CFLAGS = -Wall
CUPS_BACKENDS = /usr/lib/cups/backend
all: selphy_print_linux selphy_print_libusb
all: selphy_print_linux selphy_print
selphy_print_linux: selphy_print_linux.c selphy_print_common.h
gcc -o selphy_print_linux selphy_print_linux.c $(CFLAGS)
selphy_print_libusb: selphy_print.c selphy_print_common.h
gcc -o selphy_print_libusb selphy_print.c -lusb-1.0 $(CFLAGS)
selphy_print: selphy_print.c selphy_print_common.h
gcc -o selphy_print selphy_print.c -lusb-1.0 $(CFLAGS)
install:
install -o root -m 700 selphy_print $(CUPS_BACKENDS)/selphy

View file

@ -44,27 +44,26 @@
And all you need to do after that is type 'make'
***************************************************************************
CUPS backend usage:
cp selphy_print_libusb /usr/lib/cups/backend/selphy
cp selphy_print /usr/lib/cups/backend/selphy
chown root:root /usr/lib/cups/backend/selphy
chmod 700 /usr/lib/cups/backend/selphy
You may need to restart CUPS, and you will also need a prerelease
version of gutenprint installed.
Please note that this will eventually be bundled with gutenprint.
Please note that selphy_print is now bundled with gutenprint.
[[[ TODO: -- finish this ]]]
***************************************************************************
Standalone usage:
selphy_print_libusb filename
selphy_print_libusb - < filename
somecommand | selphy_print_libusb -
selphy_print filename
selphy_print - < filename
somecommand | selphy_print -
***************************************************************************
Selphy ES1: