|
-
Jun 20th, 2002, 12:51 PM
#1
Thread Starter
Fanatic Member
Printing A file(*.txt)
Thers some guy in electrical dept. (doesn speak english well)
he swears (or it sounds like it) that from VB you can
print an external text file.. to a port. i think he means the port
which the printer is attached to. lpt1 or something.
He says hes having problems, because the customers printer will
be a usb printer. ???
Is this possible ... And if it is HOW?
Thnks in advance
Seahag
-
Jun 20th, 2002, 02:01 PM
#2
PowerPoster
I'm not really sure what you're getting at here. VB will use the default system printer unless you use something like the common dialog control to change the printer or use API's or something.
I'm assuming you're opening the text file somehow. If not, then that's probably the easiest way to go even if you don't display it. You can just read and print.
-
Jun 20th, 2002, 02:25 PM
#3
Thread Starter
Fanatic Member
Ya.. thats what i thougt.. i was just wondering if there
is a way to print actual files... without opening
them..
Thought**
if you right click on a textfile. you have the option to print it.
If windows has that functionality, y cant I do it through VB?
Seahag
-
Jun 20th, 2002, 02:27 PM
#4
PowerPoster
You probably can do it, but it would have to be through API's I think. I'm not sure. I've never needed to do it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|