Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending a File to LPT Printer

Status
Not open for further replies.

hankm3

Programmer
Jan 27, 2002
284
US
Hello,

Does anyone have a Script that shows how to send a Text File to a Local (LPT1) Printer ??

Thanks

Hank
 
I don't, but have you taken a look at the various print* commands and associated set print commands? It looks to me like you'll have to read a file line-by-line from disk, then print each line using the printstr command. aspect@aspectscripting.com
 
Thanks Knob,

Must have overlooked the Printstr Command. I checked all the Set Printer options so that should do the trick.

Hank
 
Knob,

Sent you a Copy of Solution for your Web site.

Hank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top