tag:blogger.com,1999:blog-3763438796088994982.post3142955156496731403..comments2024-02-14T23:56:47.922-03:00Comments on VfpImaging VFP tips and tricks blog: Watermark your reports with FoxyPreviewerUnknownnoreply@blogger.comBlogger21125tag:blogger.com,1999:blog-3763438796088994982.post-51977640529349069722023-03-08T23:47:34.253-03:002023-03-08T23:47:34.253-03:00Hi, is there any way to move the watermark? I mean...Hi, is there any way to move the watermark? I mean, I want to put the watermark in the right below corner of my reports.yondaimehttps://www.blogger.com/profile/10093340032006364834noreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-2971811078962437722023-03-08T23:46:16.072-03:002023-03-08T23:46:16.072-03:00Hi, is there any way to move the watermark? I mean...Hi, is there any way to move the watermark? I mean, I want to put the watermark in the right below corner of my reports.yondaimehttps://www.blogger.com/profile/10093340032006364834noreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-63841806777318592022012-02-27T23:23:57.000-03:002012-02-27T23:23:57.000-03:00Cesar you are inspiring me to use Foxypreview! :)G...Cesar you are inspiring me to use Foxypreview! :)<br>Great Effort.Anilnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-64021718919161051762012-02-28T08:11:10.000-03:002012-02-28T08:11:10.000-03:00Great work Cesarthanks for sharingGreat work Cesar<br>thanks for sharingImrannoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-43760338172571938142012-02-28T08:26:37.000-03:002012-02-28T08:26:37.000-03:00Great... Anil :)Great... Anil :)Rahulnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-7810070566196047372012-02-28T08:27:05.000-03:002012-02-28T08:27:05.000-03:00Great post, enjoyed to read it. Thanks for sharing...Great post, <br>enjoyed to read it. Thanks for sharing.<br><br>Tip: include a hyperlink in the main Documentation document (http://foxypreviewer.codeplex.com/documentation ) to this post - so we have everything together.<br><br>Ciao,<br>KoenKoennoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-26892877518452063752012-02-28T09:56:09.000-03:002012-02-28T09:56:09.000-03:00Hi Koen,Yes! That's exactly what I'm doing...Hi Koen,<br>Yes! That's exactly what I'm doing, and the reason for these last blog posts is to provide complimentary documentation to Foxypreviewer. The hyperlink you suggested is at the section "Special features" in the main docs page.VFP IMAGINGnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-83636263704518662552012-02-28T10:21:55.000-03:002012-02-28T10:21:55.000-03:00Where is the download link? Thanks.Where is the download link? Thanks.Greg Greennoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-735250368130447792012-02-28T14:57:48.000-03:002012-02-28T14:57:48.000-03:00Hi Greg,Here it is:http://foxypreviewer.codeplex.c...Hi Greg,<br>Here it is:<br>http://foxypreviewer.codeplex.com/releases/<br><br>Regards<br><br>CesarVFP IMAGINGnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-3982508130660384772012-03-07T12:26:15.000-03:002012-03-07T12:26:15.000-03:001E6 thank you for this great feature! Only 1 issue...1E6 thank you for this great feature! Only 1 issue so far...the watermark is being displayed in the first page without transparency...from second page on everything looks good.<br><br>Thanks again<br><br>JorgeJorge Luis Diaznoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-75846432492777852292012-03-11T18:42:21.000-03:002012-03-11T18:42:21.000-03:00Thanks Jorge !Please provide more details. How are...Thanks Jorge !<br>Please provide more details. How are you calling your report ?<br>What kind of image? What's the vaule of the properties you are setting?VFP IMAGINGnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-89511421655360800932012-03-12T10:44:56.000-03:002012-03-12T10:44:56.000-03:001. I'm using FoxyPreviewer297c2. In simplified...1. I'm using FoxyPreviewer297c<br><br>2. In simplified mode:<br><br> DO FOXYPREVIEWER.APP<br> WITH _Screen.oFoxyPreviewer<br> *!* Previewer settings<br> .nWindowState = 2 <br> .nDockType = 0 <br> .lSendToEmail = .F.<br> .lSaveToFile = .T.<br> .lShowCopies = .T.<br> .lShowMiniatures = .T.<br> .lShowSetup = .F.<br> .lShowPrinters = .T.<br> .lShowSearch = .T.<br> .nCopies = 1<br> .lPrintVisible = .T.<br> .lPrinterPref = .T.<br> .nPrinterPropType = 1<br> .nCanvasCount = 1<br> .cLanguage = IIF(TYPE([pcLang]) = [L], [ENGLISH], pcLang)<br> .cSaveDefName = IIF(TYPE([pcOutputFileName]) = [L], [], pcOutputFileName)<br> *!* Previewer settings<br> <br> *!* new watermark<br> .cWatermarkImage = IIF(TYPE([pcWaterMark]) = [L], [], pcWaterMark)<br> .nWaterMarkType = 1 && 1 = Colored (default), 2 = B&W<br> .nWatermarktransparency = .50 && (0-1) Transparency, 0 = Transparent, 1 = Opaque<br> .nWaterMarkWidthRatio = 1 && (0-1) Proportion that the WM will occupy in page width<br> .nWaterMarkHeightRatio = 1 && <br> *!* new watermark<br> <br> REPORT FORM (pcRepKey) PREVIEW<br> <br> *!* other not relevant stuff here<br> ENDWITH <br> <br>3. The Image is a PNG file but, I have tried with a jpeg one, and I got the same behavior.<br><br>4. I don't know if this is important but our reports are embedded on the EXE<br><br>If you need more details or even one of the images, just let me know.<br><br>Gracias!Jorge Luis Diaznoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-42440839952581208332012-03-19T09:09:36.000-03:002012-03-19T09:09:36.000-03:00Hi CesarAfter some tests I found what is causing t...Hi Cesar<br><br>After some tests I found what is causing the issue in our side. All our reports are using the report variable _pagetotal inside the page footer. If we remove it, the watermark is displaying with the correct transparency, in all the pages. Hope this can help to find the real cause. As I told you before, our reports are embedded in an "APP"Jorge Luis Diaznoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-35593098304943446752012-03-23T08:03:34.000-03:002012-03-23T08:03:34.000-03:00I made a few changes for now; wherever we process ...I made a few changes for now; wherever we process watermark stuff (pr_reportlistener.foxylistener BEFOREREPORT, INIT, RENDER, DESTROY) I enclosed it as below:<br><br>IF THIS.CurrentPass = 1 OR !THIS.TwoPassProcess && If we have two passes (using _pagetotal in the report for example) we do watermark stuff only at the second pass<br> *!* watermark stuff<br>ENDIF <br><br>and it fixed the issue.<br><br>ThanksJorge Luis Diaznoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-60679453136874263722012-03-26T10:21:24.000-03:002012-03-26T10:21:24.000-03:00Hi CesarMy name is Marco and i have a problem with...Hi Cesar<br>My name is Marco and i have a problem with watermark in vers. 298b:<br><br>if i print directly a pdf file without preview the watermark is not in PDF file; my command is<br>REPORT FORM ;<br> ("test") ;<br> OBJECT TYPE 10 ; && OBJTYPE 10 = PDF , 11 = PDF AS IMAGE<br> TO FILE "D:\Test.pdf" ; && Destination<br> PREVIEW && Open the default PDF viewer<br><br>if i save from preview is perfect.<br><br>great work Cesar.mdm.marconoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-60940327215434755652012-04-24T03:05:07.000-03:002012-04-24T03:05:07.000-03:00@jorge i would suggest dont use [] instead of '...@jorge i would suggest dont use [] instead of ' or " <br>eg. .cLanguage = IIF(TYPE([pcLang]) = [L], [ENGLISH], pcLang)<br><br>when you come across #define you'll fail so that use ' or " for strings !Soykan OZCELIKhttp://soykanozcelik.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-31573642197831190902012-04-24T03:40:25.000-03:002012-04-24T03:40:25.000-03:00BTW Cesar great!BTW Cesar great!Soykan OZCELIKhttp://soykanozcelik.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-26410044031535286132012-04-26T00:00:28.000-03:002012-04-26T00:00:28.000-03:00hi for allgood for app u very very topapp u need a...hi for all<br>good for app <br>u very very top<br>app u need all user in vfp<br>bye kinglion iraqhttp://www.arabteam2000-forum.com/index.php?showforum=217noreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-55824832706219753732012-07-19T23:25:57.000-03:002012-07-19T23:25:57.000-03:00Hi, Marco, I have the same problem, you resolved t...Hi, Marco, I have the same problem, you resolved the problem?luisnoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-41072931598327535942012-10-12T17:38:52.000-03:002012-10-12T17:38:52.000-03:00Foxpreviewer Just keeps getting better everyday!! ...Foxpreviewer Just keeps getting better everyday!! thank you Cesar, Great JobMichael Loyolanoreply@blogger.comtag:blogger.com,1999:blog-3763438796088994982.post-49268562489959413232012-10-22T08:36:08.000-02:002012-10-22T08:36:08.000-02:00Thanks for the kind words Micheal !Thanks for the kind words Micheal !VFP IMAGINGnoreply@blogger.com