Specifying an input file
Bruce F.
brf33 at comcast.net
Thu Feb 24 19:39:48 PST 2005
Well, I have a postscript program that does mailing lables
by reading them from a file. I used to use "currentfile" in
the PS, which reads the data following the postscript code.
This doesn't work in CUPS, because apparently foomatic or
somebody is adding a bunch more postscript to the end of
my file (after my input data).
So fine, I thought I'll just read from a file instead.
I changed "currentfile" to "(%os%/tmp/lbltmp) (r)" for the
"file" command to open. No luck. Doesn't work without
the "%os%" either. This is all using GS 7.07 under Fedora
Core 3 on an x86 whitebox. Foomatic logs a "invalidfileaccess"
error and quits.
Any postscript or cups guru out there who can give me a
clue about how to get my file data read by my postscript?
Thanks a bunch. I'll check this group regularly for the next
week or so.
More information about the cups
mailing list