Watermark on Printout
Watermark on Printout
Has anyone tried to implement a watermark on a printout ? If so, would you mind sharing the strategy ? Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Watermark
My client wants a graphic watermark printed in the background. I was thinking of experimenting with using the graphic as a brush and then filling an area in the center of the document page with that brush object.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
Tim,
I use a watermark on some of my printouts.
I made a BMP-file, containing the watermark (very light gray). The size of the BMP-file is the same size as the paper I use.
I also use the printer class for reporting.
To put the watermark on my paper, I use :
The BMP-file is zoomed to cLength and cWidth. It is put like a film over my paper.
Works very well.
Hope to have helped you.
Good luck.
The
I use a watermark on some of my printouts.
I made a BMP-file, containing the watermark (very light gray). The size of the BMP-file is the same size as the paper I use.
I also use the printer class for reporting.
To put the watermark on my paper, I use :
Code: Select all
oPrn:SayBitMap(0,0,"..\BITMAPS\OMEDBMP.BMP",cLength,cWidth)
Works very well.
Hope to have helped you.
Good luck.
The
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Watermark
Thats what I assumed. Thanks I will try it.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019