print plain text from access to user-specified non-default printer

J

JW IT Support

Hi,
In my access project, I'd like to know how to print a string that contains
printer control codes to a user specified networked printer that is using a
generic text driver. More details follow.

Currently, I'm writing to disk a text file that contains printer control
codes and the data to be printed. Then I generate another text file that
contains ftp commands that ftp's the first file to a hardcoded IP. This
works but I don't like the overhead of forking the shell prompt and am
looking for ways to improve the performance of my application and that are
also simple to implement. The printer is a networked Z4M Plus that is set up
with a generic text driver on a TCP/IP port.

I'm curious how I print the text file or a string within access to the user
specified printer. I've already written code that changes the Application
printer to the user-selected printer. All that is left is to send the string
or text file to the selected printer. Is there anyway to do this within
access?

Thanks,
Jonathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top