Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Escape sequence an access

Posted on 1998-04-22
1
Medium Priority
?
358 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 150 total points
ID: 1955827
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

783 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