From: Daniel Berger Date: 2009-02-07T04:51:39+09:00 Subject: Eurionize - something PDF::Writer and PostScript libs might like I came across this bit of Perl at: http://wildsparx.com/eurionize/ In short it marks a postscript doc so that it can't be copied by most color copiers. Thought someone might want to port it for PDF::Writer or whatever. Regards, Dan #!/usr/bin/perl # # Eurionize - add the so-called "EURion constellation" anti-copying mark # to a postscript document. # # Copyright 2004 Asher Blum - licensed under the GNU GPL. # Based on research by Markus Kuhn - http://www.cl.cam.ac.uk/~mgk25/eurion.pdf # # Version 0.1 use strict; undef $/; my $doc = <>; my $ps = ps(); $doc =~ s|([^/])showpage|$1ashershowpage|g; $doc =~ s/%%BeginProlog/%%BeginProlog\n$ps/; print $doc; sub ps { my $ps = <