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


Need amazing web design for low price: http://www.matrixn3t.net
#4632 03/01/03 03:22 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#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:


Need amazing web design for low price: http://www.matrixn3t.net
#4634 03/01/03 03:38 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#4635 03/01/03 07:32 AM
Joined: Dec 2002
Posts: 54
L
laz Offline
Babel fish
Offline
Babel fish
L
Joined: Dec 2002
Posts: 54
/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: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
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