[docs] Add some compilation and usage instructions.
This commit is contained in:
parent
47f42909bf
commit
42ff824594
5
Makefile
5
Makefile
|
@ -4,6 +4,11 @@ all: selphy_print_linux selphy_print_libusb
|
|||
|
||||
selphy_print_linux: es_print_linux.c es_print_common.h
|
||||
gcc -o selphy_print_linux es_print_linux.c $(CFLAGS)
|
||||
chmod 500 selphy_print_linux
|
||||
|
||||
selphy_print_libusb: es_print_libusb.c es_print_common.h
|
||||
gcc -o selphy_print_libusb es_print_libusb.c -lusb-1.0 $(CFLAGS)
|
||||
chmod 500 selphy_print_libusb
|
||||
|
||||
clean:
|
||||
rm -f selphy_print*
|
||||
|
|
34
README.TXT
34
README.TXT
|
@ -28,6 +28,40 @@
|
|||
|
||||
ES40, CP790
|
||||
|
||||
***************************************************************************
|
||||
Compilation:
|
||||
|
||||
You will need libusb-1.0 to build this tool.
|
||||
|
||||
Fedora/RedHat:
|
||||
yum install libusb1-devel
|
||||
Debian/Ubuntu
|
||||
apt-get install libusb-1.0-0-dev
|
||||
|
||||
And all you need to do after that is type 'make'
|
||||
|
||||
|
||||
***************************************************************************
|
||||
CUPS backend usage:
|
||||
|
||||
cp selphy_print_libusb /usr/lib/cups/backend/selphy
|
||||
chown root:root /usr/lib/cups/backend/selphy
|
||||
chmod 500 /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.
|
||||
|
||||
[[[ TODO: -- finish this ]]]
|
||||
|
||||
***************************************************************************
|
||||
Standalone usage:
|
||||
|
||||
selphy_print_libusb filename
|
||||
selphy_print_libusb - < filename
|
||||
somecommand | selphy_print_libusb -
|
||||
|
||||
***************************************************************************
|
||||
Selphy ES1:
|
||||
|
||||
|
|
Loading…
Reference in a new issue