Solved

Escape sequence an access

Posted on 1998-04-22
1
330 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
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

930 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

16 Experts available now in Live!

Get 1:1 Help Now