I am trying to print through java on dot matrix printer with custom page size height 10 inches by 6 inches width. It is working fine on laser printer, but on dot matrix printer after printing 10 inches next page gets skipped around 3 inches more.
Check out the command setVisible(boolean visible)
!