diff --git a/ppd/gen-nessie-xcpt b/ppd/gen-nessie-xcpt index eed2ab9dd8aa67ac29a9e8d8f7f8704eaeb4ebb2..7fd482e02554d186b204b9e7f13e5a946e48da14 100755 --- a/ppd/gen-nessie-xcpt +++ b/ppd/gen-nessie-xcpt @@ -22,8 +22,8 @@ set('Throughput', 45); set('TTRasterizer', 'Type42'); set('Protocols', 'PJL BCP TBCP'); -set('cupsFilter', 'application/vnd.cups-pdf 0 /aux/root/xcpt'); -set('cupsFilter', 'application/vnd.cups-postscript 0 /aux/root/xcpt'); +set('cupsFilter', 'application/vnd.cups-pdf 0 /aux/root/xerox-xcpt'); +set('cupsFilter', 'application/vnd.cups-postscript 0 /aux/root/xerox-xcpt'); set('ColorDevice', 1); set('DefaultColorSpace', 'CMYK'); diff --git a/cups-xcpt/Makefile b/xerox-xcpt/Makefile similarity index 87% rename from cups-xcpt/Makefile rename to xerox-xcpt/Makefile index 3d250d24be5fe0e3c36c169c7f479f48dec3e742..49e30b61dd698b7d1d528cf8ac423bede68158d8 100644 --- a/cups-xcpt/Makefile +++ b/xerox-xcpt/Makefile @@ -1,8 +1,8 @@ CC=gcc CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 -all: xcpt +all: xerox-xcpt clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name TAGS -or -name core -or -name .depend -or -name .#*` - rm -f xcpt + rm -f xerox-xcpt diff --git a/cups-xcpt/xcpt.c b/xerox-xcpt/xerox-xcpt.c similarity index 98% rename from cups-xcpt/xcpt.c rename to xerox-xcpt/xerox-xcpt.c index ea6e50d29e4a83b921787bc344c4dcc7754ad1e0..35483662cbba4e36a92feca1261dd50cf20f347f 100644 --- a/cups-xcpt/xcpt.c +++ b/xerox-xcpt/xerox-xcpt.c @@ -1,5 +1,5 @@ /* - * CUPS Filter Generating XCPT + * CUPS Filter Generating Xerox Common Print Tickets * * (c) 2016 Martin Mares <mj@ucw.cz> */ @@ -561,7 +561,7 @@ int main(int argc, char **argv) { if (argc < 5) { - fprintf(stderr, "Usage: xcpt <job> <user> <title> <num-copies> [<options>]\n"); + fprintf(stderr, "Usage: xerox-xcpt <job> <user> <title> <num-copies> [<options>]\n"); return 1; } set_option("JOB_ID", argv[1]);