NEED SOME BODY TO TEST THIS CODE
Posted on 2001-06-06
Need somebody to cut and paste the code below and try it on a dot matrix printer.
it must be a dot matrix.
I dont have one and I need to start writing this printer module for a client.
CREATE A COMMAND BUTTON & paste the code
Private Sub Command1_Click()
Open "c:\database\paidbase.dat" For Input As 1
Printer.Print "Complete paid report"
While Not EOF(1)
Input #1, NOTENUMBER, DELIVERY, SERVICE, ITEMS, COMPANY, ADD1, ADD2, ADD3, LOCATION, POSTTOWN, postcode, NOTES1, despatchref, WEIGHT, CODATE, PAIDDATE, paidby
Printer.Print Tab(1); despatchref; Tab(25); COMPANY
YOU WILL ALSO need to change the path and the variables.
i just need to know that the printer.print method ive used will work. so please dont change this to much.
if anybody can show a 100% way of printing to the dot matrix without any errors then that wouls be appricated.
right im off to work.
ill read the comments at work when my boss has vanished.