#include #include #include #include #include "pslib.h" #define HDLEN 60 int dpi = -1; int debug = 0; int landscape = 0; char *file = ""; int paperlength = 11*72; int paperwidth = 612; /* 8.5*72 */ void error(char *s) { fprint(2, "p9bitpost: can't %s file %s: %r\n", s, file); exits("error"); } void main(int argc, char *argv[]) { int i, fd = 0; double xmag = 1.0, ymag = 1.0; char *optstr, *Patch; Memimage *memimage; Patch = nil; for (i=1; i