This document gives a brief overview of the printer devices configured in the device tree of the Network Designer. The devices support SNMP, TFTP and FTP protocols.
The following printer devices are supported.
Printer
HP4050Series
HP4500Series
Lexmark
The following MIBs are supported in the printer devices.
RFC-1213 MIB
SNMPv2-MIB
Printer-MIB
IF-MIB
HOST-RESOURCES.MIB
LEXKMARK-PVT-MIB (only for Lexmark device)
To view the MIB values configured, select SNMP Agent Values option from the right-click menu of the device in the device tree.
The following scripts are configured in the Behaviour Configuration wizard.
ifAdminStatus.py: This script is configured to be executed after processing a SET request. If ifAdminStatus of an interface is set to up(1)/down(2), ifOperStatus of the corresponding interface is updated, Linkup/Link down Trap is sent with ifOperStatus as varbinds
ipForwarding.py: This script is configured to be executed before processing a set request. For a printer device whose ipForwarding is set to not-forwarding (2), returns 'bad value' response if the manager attempts to change its value to forwarding(1)
prtInputCurrentLevel.py : This script is configured as a timer script to be periodically executed once in every two hours. If the current value of prtInputCurrentLevel (no. of papers) in the prtInputTable of Printer MIB is less than or equal to 0 and not equal to -3, an entry is added to the prtAlertTable and a trap is sent with varbind value "inputMediaSupplyEmpty".
prtOutputRemainingCap.py: This script is configured as a timer script to be periodically executed once in every two hours. If the current value of prtOutputRemainingCapacity (no. of papers) in the prtOutputTable of Printer MIB is less than or equal to 0 and not equal to -3, an entry is added to the prtAlertTable and a trap is sent with varbind value "inputMediaTrayFull".
prtMarkerSuppliesLevel.py: This script is configured as a timer script to be periodically executed once in every two hours. If the current value of prtMarkersuppliesLevel in the prtMarkerSuppliesTable of Printer MIB is less than or equal to 0 and not equal to -3, an entry is added to the prtAlertTable and a trap is sent with varbind value "markerTonerEmpty".
prtInputTable.py: This script is configured as a timer script to be periodically executed once in every two hours. If the prtInputTable is empty, an entry is added to the prtAlertTable and a trap is sent with varbind value "inputMediaTrayMissing".
prtOutputTray.py : This script is configured as a timer script to be periodically executed once in every two hours. If the prtOutputTable is empty, an entry is added to the prtAlertTable and a trap is sent with varbind value "outputMediaTrayMissing".
prtCoverStatus.py: This script is configured as a timer script to be periodically executed once in every two hours. If the value of prtCoverStatus in the prtCoverTable of Printer MIB is CoverOpen(3), a trap is sent with varbind value "coverOpen", if the value of prtCoverStatus in the prtCoverTable of Printer MIB is interlockOpen(5), a trap is sent with varbind value "interlockOpen
prtPaperJam.py : This script is supported only for Lexmark Printer. If the value of prtgenStatusPaperJam in the prtgenInfoTable of Lexmark Pvt MIB is jamed(2), a trap is sent.
prtDiskError: This script is supported only for Lexmark Printer. If the value of prtgenStatusDiskError in the prtgenInfoTable of Lexmark Pvt MIB, is diskerror(2), a trap is sent.
Start the Network Designer from <SimulatorHome>/bin directory.
You will find the printer devices added in the device tree. This device supports SNMP, TFTP and FTP
Create a network using the printer device. Refer to Creating and Configuring a Network.
Start the device by selecting the right-click option "Start Device". The device will be started at default SNMP port 8001 and TFTP port 69.