Possible to print a string?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to send a string directly to a printer?

Or would I need to dump it into a temp sheet and print from there instead?

Thanks in advance for your thoughts and example function(s).
 
Option Explicit
Sub testme01()
Open "LPT1:" For Output As #1
Print #1, "An error occurred!"
Close #1
End Sub
 

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

Back
Top