Community discussions

MikroTik App
 
tonmaipom
just joined
Topic Author
Posts: 3
Joined: Tue Sep 15, 2009 7:16 am

How can I setup automatic notification printing?

Tue Sep 15, 2009 7:31 am

I have already setup dude network map for monitoring my routers and switches.
And I could setup notification about equipment via pop-up and sound message.
Anyway I would like to setup automatic notification printing but I don't know what should I do.
Anyone who can do?.....Could you please advise me as soon as possible..

I look forward to hearing form you .....
thank you very big.....
 
keith
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Thu May 24, 2007 12:30 am

Re: How can I setup automatic notification printing?

Wed Sep 16, 2009 2:39 am

I would have to play with it to figure out the specifics but could you create a notification that creates a text file then send the text file to the printer from a batch file using "type notification.txt > lpt1"
 
tonmaipom
just joined
Topic Author
Posts: 3
Joined: Tue Sep 15, 2009 7:16 am

Re: How can I setup automatic notification printing?

Wed Sep 16, 2009 9:26 am

OK I've already configured automatic notification printing completed....
Instruction

1 create file "logstatus.cmd " to dude folder c:\dude\logstatus.cmd

content of file below........

set dir=c:\dude

del c:\dude\status.txt

echo THAI Domestic Network Report >> c:\dude\status.txt
echo Date : %1 >> c:\dude\status.txt
echo Status : %2 >> c:\dude\status.txt
echo Please take action and resolve problem urgently. >> c:\dude\status.txt
echo Maintenace by BKKVN-N >> c:\dude\status.txt

print /d:\\ws300300\HP c:\dude\status.txt

rem pause
rem %1 is ....date time event
rem %2 is ....service status
rem \\ws300300\hp is .....Printer device ; share or local device


2 setup sharing printer or local printer depend on "print command"


3.setup print status notification type execute locally detail as picture below....

have a good job....
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 3 guests