Solved

Escape sequence an access

Posted on 1998-04-22
1
329 Views
Last Modified: 2010-05-18
How can I send an escape sequence to printer with access applications
0
Comment
Question by:EnnioCerioni
1 Comment
 
LVL 1

Accepted Solution

by:
rknapp earned 50 total points
Comment Utility
There are several ways to do this.

This easiest (that I've found) goes like this (of the top of
my head so if there are syntax errors, please excuse)

F = freefile()
Open "lpt1" for write as #F
Print #F, CHR(--);CHR(--);CHR(--)
close #F

I used this in a barcoding procedure and it's been working wonderfully for
almost a year (in ver 2.0 and ver 97)

Hope this helps,
RobK

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now