I've looked at the setform api which has a pform as byte.

This pform (according to the sdk) is a pointer to the form_info_1 structure
(i.e. type) within this type is sizeL type which has cx as long, cy as long.

I understand it basically the width and length being in thousandths of millimeters.

Does anyone have a working example of how to use this and how to convert
to standard 8.5 x 11 and 8.5 x 14 page sizes

and will it work with xprint. That is, will using this make any difference ?

I ask because some people would like to print some reports on 8.5 x 14 rather
than the standard 8.5 x 11 in my case. With PCL, it's just a matter of selecting
the form size and the printer will automatically select the correct tray if that
size is loaded in one of the trays.

Thanks in advance.