Possibility for printing on register paper

  • Thread starter Thread starter Jack
  • Start date Start date
J

Jack

Hi, does anybody can help if there is a possibility for
access to print on register paper? By commanding to print
a certain selected record and stop the printer (BJC2100)
from continously retrieve the long cash register paper?
Just like the supermarket cash register. Thxs.
 
Jack:

Yes, you can do this. Normally the easiest way to do this is to use Access'
built in functions "Open" and either "Print" or "Put" to open the LPT port
for output and send characters to the printer using the printer's escape
sequences. When you use the Open statement, specify the lpt port with out
the standard colon as in "LPT1". It then treats the port like a file
resource that you can write to. Consult the printer's manual regarding the
escape sequences to use. Most printers will use Chr(13) & Chr(10) for a
line fee. You normally preceed an escape sequence by using Chr(27). Do a
google search on printing to LPT ports and you should find example code.
 

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

Back
Top