Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Watermarks in Excel

With MS Word (97-2007) you can place a command (see below) in the header or
footer (Ctrl-F9) that will tell your printer with PostScript drivers to put
a watermark on the page.

Can you issue a PostScript print command in an Excel header or footer? (I
don't think so.)

If not is there any other way (other than VBA code) to send a PostScript
printer command while sending an excel print print request?

Thanks Will

Example of a command that can be placed in the header or footer of a Word
document to place a watermark in each page of the printout.

Print \p page " /Wmark (DRAFT) def /WSize 100 def /Wrot 45 def wp$x wp$right
sub wp$left add 2 div wp$y wp$top sub wp$bottom add 2 div translate Wrot
rotate /Helvetica-BoldOblique findfont WSize scalefont setfont .7 setgray 3
setlinewidth Wmark stringwidth pop 2 div neg WSize .4 mul neg moveto Wmark
true charpath stroke

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Watermarks in Excel

Will,
AFAIK the PS formatting will not work.

Maybe one of these methods as a workaround:
http://www.google.co.uk/search?hl=en...S earch&meta=

My Adobe Acrobat v6 supports adding watermarks to a document. If you
automated the printing of the PDF through its objects, I suppose you can add
the watermark in code - I've never tried.

NickHK

"Will Fleenor" wrote in message
...
With MS Word (97-2007) you can place a command (see below) in the header

or
footer (Ctrl-F9) that will tell your printer with PostScript drivers to

put
a watermark on the page.

Can you issue a PostScript print command in an Excel header or footer? (I
don't think so.)

If not is there any other way (other than VBA code) to send a PostScript
printer command while sending an excel print print request?

Thanks Will

Example of a command that can be placed in the header or footer of a Word
document to place a watermark in each page of the printout.

Print \p page " /Wmark (DRAFT) def /WSize 100 def /Wrot 45 def wp$x

wp$right
sub wp$left add 2 div wp$y wp$top sub wp$bottom add 2 div translate Wrot
rotate /Helvetica-BoldOblique findfont WSize scalefont setfont .7 setgray

3
setlinewidth Wmark stringwidth pop 2 div neg WSize .4 mul neg moveto Wmark
true charpath stroke



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Watermarks on Excel Johnnie[_2_] Excel Discussion (Misc queries) 0 July 15th 08 06:01 PM
how do i place watermarks on excel sheet? Colette Claiborne Excel Discussion (Misc queries) 1 January 4th 07 09:06 PM
How do I put page numbers as watermarks in Excel Bill Excel Discussion (Misc queries) 1 February 21st 06 02:41 PM
Watermarks Purple Hummer Excel Discussion (Misc queries) 3 May 5th 05 01:41 PM
Our Excel 2000 won't let us print watermarks-they don't show up &. SparkleTX Excel Discussion (Misc queries) 1 December 15th 04 10:41 PM


All times are GMT +1. The time now is 10:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"