hi to all,
I have the printing problem in
VB.
this is the code I've used
Public Sub test()
Printer.ScaleMode = vbtwips
Printer.PaperSize = vbPRPSUser
Printer.Height = 4*1440
Printer.Width = 6*1440
printer.print "Hi"
.
.
.
.
Printer.NewPage
Printer.EndDoc
End Sub
my paper size is 4'' and I need to stop formfeed of the
printer after printing is over i.e., afte 4'' height
but
It get stuck in the line Printer.PaperSize=vbPRPSUser
the error says that Run-Time Error: '380' Invalid Property Value