Print Page | Close Window

Page Numbers On Print outs

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=8620
Printed Date: 10 November 2024 at 4:10am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Page Numbers On Print outs
Posted By: JimK
Subject: Page Numbers On Print outs
Date Posted: 31 October 2007 at 9:42am
Is it possible to set the alignment of the text shown by the PrintOptions.Footer.FormatString  property?
 
At the moment is always shows on the left hand side of the header or footer - I would like it on the right.
 
Better still would be the ability include page numbers in the .TextCenter or .TextRight properties e.g.
 
PrintOptions.Footer.TextRight = "Page &p of &P"
 
Even better again would be the ability to use all three .TextLeft, .TextCenter and .TextRight properties at the same time. e.g.
 
PrintOptions.Header.TextLeft = Format(Now, "DD Mmm YYYY")
PrintOptions.Header.Textcenter = "My Application"
PrintOprions.header.TextRight = "Page &p of &P"
 
 



Replies:
Posted By: nighthawk
Date Posted: 31 October 2007 at 6:22pm
Try:

PrintOptions.Header.FormatString = Format(Now, "DD Mmm YYYY") & "&b" & "My Application" & "&b" & "Page &p of &P"


Posted By: JimK
Date Posted: 01 November 2007 at 5:37am
Cool! many thanks for that....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net