How to Install a Printer: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== '''Check Configuration Register Settings''' ==
== How to Install a Local Printer ==




Click Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> double click Add Printer to start the Add Printer Wizard.
If the router is stuck in ROMmon mode, the first setting that should be checked is the value of the configuration register.
If your printer is plug and play you don’t need to do this step.  You just need to attach the printer to your computer and turn it on. Windows will automatically detect and install the printer or ask you to locate the driver.
The first four bits of the configuration register comprise the boot field. The value of the boot field defines the source of a default Cisco IOS® software image that will be used to run the router. If the value of the boot field is 0 (configuration register value of XXX0), on startup the system enters and remains in the ROM monitor mode (rommon>), awaiting a user command to boot the system manually.
If your router keeps entering the ROMmon mode each time the system is restarted, it is probably due to the setting of the configuration register. To verify the configured value of the configuration register, use the confreg command as shown below:




rommon 2 > confreg
[[File:Pr2.jpg]]


Configuration Summary
enabled are:


load rom after netboot fails
Click Local Printer and no checkmark on Automatically detect and install.
Click Next.


console baud: 9600


boot: the ROM Monitor
[[File:Pr3.jpg]]
 
   
 
do you wish to change the configuration? y/n  [n]:  
 
As indicated by the output of the confreg command above, the configuration register is set to a value that forces the router to go into the ROMmon mode each time it is reloaded or power-cycled. To make the router boot automatically from a default Cisco IOS software image, change the configuration register value as shown below:
rommon 2 > confreg
 
Configuration Summary
enabled are:
 
load rom after netboot fails
 
console baud: 9600
 
boot: the ROM Monitor
 
do you wish to change the configuration? y/n  [n]:  y
 
enable  "diagnostic mode"? y/n  [n]:
 
enable  "use net in IP bcast address"? y/n  [n]:
 
disable "load rom after netboot fails"? y/n [n]:
 
enable  "use all zero broadcast"? y/n  [n]:


enable  "break/abort has effect"? y/n  [n]:
Select the Port your printer attached to.


enable  "ignore system config info"? y/n  [n]:


change console baud rate? y/n  [n]:
[[File:Pr4.jpg]]


change the boot characteristics? y/n  [n]:  y


enter to boot:
If the printer is in the list select your printer manufacturer and printer model here.
If you have the driver on disk or different location click Have Disk and  browse and locate the driver.


0 = ROM Monitor
[[File:Pr5.jpg]]
1 = the boot helper image
2-15 = boot system
    [0]:  2


Configuration Summary
enabled are:


load rom after netboot fails
Name your Printer- this is a name you will use to select it.


console baud: 9600


boot: image specified by the boot system commands or default to: cisco2-C2600
[[File:Pr7.jpg]]




do you wish to change the configuration? y/n [n]: n
Printer sharing - Click do not share this printer.


You must reset for new config to take effect.
[[File:Pr8.jpg]]


By doing this, you have changed the configuration register to a value that makes it look for a valid Cisco IOS software image on startup and boot from the same. The router must now be reset.


rommon 3 > reset
Completing the Add Print wizard - Review your choices and click back if you need to make some changes. Then Click Finish.




The router should now reload with a valid Cisco IOS software image.
[[File:Pr6.jpg]]




== '''Look for a Valid Image in Flash''' ==


== How to Setup a Printer for Sharing ==
If the configuration register value is set to make the system boot automatically from a default Cisco IOS software image, and if no break signal is sent during start up, the router should boot normally. However, if the router still enters the ROMmon mode, it is probably because the device is unable to locate a valid Cisco IOS software image.
The first thing you need to do then is to look for a valid Cisco IOS software image. To do this, issue the dir <device> command for each available device, and look for a valid Cisco IOS software image. For example, to look for the IOS in the Flash, use the command shown below.


rommon 1 > dir flash:


----
On the computer that is physically connected to the printer to be shared: Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> Right-click the printer icon >> choose Sharing >> Click Share this printer and enter Share name and then OK.


  File size                    Checksum      File name
[[File:Sp1.jpg]]
 
5358032 bytes (0x51c1d0)      0x7b16      c2600-i-mz.122-10b.bin


----


If you are sharing the printer with users running different versions of Windows. Click Additional Drivers and Install additional drivers.


rommon 2 >
[[File:Sp2.jpg]]


Note that if the router returns the "bad device name" message, the device specified probably does not exist. The output above indicates that a valid image is indeed present in the Flash. Try to boot from that image using the boot command.


rommon 2 > boot flash:c2600-i-mz.122-10b.bin


program load complete, entry point: 0x80008000, size: 0x51c0dc
Self decompressing the image : #################################################


== How to use a Shared Network Printer ==


The router should now boot with the Cisco IOS software image specified in the boot command. However, there are times when a valid image does not exist on any of the devices or the image on the Flash might be corrupted. In these cases, a valid image has to be downloaded using Trivial File Transfer Protocol (TFTP) or by using the Xmodem procedure. Both these procedures can be carried out from the ROMmon mode.


On computers not physically attached to shared printer: Click Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> double click Add Printer. Select Network Printer.


[[File:Sp3.jpg]]


== '''Download using TFTP from ROMmon''' ==


You can connect to Network Printer three ways here using Browse for a printer, Name or URL


[[File:Sp5.jpg]]
   
   
 
Double-click the icon for the printer you want to install. Once the printer queue is displayed, the printer has been installed.
Step 1 Specify the required variables, for example:
After you have set up a network printer, you can use it as if it were attached to your computer.
 
rommon 1> IP_ADDRESS=172.15.19.11  -IP address for the router you are using.
 
rommon 2> IP_SUBNET_MASK=255.255.255.0 -Subnet mask for the router you are using.
 
rommon 3> DEFAULT_GATEWAY=172.16.19.1 -Default gateway for the router you are using
                                                (not  required if the TFTP server is in the
                                                  same subnet as the router).  
 
rommon 4> TFTP_SERVER=172.15.20.10 -IP address of the server from which you want to
                                                  download the image file.
 
 
rommon 5> TFTP_FILE=/tftpboot/c2600-i-mz -Name of the file that you want to download.
 
rommon 6>tftpdnld                              -Starts the process.
 
    IP_ADDRESS=172.15.19.11
    IP_SUBNET_MASK=255.255.255.0
    DEFAULT_GATEWAY=172.16.19.1
    TFTP_SERVER=172.15.20.10
    TFTP_FILE=/tftpboot/2600-i-mz
Invoke this command for disaster recovery only.
 
WARNING: all existing data in all partitions on flash will be lost!
 
Do you wish to continue? y/n: [n]:
 
Enter y to download the Cisco IOS software image.
 
When the process is complete, the ROM monitor mode prompt appears on your screen.
 
rommon 7>
 
The router is now ready to boot from the Cisco IOS image. Enter the boot ROM monitor command to reboot the router.  




== How to Install a Network Printer ==


== '''Download using Xmodem from ROMmon''' ==
Click Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> double click Add Printer to start the Add Printer Wizard.


Click Local Printer and no checkmark on Automatically detect and install.
Click Next.


The xmodem command establishes a connection between a console and the router console port for disaster recovery, if both the boot and system images are erased from flash memory.  
[[File:Pr3.jpg]]




'''''Step 1''''' Connect a console to the router's console port.
Click Create a new port and choose Standard TCP/IP Port.


'''''Step 2''''' Power up the router. The power-on self-test diagnostics run and the boot ROM searches for a valid boot image and Cisco IOS image in flash memory. If the boot image and Cisco IOS image are not found, the ROM monitor prompt is displayed:
[[File:Np1.jpg]]


rommon 1>


'''''Step 3''''' Enter the xmodem command and the name of the source file containing the Cisco IOS image:
Click Next on Welcome to the Add Standard TCP/IP Printer Port Wizard.


rommon 1> xmodem filename


[[File:Np2.jpg]]


When the source file is found, messages similar to the following appear:


----
Enter IP address assigned to the Printer.


Do not start upload program yet...
[[File:Np3.jpg]]


File size            Checksum      File name


2537948 bytes        (0x26b9dc)    c2600-i-mz.122-10.bin
Revise your selection and Click Finish.  


[[File:Np4.jpg]]


WARN: This operation will ERASE bootflash. If the xmodem


download to bootflash fails, you will lose any good image
Click Have Disk to locate the printer driver.


you may already have in bootflash.


Invoke this application only for disaster recovery.
[[File:Np5.jpg]]




Do you wish to continue? [yes/no]:
Once you Browse and select the correct drive. Click OK.


----
[[File:Np6.jpg]]




Click Next at Install Printer Software.


'''''Step 4''''' Enter yes to copy the Cisco IOS image into flash memory. Messages similar to the following appear:
[[File:Np7.jpg]]




----
Name your printer and Click Next.


Ready to receive file prog ...
[[File:Np8.jpg]]


Erasing flash at 0x3000000


program flash location 0x3000000
You have successfully completed adding a Network Printer.  Click next to Finish and Print test page.


Transfer complete!


----
[[File:Np9.jpg]]


The router is now ready to boot from the Cisco IOS image and need to be reset.
[[File:Np10.jpg]]

Latest revision as of 17:28, 4 August 2010

How to Install a Local Printer

Click Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> double click Add Printer to start the Add Printer Wizard. If your printer is plug and play you don’t need to do this step. You just need to attach the printer to your computer and turn it on. Windows will automatically detect and install the printer or ask you to locate the driver.


Pr2.jpg


Click Local Printer and no checkmark on Automatically detect and install. Click Next.


Pr3.jpg


Select the Port your printer attached to.


Pr4.jpg


If the printer is in the list select your printer manufacturer and printer model here. If you have the driver on disk or different location click Have Disk and browse and locate the driver.

Pr5.jpg


Name your Printer- this is a name you will use to select it.


Pr7.jpg


Printer sharing - Click do not share this printer.

Pr8.jpg


Completing the Add Print wizard - Review your choices and click back if you need to make some changes. Then Click Finish.


Pr6.jpg


How to Setup a Printer for Sharing

On the computer that is physically connected to the printer to be shared: Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> Right-click the printer icon >> choose Sharing >> Click Share this printer and enter Share name and then OK.

Sp1.jpg


If you are sharing the printer with users running different versions of Windows. Click Additional Drivers and Install additional drivers.

Sp2.jpg



How to use a Shared Network Printer

On computers not physically attached to shared printer: Click Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> double click Add Printer. Select Network Printer.

Sp3.jpg


You can connect to Network Printer three ways here using Browse for a printer, Name or URL

Sp5.jpg

Double-click the icon for the printer you want to install. Once the printer queue is displayed, the printer has been installed. After you have set up a network printer, you can use it as if it were attached to your computer.


How to Install a Network Printer

Click Start >> Control Panel >> Printers and other Hardware >> Printers & Faxes >> double click Add Printer to start the Add Printer Wizard.

Click Local Printer and no checkmark on Automatically detect and install. Click Next.

Pr3.jpg


Click Create a new port and choose Standard TCP/IP Port.

Np1.jpg


Click Next on Welcome to the Add Standard TCP/IP Printer Port Wizard.


Np2.jpg


Enter IP address assigned to the Printer.

Np3.jpg


Revise your selection and Click Finish.

Np4.jpg


Click Have Disk to locate the printer driver.


Np5.jpg


Once you Browse and select the correct drive. Click OK.

Np6.jpg


Click Next at Install Printer Software.

Np7.jpg


Name your printer and Click Next.

Np8.jpg


You have successfully completed adding a Network Printer. Click next to Finish and Print test page.


Np9.jpg

Np10.jpg