The example below shows the entire letterstamp.txt including the examples we’ve been using throughout this chapter.
#Options | Comment |
Begin_Options | Begin Options block |
Version (2) | Stamp file format version 2 |
TopMargin (36) | Top margin 36 points (1/2 inch) |
BottomMargin (36) | Bottom margin 36 points (1/2 inch) |
LeftMargin (36) | Left margin 36 points (1/2 inch) |
RightMargin (36) | Right margin 36 points (1/2 inch) |
End_Options | End Options block |
# — Stamp Item — | Comment |
Begin_Message | Begin Stamp Item |
Name (Appligent Logo) | Named Return Address |
Type (PDF) | PDF stamp |
StartPage (1) | Start on first page |
EndPage (-1) | Stamp to the last page |
Bottom (700) | Left, bottom corner of image is on the left edge of page |
Left (30) | Left, bottom corner of image is on the bottom edge of page |
Underlay (yes) | Place it over existing text and graphics |
Path (./samples/stampfiles/letterhead.pdf) | Use image file named letterhead.pdf in ./samples/directory |
End_Message | End Stamp Item |
# — Stamp Item — | Comment |
Begin_Message | Begin Stamp Item |
Name (Current Date) | Named Current Date |
Type (Text) | Text stamp |
StartPage (1) | Start on first page |
EndPage (1) | Stamp only first page |
Top (620) | Top margin 620 points from bottom of page |
Left (44) | Left margin 44 points from the left of page |
Position (top) | Position of top of the text along the top margin |
Justification (left) | Left justify the text |
Underlay (no) | Place it over existing text and graphics |
Size (12) | Font size 12 points |
Font (Helvetica) | Font Helvetica |
TextMode (0) | Solid text |
Text (%A %B %d, %Y) | Insert Weekday Month day, Year |
WordWrap (No) | Do not wrap to a new line |
ColorSpace (DeviceGray) | Color of stamped text |
Color (50) | Medium shade of gray |
End_Message | End Stamp Item |
# — Stamp Item — | Comment |
Begin_Message | Begin Stamp Item |
Name (Watermark) | Named Watermark |
Type (Text) | Text stamp |
StartPage (1) | Start on page 1 |
EndPage (-1) | Stamp to the last page |
PageIncrement (1) | Stamp every page |
Position (diag-topleft) | Position diagonally from the top left corner |
Justification (center) | Center it both diagonally and horizontally on the page |
Underlay (Yes) | Place it underneath existing text and graphics |
Size (84) | Text size is 84 points |
Font (Courier Bold) | Font is Courier Bold |
TextMode (1) | Text will be an outline |
Text (Confidential) | Text says “Confidential” |
WordWrap (No) | Do not wrap to a new line |
ColorSpace (DeviceGray) | Color of stamped text |
Color (50) | Medium shade of gray |
End_Message | End Stamp Item |
# — Stamp Item — | Comment |
Begin_Message | Begin Stamp Item |
Name (Signature) | Named Signature |
Type (Image) | Image stamp |
StartPage (1) | Start on first page |
EndPage (-1) | Stamp to the last page (stamp only last page) |
Left (50) | Left, bottom corner of image is 50 points from left edge of page |
Bottom (225) | Left, bottom corner of image is 225 points from bottom of page |
Underlay (No) | Place it over existing text and graphics |
Path (./samples/stampfiles/sig.jpg) | Use image file named sig.jpg in ./samples/stampfiles directory |
Scale (1) | Image places at actual size |
End_Message | End Stamp Item |
# — Stamp Item — | Comment |
Begin_Message | Begin Stamp Item |
Name (Disclaimer) | Named Disclaimer |
Type (Text) | Text stamp |
StartPage (1) | Start on first page |
EndPage (-1) | Stamp to the last page |
PageIncrement (1) | Stamps ever page |
Position (bottom) | Positioned along bottom of page |
Justification (center) | Center the text on page |
Underlay (No) | Place it over existing text and graphics |
Size (12) | Font size 12 points |
Font (Times Bold) | Font Times Bold |
TextMode (0) | Solid Text |
Text (For use only with StampPDF Batch%nThis signature etc…) | Insert disclaimer text. Note %n variable to insert a line break |
WordWrap (No) | Do not wrap to a new line |
ColorSpace (DeviceRGB) | |
Red (220) | Light Red |
Green (67) | |
Blue (71) | |
End_Message | End Stamp Item |
#Appligent, Inc. | Comment |