On 5 Jul 2004, at 19:13, Simon Hobson wrote:
[snip]At 10:32 am +1000 5/7/04, Alex Satrapa wrote:
[printers]
print command = grep -v '^[0-9]* *VM\?' <%s >%s-2 ; rm %s ; lpr -P%p -o raw %s-2
What's this supposed to achieve? Looks to me like you're tampering with the PostScript by removing any line that starts with 'VM?' optionally preceeded by any number of spaces, optionally preceeded by any number of numeric digits.
That's correct, without it hardly any jobs print at all !
The line that invokes the procedure is always :
nnnn VM?^M (where nnnn is a variable number defining the VM requirements)
What happens if you change the line to:
print command = grep -v '^[0-9][0-9]* *VM\?$' ...
That way you can avoid chopping out lines that just happen to start with VM (eg: base64 encoded cruft). I'm just curious.
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
