[misc] Move common comments into docs.

This commit is contained in:
Solomon Peachy 2012-10-27 10:27:31 -04:00
parent 54267d51eb
commit 8d0515762c
4 changed files with 54 additions and 50 deletions

View file

@ -1,3 +1,22 @@
*
* The SELPHY ES-series printers from Canon requires intelligent buffering
* of the raw spool data in order to keep the printer from locking up.
*
* Known supported printers:
*
* SELPHY ES1, SELPHY ES2, SELPHY ES30
*
* Supported but untested:
*
* SELPHY ES20, SELPHY ES3
* SELPHY CP-760 and all other CP-series printers EXCEPT for CP-790
*
* NOT currently supported:
*
* SELPHY ES40, CP-790
* (They use different stream formats, and may have different readbacks;
* I will update this as needed and as I get hardware to test..)
/*
Selphy ES1:

View file

@ -1,3 +1,32 @@
/*
* Canon SELPHY ES series print assister -- Common Code
*
* (c) 2007-2012 Solomon Peachy <pizza@shaftnet.org>
*
* The latest version of this program can be found at
*
* http://git.shaftnet.org/git/gitweb.cgi?p=selphy_print.git
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* [http://www.gnu.org/licenses/gpl-3.0.html]
*
*/
#define VERSION "0.20"
#if (__BYTE_ORDER == __LITTLE_ENDIAN)
#define cpu_to_le32(__x) __x
#else

View file

@ -1,29 +1,11 @@
/*
* Canon SELPHY ES series print assister
* Canon SELPHY ES series print assister -- libusb-1 version
*
* (c) 2007-2012 Solomon Peachy <pizza@shaftnet.org>
*
* The SELPHY ES-series printers from Canon requires intelligent buffering
* of the raw spool data in order to keep the printer from locking up.
*
* Known supported printers:
*
* SELPHY ES1, SELPHY ES2, SELPHY ES30
*
* Supported but untested:
*
* SELPHY ES20, SELPHY ES3
* SELPHY CP-760 and all other CP-series printers EXCEPT for CP-790
*
* NOT currently supported:
*
* SELPHY ES40, CP-790
* (They use different stream formats, and may have different readbacks;
* I will update this as needed and as I get hardware to test..)
*
* The latest version of this program can be found at:
*
* http://www.shaftnet.org/users/pizza/es_print_assist.c
* http://git.shaftnet.org/git/gitweb.cgi?p=selphy_print.git
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
@ -43,10 +25,6 @@
*
*/
// Compile with gcc -o es_print es_print_libusb.c -lusb-1.0 -Wall
#define VERSION "0.20"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -1,29 +1,11 @@
/*
* Canon SELPHY ES1 series print assister
* Canon SELPHY ES series print assister -- Native Linux version
*
* (c) 2007-2011 Solomon Peachy <pizza@shaftnet.org>
* (c) 2007-2012 Solomon Peachy <pizza@shaftnet.org>
*
* The SELPHY ES-series printers from Canon requires intelligent buffering
* of the raw spool data in order to keep the printer from locking up.
*
* Known supported printers:
*
* SELPHY ES1, SELPHY ES2, SELPHY ES30
*
* Supported but untested:
*
* SELPHY ES20, SELPHY ES3
* SELPHY CP-760 and all other CP-series printers EXCEPT for CP-790
*
* NOT currently supported:
*
* SELPHY ES40, CP-790
* (They use different stream formats, and may have different readbacks;
* I will update this as needed and as I get hardware to test..)
*
* The latest version of this program can be found at:
* The latest version of this program can be found at
*
* http://www.shaftnet.org/users/pizza/es_print_assist.c
* http://git.shaftnet.org/git/gitweb.cgi?p=selphy_print.git
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
@ -43,10 +25,6 @@
*
*/
// Compile with: gcc -o es_print -Wall es_print_assist.c
#define VERSION "0.14"
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>