Solved

send data to printer

Posted on 2002-07-11
1
206 Views
Last Modified: 2010-05-02
Is there a way to send a data stream to a printer via lpt1 without using the printer.print method?

Thanks
jw
0
Comment
Question by:wilch101
1 Comment
 
LVL 22

Accepted Solution

by:
rspahitz earned 50 total points
ID: 7147577
I don't think that printer.print guarantees LPT1.

Instead you can do this:

open "LPT1:" for output as #1
print #1, "Text to output"
print #1, "This on the second line";
print #1, " still on second line";
print #1, chr$(12); ' form-feed
close #1
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

856 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