I am having a problem setting the paper size for a 12" document for a dot matrix printer using the following code. The first page prints fine but it does not feed properly to the next form. I have tried PrnSetSize(nWid, nLen ) as well with no luck.
nWid := ROUND( 8.5 * 254, 0)
nLen := ROUND( 12 * 254, 0)
PRINT oPrinter FROM USER NAME "Air WayBill: "
if empty( oPrinter:hDC )
return nil
endif
oPrinter:SetSize( nWid, nLen )
.
.
.
// Done...
nWid := ROUND( 8.5 * 254, 0)
nLen := ROUND( 11 * 254, 0)
oPrinter:SetSize( nWid, nLen )
ENDPRINT