Matt,

I am on a Windows XP Pro system and I have a print out that has my Copyright notice on the bottom of every page printed.

   // Copyright Notice
   g.textSize = 6
g.drawString "Copyright" + Encodings.UTF8.Chr(169) + "2002-2006 - www.OnclickSoftware.com - All Rights Reserved.",(g.width-g.stringWidth("Copyright(c)2002-2006 - www.OnclickSoftware.com - All Rights Reserved."))/2, g.Height-1

Thsi will center it on the bottom of each page.

Hope this helps.

Jonathon

----- Original Message ----- From: "Matt Denton" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 10, 2006 8:16 PM
Subject: PC Printing Issues -- adding a footer to the bottom of the page


I'm trying to add a footer to the bottom of each printed page. Works on Mac but NOT on PC.

I have styled text and I'm using styledTextPrinter and got a reasonable result creating a graphics object then with a g.nextPage inside a loop testing for EOF.

To add a footer I've used a drawstring to write the footer to the bottom of each page inside the loop.

On the Mac this seems to work, on the PC the footer block comes up as what seems to be 2 point text -- very very small -- and out of alignment. I guess it has something to do with the DPI setting of the printer and an incompatibility between the two calls, perhaps the drawstring uses a different setting? Perhaps there is a better way?

From my very limited experience printing seems to be a tad inconsistent and incomplete. One developer mentioned there is a good online tutorial that covers printing in-depth, but I haven't been able to find this. Anyone know of this?

Many thanks in advance.

M@
Matt
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006





--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to