[Samba] Can't print properly through server, only direct client->printer

Alex Satrapa alex.satrapa at anu.edu.au
Mon Jul 5 00:32:24 GMT 2004


On 3 Jul 2004, at 19:13, Simon Hobson 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.

Obviously the PostScript being generated is working correctly, since 
direct to printer works fine. What happens if you comment out this 
parameter, and leave the print command alone?

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 220 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040705/68279dc1/PGP.bin


More information about the samba mailing list