> Just some amateur suggestions. > 1. Have you run checkpc -f ? > 2. I haven't tried your eval method. I just: > cat | sed -e 's/$/^M/g'
This is not a good idea. In spite of the postscript specifications that no line be longer than 256 bytes we are continually getting postscript programs that have line lengths in the thousands. Sed can handle lines of only "1500 bytes, I suppose it varies with the system but you run the risk of chopping out large chunks. The only time you want to do this is if you want to edit the file for some reason, if only to examine what's in it. All the printers I've anything to do with will accept the horrendously long lines without a whimper. We still get line lengths well over the length that vi can handle. For those I have a program which not only substitutes ^M with ^J but chops the program up into shorter lines using blanks as a delimiter. Even then one gets lines that are too long but they are always hex strings, base-85 strings or the like in which it doesn't hurt to artificially insert a line feed. Then one can edit it. > 3. Are you sure you sed command is working? Do you really have a control > character or just two characters in the replacement string? What does the g option >do for you? > Have you tried \r instead of ^M ? > 4. You might change your filter to: > cat > /tmp/OutFile > to see if the filter is executing. > Joel ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
