Hello ppl
I am using "printfrom" to print a small invoice at certain points in an application.
I was suggested to use "printform" becasue I could fill up the data into it and control size and dimensions of the paper print out easier (Is this the best way to print an invoice - 14x3 cm?)
Problem is that everytime I print an invoice a little window pops up showing how many pages are going to printer!
1. How do I get rid of it?
2. Do I have to load an unload the form for invoice everytime?
3. In one or two occasion I got overflow error although there is nothing wrong with the data, is it becasue of print?
Thanks
The code I am using is:
Code:Private Sub cmdPrint_Click() 'LOADING INVOICE FORM Load frmInvoicesPrintout frminvoIcesPrintout.Visible = false 'SENDING DATA INTO THE FORM frminvoIcePrintout.lblTN.Caption = Trim(txtId.Text) frminvoIcePrintout.lblSN.Caption = Trim(txtStyle.Text) frminvoIcePrintout.lblKRN.Caption = Trim(txtKR.Text) frminvoIcePrintout.PrintForm End Sub


Reply With Quote