Skip to main content
Participant
July 17, 2023
Question

make text watermark

  • July 17, 2023
  • 2 replies
  • 534 views

I want toi make a watermark to place on top of a document and got this code from the net

 

%!PS
/cm { 28.4 mul } bind def
/draft-Bigfont /Helvetica-Bold findfont 20 scalefont def
/draft-copy {
gsave initgraphics 0.9 setgray
0.5 cm 20 cm moveto
0 rotate
draft-Bigfont setfont
(For use by: Name goes here) false charpath
0.5 cm 19 cm moveto
0 rotate
draft-Bigfont setfont
(email: abc@cde.com) false charpath
1 setlinewidth
stroke
grestore
} def
draft-copy showpage

 

that I would like to change to place the text on the vertical, on the left-side of the page and with a font fully white, and I am having a lot of trouble changing the PS to do it.

    This topic has been closed for replies.

    2 replies

    jane-e
    Community Expert
    Community Expert
    July 21, 2023
    quote

    I want toi make a watermark to place on top of a document and got this code from the net

    By @Paulo311257615x9y

     

    What kind of document and which Adobe application? .PDF? .PSD? .INDD? .AI? Something else?

     

    Jane

    eddie0
    Participant
    July 21, 2023

    example 2 was

     

    * * * * * *

    * * * * * *

     

    example 1 was:

    * *

    * *

    * *

    * *

    * *

     

    Those are both vertcal, what do you want different?

    eddie0
    Participant
    July 20, 2023

    %!
    36 36 540 720 rectfill % just to see white text and not needed for watermark
    /Helvetica-Bold 20 selectfont
    1 setgray % white
    36 360 moveto
    -90 rotate
    (For use by: Name goes here) show
    90 rotate
    56 360 moveto
    -90 rotate
    (email: abc@cde.com) show
    90 rotate
    showpage

    Participant
    July 20, 2023

    Many thanks eddie0, I now understand the use of the font-face.

     

    How would one write the text in the vertical direction? I am baffled by the 90/-90 rotates.

     

    eddie0
    Participant
    July 20, 2023

    The rotates are to write the text down from the left center of ths page which I would consider vertical. To write accross the page use:

     

    %!
    36 36 540 720 rectfill % just to see white text and not needed for watermark
    /Helvetica-Bold 20 selectfont
    1 setgray % white
    36 360 moveto
    (For use by: Name goes here) show
    36 380 moveto
    (email: abc@cde.com) show
    showpage