Step to generate :-
1) go to https://localhost:8443/accounting/control/NewDepositSlip
2) select/check any one payment Id (demo1001 or 8004)
3) Select action Create Batch from drop down and click run.
4) You will be redirected to createPaymentBatch screen.
5) Now click the button "Print Deposit Slip"
the screen was broken due to null assignment and improper tag closing in DepositSlip.fo.ftl.