Watermark on Printout

Watermark on Printout

Postby TimStone » Mon Aug 20, 2007 9:57 pm

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
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Mon Aug 20, 2007 10:01 pm

Tim,

Do you want a text watermark (light gray color, or similar) or an image watermark ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Watermark

Postby TimStone » Tue Aug 21, 2007 4:21 pm

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
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby driessen » Tue Aug 21, 2007 10:20 pm

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 :

Code: Select all  Expand view  RUN
oPrn:SayBitMap(0,0,"..\BITMAPS\OMEDBMP.BMP",cLength,cWidth)


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
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Watermark

Postby TimStone » Tue Aug 21, 2007 10:31 pm

Thats what I assumed. Thanks I will try it.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 57 guests