swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] disable print option on swf files


From: Matthias Kramm
Subject: Re: [Swftools-common] disable print option on swf files
Date: Wed, 26 Mar 2008 13:36:31 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Mar 26, 2008 at 12:00:54PM +0100, Zsolt Vilhelm <address@hidden> wrote:
> Is it possible to somehow disable the printability of the swf files created
> by pdf2swf?

Some years ago, Rainer implemented something like that, which works by
adding an (non-printable) transparent rectangle above the text. Not sure
whether newer Flash Players can be fooled by that, but it's worth a
try:

Change
//#define USE_WATERMARK 1   // set this flag to print-protect your swfs
to
#define USE_WATERMARK 1   // set this flag to print-protect your swfs
in line 46 of swfs/simple_viewer.c, then run "make;make install" again 
and run pdf2swf with the -b option:
    pdf2swf -b file.pdf -o file.swf

I'm very interesting in feedback whether this trick still works.

Greetings

Matthias







reply via email to

[Prev in Thread] Current Thread [Next in Thread]