mIRC Home    About    Download    Register    News    Help

Print Thread
#4631 03/01/03 02:19 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
is there a way to have mirc print a page out of the printer when some thing is typed??????????
like on my bot if i said !print this is a test!
it would print the page and say this is a test!
is this possible in mirc?????????????
confused confused confused confused confused

#4632 03/01/03 03:22 AM
Joined: Dec 2002
Posts: 1,253
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,253
mIRC has no native print control. You would have to farm that job out to another program somehow, like by copy/paste into MS Word or even notepad.

#4633 03/01/03 03:27 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
how would i be able to do this???
:tongue: :tongue:

#4634 03/01/03 03:38 AM
Joined: Dec 2002
Posts: 1,253
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,253
For your bot to be able to do it? I have no clue, nor am I interested in researching it. I would imagine it would be possible with COM or maybe DDE (to MS Word or Excel or something). I don't know exactly how, though.

#4635 03/01/03 07:32 AM
L
laz
laz
L
/run notepad.exe /p C:\test.txt

Of course change C:\test.txt to whatever you need to print.

Also, you may want to use the -n parameter to minimize the program.

#4636 03/01/03 09:51 AM
Joined: Dec 2002
Posts: 698
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 698
Code:
on *:text:!print *:*:{
  var %a = $+(temp.,$ticks,.txt)
  write %a $$2-
  run -n notepad /p %a
 .timer 1 20 .remove %a
}


Link Copied to Clipboard