i am using the following code
Private Sub cmdmds_Click()
Dim i As Integer
Dim bcancel As Boolean
Dim ncopy As Integer
On Error GoTo error1
bcancel = False
CommonDialog1.Flags = cdlPDHidePrintToFile Or _
cdlPDNoSelection Or _
cdlPDNoPageNums Or _
cdlPDCollate
CommonDialog1.CancelError = True
CommonDialog1.PrinterDefault = True
CommonDialog1.Copies = 1
CommonDialog1.ShowPrinter
If bcancel = False Then
Printer.Print ;
With Printer
.FontName = "Roman"
.FontSize = 14
.FontBold = False
.FontItalic = False
.FontUnderline = False
End With
Dim i1, j, n, k As Integer
rs1.MoveFirst
For n = 1 To rs1.RecordCount
'For n = 1 To 1
Printer.FontSize = 14
For i = 1 To 43
Printer.Print " "
Printer.FontSize = 2
Printer.Print " "
Printer.Print " "
Next i
Printer.FontSize = 88
Printer.Print " "
Printer.FontSize = 12
k = Len(RTrim(LTrim(rs1("Name"

)))
k = Int(44 - k / 2)
Printer.Print ; Tab(k); rs1("name"

Printer.FontSize = 18
Printer.Print " "
Printer.FontSize = 12
Printer.Print " "
Printer.Print " "
Printer.Print ; Tab(45); rs1("branch"

Printer.Print " "
'Printer.Print " "
Printer.FontSize = 10
Printer.Print " "
Printer.FontSize = 12
If rs1("sex"

= "M" Then
Printer.Print ; Tab(9); "XXX"
Else
Printer.Print ; Tab(4); "XX"
End If
Printer.FontSize = 7
Printer.Print " "
Printer.FontSize = 18
Printer.Print " "
Printer.Print " "
'Printer.Print " "
Printer.FontSize = 12
Printer.Print ; Tab(20); rs1("mmyystr"

rs1.MoveNext
Dim mvar
mvar = MsgBox("One Record Printed, Continue", vbYesNoCancel, vbExclamation)
If mvar = vbCancel Or mvar = vbNo Then
Exit For
End If
Printer.NewPage
Next n
End If
Exit Sub
error1:
If Err.Number = cdlCancel Then
bcancel = True
Resume Next
End If
End Sub
pl give me the page length increase
thanks in advance
shan