The present invention provides a method and system for watermarking a file which
is in a PDL such as PostScript. The present invention can be used to either watermark
a PDL file and then generate a watermarked PDL file or the present invention can
be part of the Interpreter in a printer which takes a file in a PDL and which then
generates watermarked raster images which are printed.
The present invention includes an "interpreter" which generates raster images
from the PDL file. The raster images are then watermarked using conventional watermarking
techniques. Next the raster images are either printed (if the interpreter is part
of a printer) or the raster images are combined into a new PDL file.