You probably mean Image | Stamp in the viewer/editor.
This will print over (a section of) your image, like you asked. However if you prefer to add a border first and print on that, you can use Transform | Crop/Add Border for that. When you enter a negative value for 'amount', a border will be added (with positive values, the image will be cropped).