Pause during printing a report

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
 
S

SA

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top