Solved

Escape sequence an access

Posted on 1998-04-22
1
347 Views
Last Modified: 2010-05-18
How can I send an escape sequence to printer with access applications
0
Comment
Question by:EnnioCerioni
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

710 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