Pause during printing a report

  • Thread starter Thread starter TNL
  • Start date Start date
T

TNL

Hi,
I have following problem:
I want to print receipt with a pin printer and paperroll.
Access 2000 (or the printer) can not format the paper small as I want. At
the end of a receipt the printer push the paper (as A4 paper).

- How can I tell the printer, that I want to feed the paper manual.y?
- Can I sent output to printer without a report? When a line is printed, the
paper stay there. That means I want to control the printer manually?

Thanks
TNL
 
TNL:

Yes, you can output data to a printer port say lpt 1, without using a
report. You use the Open Statement and Print Statements to send output.
You can do it something like this (This is air code, not tested)

Dim PrintPort&

Open "LPT1" for Output as #PrintPort
Print #PrintPort, "This is a receipt" & Chr(10) & Chr(13)
Print #PrintPort, "End of Receipt"
Print #PrintPort, Chr(27) 'Most of the time this is an eject statement
Close #PrintPort

HTH
 
Back
Top