Solved

Escape sequence an access

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
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.

623 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