I am trying to print some W2 forms. The form in the printer is for 2 W2s per page. The first one prints properly. The second is always off despite all the manipulations to the datawindow. So I want to set the paper page size to 8 1/2 by 5 1/2. Is it possible to change the paper size? I tried this but I was getting an error:
dw_1.Object.DataWindow.Print.Size = 256
dw_1.Object.DataWindow.Print.CustomPage.Length = 139.7
dw_1.Object.DataWindow.Print.CustomePage.Width = 215.9
I got an error on the second line: incompatible data type.