IF NOT ooo.AddForm("DBMEMO", 8.5,5.5, lcPrinter)>I want to create a custom paper size called DBMEMO using the code below. The form should be 8.5 x 5.5 (an exact half-sheet). What I do not know is, in the example below, what would the values be in place of 5 and 7? And, how do I figure out what they should be? (I'm sure it's easy to figure out and I am just brain-dead once again today) Oh yeah, update, I am actually using WinXP SP1 but this should work in both Win2K and WinXp. :0)
>ooo = NEWOBJECT("AddPrinterForm") >IF NOT ooo.AddForm("DBMEMO", 5,7, lcPrinter) >>
...
> PROCEDURE AddForm(tcFormName, tnWidth, tnHeight, tcPrinterName)
...