WRT54G Reset Help Needed

I tried to reload my config and it said completed but now the green power light blinks and I cannot get into the config page...does not see the router. I tried pushing reset button on back with no luck. I have firmware saved and config file. How do I do a HARD reset to have it clear and come back to factory defaults ?

From the link in the above post and the arp -a DOS command I thought this would provide the most promise.
However, call me an idiot but how do I in my notebook (which is not connected wirelessly to other router so no DHCP IP address given) create this....2) Your computer has an address on the IP segment 1, ie 192.168.1.xxx.
Windows: Microsoft Windows contains a TFTP client. Windows Vista will require that you enable it in Programs and Features. With TFTP, all of the information about the transfer is specified during the initial setup; there is little client/server interaction as compared with standard FTP.
If the router does not respond at a ping, or if the power light is blinking, use first the arp -s command.
This command allows to attach an IP address to the unique MAC (or physical address) of the device. The MAC address appears on the label sticked on the bottom of the device, and is a twelwe hexadecimal digits long number, looking like aabbccddeeff. This number has to be entered as follows: aa-bb-cc-dd-ee-ff, with dashes separating the pairs of digits.
Note that the size of the firmware to be installed first must be less than 3 MB. Afterwards, it is possible to install a bigger firmware, using the WEB interface of the router.
In the following example, we assume that your router IP address is 192.168.1.1.
Before begining, do verify that:
1) There is no computer (or device) on your LAN having the IP address 192.168.1.1.
2) Your computer has an address on the IP segment 1, ie 192.168.1.xxx.
3) A network cable is correctly connected to your router.
To flash the router using Microsoft Windows:
1) Open a command prompt.
2) Change to the directory containing the original Linksys firmware to use for this boot, or the DD-WRT firmware you want to install, whose size must be less than 3 MB (this example assumes that the firmware file name is code.bin).
3) Then enter the following commands:
arp -s 192.168.1.1 aa-bb-cc-dd-ee-ff
ping 192.168.1.1
tftp -i 192.168.1.1 PUT code.bin code.bin
A correct response from the ping means that the router is still alive, though the power light blinks.
After the firmware has been uploaded, wait approximatively three minutes, until the power light stops blinking. At this time, the router should be operational.

Similar Messages

  • Password reset help needed

    How can you reset password on a NEW iPad that has not been connected to a PC?  The one I used during setup is not working and I cannot get back into the iPad.

    Once you reset the router, all of the customized settings of the router (network name, wireless security, etc.) will be erased and the router’s IP address will be reverted to 192.168.1.1, with a default password of “admin” and no username.  If you want to restore the router’s original settings without reconfiguring, you have to save a backup file.
    There are two methods that can be used in resetting the router:
    1] Resetting the Router Using the Reset Button.
    2] Resetting the Router Using the Web-Based Setup Page.
    Here is the link for resetting the Linksys router - http://homecommunity.cisco.com/t5/Wireless-Routers/Help-needed-unable-to-reset-my-router-password/td...

  • WRT54G v6 Help needed!

    Okay, I have a wrt54g v6 router that I use for 2 computers and an xbox (xbox live). Im getting an intermittent signal on all my devices and I have no clue as to why. All of my devices are connected via ethernet cable so I know its not wireless interference and i've changed everything I can think of that would cause this problem, firmware, MTU size, etc. I even created a static ip for my xbox. But the router is still getting degraded signals, the only thing I havent really done is uncheck all the boxes on my router firewall but to me that wouldn't do anything but allow more access to my already crappy network. If anyone has a solution or knows whats going on that would be so so helpful, thank you very much.

    You might need to upgrade the firmware of the router as is normal for most WRT54G v6 routers.
    Verify the router firmware version
    1) click on start ---> run (type in cmd)
    2) on the DOS Prompt (type in ipconfig)
    ► take note of the default gateway value
    3) open up Internet Explorer and type in the default gateway value
    4) username: leave it blank password: admin
    5) go to the status tab: verify the firmware version
    ► if it's below 1.00.9 (i.e 1.00.0, 1.00.1, 1.00.4, 1.00.6, 1.00.7) then the router definitely needs an upgrade.
    To upgrade the firmware:
    1) download the firmware from www.linksys.com/downloads Look for your product model number from the list (i.e WRT54G v5)
    2) save the file on your desktop
    3) access the 192.168.1.1 page again
    4) go to Administration - firmware upgrade
    5) browse for the downloaded file and upgrade.
    ► Press the reset button of the router for 30 seconds and powercycle (i.e turn on and turn off the router).
    ► Reconfigure the router as per ISP settings.

  • WRT54G install HELP needed

    I bought the WRT54G so I could go wireless in the house. I run the CD and it goes "do you want to replace your existing router or keep it?" Near as I know I DON'T HAVE ONE but that isn't an option, so which do I pick? There should be a "do you simply have a modem plugged into your PC and bought this go to wireless?" type option (something I'm betting is extremely common). Also, once you select one, you cannot go back and change your mind...you have to exit the program and start over. Which of these cryptic options do I choose??  
    (Mod note: Edited post for guideline compliance. Thanks!)
    Message Edited by JOHNDOE_06 on 06-15-2009 07:12 AM

    Disregard - got help from an online tech spt.
    FWIW that install CD needs work, as it was detecting a router that doesn't exist and the tech spt explained that sometimes it is known not to work properly.
    PS:  in the interests of hopefully saving someone else the time and hassle I went thru, here are the steps I was given which worked fine:
    1. Connect the PC to the port one of the router then restart it. (This PC should be the one that can get online if directly connected to the modem).
    2. Go to your desktop and double click on Internet Explorer or any browser(Located on the Start Menu in Windows XP).
    3. When the browser opens, type http://192.168.1.1 on the Address bar and click on Go or press the Enter key. The log-in window will appear.
    4. Skip User Name and type admin on the Password field, and click OK.
    5. Configure the wireless settings. Click on the Wireless tab and have these:
    Wireless Configuration: Manual
    Wireless Network Mode: Mixed
    Wireless Network Name (SSID): Bill/Anything that you would want to name your network.
    Wireless Channel: 1
    Wireless SSID Broadcast: Enable
    Save the settings.
    6. To secure your wireless network, Please click on the Wireless security sub-tab that is still under the Wireless tab and change the Security mode to WEP and have these:
    Default Transmit Key: 1
    WEP Encryption: 64 bits 10 hex digits
    Skip the Passphrase field. Do not click on the "Generate" button.
    Enter any 10-digit value in the Key 1 box. (You may use all numbers but you can only use letters A to F. No dashes or slashes and special characters). This will be your WEP key (MINE: ssn123123)
    Leave Key boxes 2-4 blank or empty.
    Save the settings.
    7. Click on the Setup tab, then click on the MAC Address Clone sub tab, enable it and click on "Clone your PC's MAC" then save the settings.
    8. On the Setup Tab --> Basic Setup sub-tab, look for the LAN IP which is 192.168.1.1.
    9. Change the IP address to 10.10.10.1 then save the settings.
    10. Connect the modem to the router's Internet port and wired PCs to the router's numbered ports.
    11. Power cycle. To do a power cycle, please power off the computer, the router and then the modem. After 2 minutes, power on the modem, the router and then, lastly, the computers. Wait for the lights to stabilize before plugging the next device.
    Message Edited by Bill12344 on 06-16-2009 08:34 AM

  • Resetting help needed.

    When I try to upload songs on my ipod,it says"ITUNES CANNOT READ THE CONTENTS OF YOU IPOD.PLEASE RESTORE TO FACTORY SETTINGS." So when I try to restor it, it says"THE IPOD CANNOT BE RESTORED.AN UNKNOWN ERROR OCCURRED.(1418)"
    someone help.
    Windows   Windows XP  

    Hi,
    The Running Sum can be resetted by using "Reset Dimension" option of the function.
    The syntax like this:
    : =RunningSum([Revenue];([Product Group]))
    Refer the below link for more information:
    http://www.infosol.com/buildpage.aspx?k=bo_tt87
    Thanks,
    Sridevi

  • HT201363 security question reset help needed

    how can i reset my security questions if i can't remember the answers to the original ones?  i am trying to purchase a song, have money in my account, but can't answer the security questions.  help

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • Hard Reset Help Needed

    I have a Tungsten E that the power button does not work on. I want to remove all data. I can't do a hard reset w/just the reset button since it has to be used in conjunction w/power button. Any solutions?
    Thanks,
    Roger
    Post relates to: Tungsten E
    This question was solved.
    View Solution.

    Download a free program and install it called "Hard Reset".  When you run it, it will perform a Hard Reset for you.
    It's toward the bottom of this page:
    http://www.palmpowerups.com/downloads.php?cat_id=2
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • WRT54G.connection help needed

    so here is the problem,do not have great computer knowledge so i will try to explain in my terms. im presently online using my router although it does not connect automaticaly when turn my computer on.well it says that the internet is now connected although it does not work , so i have to do my usual dial-up connection and it works fine. so how can i get the connection to work straight away without ressourcing to my dial-up connection?
    thank you

    You would need a broadband connection such as a Cable or DSL from your ISP. Then you would need a router either wired or wireless if you plan on using a wireless laptop or other device.  With the router configured for what ever type of internet connection you would be able to turn you PC on and already be on-line.  The router will control your internet connection and allow you to network multiple computers to share one internet connection, printers and other files on the other PC's.
    Richard Aichner (Ikester)

  • WRT54G Wireless Router Setup Help Needed

    Hi,
    I have a WRT 54G router I want to set up on my network.
    What I want to be able to do is have the router allow wireless laptops to connect via wireless, but I want the router to assign the IP automatically through DHCP. Is this possible?
    My Network information is as follows:
    Router would be assigned IP 192.168.72.10
    Network information for Office where this is going:
    Subnet: 255.255.255.0
    Default Gateway: 192.168.72.1
    Primary DNS: 192.168.1.59
    Secondary DNS: 192.168.1.52
    any help would be appreciated...

    First of all, let me say that, assuming you have a Linksys router in the main office, that there is no reason why that router could not use both fixed LAN IP addresses, and have its DHCP server turned on and give out DHCP addresses also.  So, it seems like you could setup the system in the manner I mentioned in my previous post.   Unless, for some reason, you prefer not to do it this way.
    If you really want to set it up with the WRT54G giving out DHCP addresses, then read on:
    If you want to use the DHCP server in the WRT54G, you will need to place it on a separate subnet.
    I'm still a bit confused by what you have written.  You said that the WRT54G router "would be assigned IP 192.168.72.10".  And later you said that my assumption was correct that you set the "Local IP Address" to this value.   However, if you want to use the DHCP server in the WRT54G, this will not work, because to use the DHCP server, the WRT54G needs to be on a separate subnet.
    Instead, in the WRT54G, you would need to set the "Internet Connection Type" to "Static", then give the WRT54G the WAN address (not local IP address) of 192.168.72.10.   (You will also need to specify the subnet mask 255.255.255.0 , default gateway 192.168.72.1 , and DNS (proxy) server 192.168.72.1 )  You would need to reset the WRT54G's  "Local IP address" to a subnet that is not used elsewhere in your network.  Since you apparently already use 192.168.1.x  and  192.168.72.x  subnets, you will need to pick something else, perhaps 192.168.54.1 for the "local IP address" of the WRT54G.
    In this type of setup, you would leave the DHCP server of the WRT54G enabled, and wire a LAN port from the office router to the Internet port of the WRT54G.
    In this case, the WRT54G is in control of all your router settings, including port forwarding, DHCP server, and wireless settings.  Also note that if you need to forward a port, you will need to forward the port through your entire network, not just the WRT54G.
    One additional warning.  I have not personally used a "3 subnet" system with Linksys routers.  So I am not certain that all your DNS addresses will flow through the system properly.  If it doesn't work, you may need to enter some of you actual Internet based DNS addresses (or perhaps your Primary and Secondary 192.168.1.59 and .52 DNS servers) into the WRT54G router by hand, rather than using the built in Linksys DNS proxy at 192.168.72.1 
    Hope this helps.
    Message Edited by toomanydonuts on 12-04-2007 04:34 PM

  • IPhone 4 reset itself, photos lost -URGENT HELP NEEDED

    Hi there,
    Urgent help needed!!
    Tonight I was taking extremely important photos throughout an event on my iPhone 4, however, my iPhone 4 ran out of battery once I was near a charger I plugged it in and for some reason my iPhone had reset itself. Back up icloud options were from yesterday, but the photos that I was taking at the event are needed urgently. Is there any way possible I can recover the photos that were taken?
    Thanks in advance!!!!

    Slymm71 wrote:
    just had similar problem got email from find my phone saying initiating full phone wipe this cannot be stopped ***? i own the phone from new and registerred in m name but wiped whilst i was using it !!!
    See your other post... 
    https://discussions.apple.com/message/18876037#18876037

  • Help needed I updated my ipad2 with iOS5 but few of my dashbaords are not working now can any one let me know how to downgrade the OS

    Help needed I updated my ipad2 with iOS5 but few of my dashbaords (HTML5) are not working now ,can any one let me know how to downgrade the OS as we have a meeting coming up .. its urgent

    Downgrading the iOS is not supported. If you are using Safari this try clearing its cache via Settings > Safari.
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Keyboard (hardware & onscreen) suddenly don't work anymore - only factory reset helps

    I have my Passport for about a month now and just experienced the following problem for the second time: all of sudden the keyboard (both hardware and onscreen) don't work anymore. I cannot enter my device password anymore, I can focus the password dialog, but then simply nothing happens when I press keys.
    After a restart of the Passport it asks me for my SIM card PIN. Again, I can focus the text field in the dialog, and I can touch numbers of the onscreen keyboard, and the number keys light up, but no input gets to the dialog.
    There is simply no way to activate the device anymore. I can do a backup using BlackBerry Link, and I can access the device with BlackBerry Blend - but the device itself is useless. No kind of restart or reset helps. The only solution is to do a factory reset, after that the device works fine again - for some time.
    Once this happened while I was on the road, without doing anything with the device. The second time it happened when I was trying to deploy a self written app using the Momentics IDE.
    Additional information:
    - development mode is on (needed since I want to develop Apps for BB10)
    - Snap is installed
    - a handful of Android apps from Google Play store are installed
    - two BlackBerry World apps are installed (whatsapp and HUB++LED)
    Did anyone experienced similar issues or has an idea what might cause this problem?
    Thanks!

    Quote from: Svenomous on 25-September-06, 23:08:26
    Have you tried using a usb keyboard/mouse?
    I don't use any usb, only use PS2. Maybe it is possible to use some sort of a PS2 to usb converter, but I would rather like the PS2 to work.

  • IPhone 3G 8GB Crashes when syncing with iTunes. URGENT HELP NEEDED.

    I have latest iTunes and OS on my iPhone 3G...
    Every time i plug my iPhone in it begins to sync and then iTunes will freeze and not respond..
    I have tried re installing iTunes.. I can't reset my iPhone as i can't create a backup..
    URGENT HELP NEEDED PLEASE!

    I don't have an iphone, but if it's anything like my click-wheel ipod, a reset doesn't delete anything.
    It just resets the ipod's operating system, kind of like a PC restart. Did you try this Sleep/Wake button thing mentioned here?
    http://support.apple.com/kb/HT1737
    Maybe it's a podcast of voice memo causing the problem like it did for this person
    http://discussions.apple.com/message.jspa?messageID=10907809#10907809
    That's all I got. You might have better luck on an iPhone forum. Everyone there would probably have one. Like I said, I don't.

  • Help needed:Printing HTML file using javax.print

    Hi
    I am using the following code which i got form the forum for rpinting an HTML file.
    The folllowing code is working fine, but the problem is the content of HTML file is not getting printed. I am geeting a blank page with no content. What is the change that is required in the code? ALso is there any simpler way to implement this. Help needed ASAP.
    public boolean printHTMLFile(String filename) {
              try {
                   JEditorPane editorPane = new JEditorPane();
                   editorPane.setEditorKit(new HTMLEditorKit());
                   //editorPane.setContentType("text/html");
                   editorPane.setSize(500,500);
                   String text = getFileContents(filename);
                   if (text != null) {
                        editorPane.setText(text);                    
                   } else {
                        return false;
                   printEditorPane(editorPane);
                   return true;
              } catch (Exception tce) {
                   tce.printStackTrace();
              return false;
         public String getFileContents(String filename) {
              try {
                   File file = new File(filename);
                   BufferedReader br = new BufferedReader(new FileReader(file));
                   String line;
                   StringBuffer sb = new StringBuffer();
                   while ((line = br.readLine()) != null) {
                        sb.append(line);
                   br.close();
                   return sb.toString();
              } catch (Exception tce) {
                   tce.printStackTrace();
              return null;
         public void printEditorPane(JEditorPane editorPane) {
                   try {
                        HTMLPrinter htmlPrinter = new HTMLPrinter();
                        htmlPrinter.printJEditorPane(editorPane, htmlPrinter.showPrintDialog());
                   } catch (Exception tce) {
                        tce.printStackTrace();
         * Sets up to easily print HTML documents. It is not necessary to call any of the setter
         * methods as they all have default values, they are provided should you wish to change
         * any of the default values.
         public class HTMLPrinter {
         public int DEFAULT_DPI = 72;
         public float DEFAULT_PAGE_WIDTH_INCH = 8.5f;
         public float DEFAULT_PAGE_HEIGHT_INCH = 11f;
         int x = 100;
         int y = 80;
         GraphicsConfiguration gc;
         PrintService[] services;
         PrintService defaultService;
         DocFlavor flavor;
         PrintRequestAttributeSet attributes;
         Vector pjlListeners = new Vector();
         Vector pjalListeners = new Vector();
         Vector psalListeners = new Vector();
         public HTMLPrinter() {
              gc = null;
              attributes = new HashPrintRequestAttributeSet();
              flavor = null;
              defaultService = PrintServiceLookup.lookupDefaultPrintService();
              services = PrintServiceLookup.lookupPrintServices(flavor, attributes);
              // do something with the supported docflavors
              DocFlavor[] df = defaultService.getSupportedDocFlavors();
              for (int i = 0; i < df.length; i++)
              System.out.println(df.getMimeType() + " " + df[i].getRepresentationClassName());
              // if there is a default service, but no other services
              if (defaultService != null && (services == null || services.length == 0)) {
              services = new PrintService[1];
              services[0] = defaultService;
         * Set the GraphicsConfiguration to display the print dialog on.
         * @param gc a GraphicsConfiguration object
         public void setGraphicsConfiguration(GraphicsConfiguration gc) {
              this.gc = gc;
         public void setServices(PrintService[] services) {
              this.services = services;
         public void setDefaultService(PrintService service) {
              this.defaultService = service;
         public void setDocFlavor(DocFlavor flavor) {
              this.flavor = flavor;
         public void setPrintRequestAttributes(PrintRequestAttributeSet attributes) {
              this.attributes = attributes;
         public void setPrintDialogLocation(int x, int y) {
              this.x = x;
              this.y = y;
         public void addPrintJobListener(PrintJobListener pjl) {
              pjlListeners.addElement(pjl);
         public void removePrintJobListener(PrintJobListener pjl) {
              pjlListeners.removeElement(pjl);
         public void addPrintServiceAttributeListener(PrintServiceAttributeListener psal) {
              psalListeners.addElement(psal);
         public void removePrintServiceAttributeListener(PrintServiceAttributeListener psal) {
              psalListeners.removeElement(psal);
         public boolean printJEditorPane(JEditorPane jep, PrintService ps) {
                   if (ps == null || jep == null) {
                        System.out.println("printJEditorPane: jep or ps is NULL, aborting...");
                        return false;
                   // get the root view of the preview pane
                   View rv = jep.getUI().getRootView(jep);
                   // get the size of the view (hopefully the total size of the page to be printed
                   int x = (int) rv.getPreferredSpan(View.X_AXIS);
                   int y = (int) rv.getPreferredSpan(View.Y_AXIS);
                   // find out if the print has been set to colour mode
                   DocPrintJob dpj = ps.createPrintJob();
                   PrintJobAttributeSet pjas = dpj.getAttributes();
                   // get the DPI and printable area of the page. use default values if not available
                   // use this to get the maximum number of pixels on the vertical axis
                   PrinterResolution pr = (PrinterResolution) pjas.get(PrinterResolution.class);
                   int dpi;
                   float pageX, pageY;
                   if (pr != null)
                        dpi = pr.getFeedResolution(PrinterResolution.DPI);
                   else
                        dpi = DEFAULT_DPI;
                   MediaPrintableArea mpa = (MediaPrintableArea) pjas.get(MediaPrintableArea.class);
                   if (mpa != null) {
                        pageX = mpa.getX(MediaPrintableArea.INCH);
                        pageY = mpa.getX(MediaPrintableArea.INCH);
                   } else {
                        pageX = DEFAULT_PAGE_WIDTH_INCH;
                        pageY = DEFAULT_PAGE_HEIGHT_INCH;
                   int pixelsPerPageY = (int) (dpi * pageY);
                   int pixelsPerPageX = (int) (dpi * pageX);
                   int minY = Math.max(pixelsPerPageY, y);
                   // make colour true if the user has selected colour, and the PrintService can support colour
                   boolean colour = pjas.containsValue(Chromaticity.COLOR);
                   colour = colour & (ps.getAttribute(ColorSupported.class) == ColorSupported.SUPPORTED);
                   // create a BufferedImage to draw on
                   int imgMode;
                   if (colour)
                        imgMode = BufferedImage.TYPE_3BYTE_BGR;
                   else
                        imgMode = BufferedImage.TYPE_BYTE_GRAY;
                   BufferedImage img = new BufferedImage(pixelsPerPageX, minY, imgMode);
                   Graphics myGraphics = img.getGraphics();
                   myGraphics.setClip(0, 0, pixelsPerPageX, minY);
                   myGraphics.setColor(Color.WHITE);
                   myGraphics.fillRect(0, 0, pixelsPerPageX, minY);
                        java.awt.Rectangle rectangle=new java.awt.Rectangle(0,0,pixelsPerPageX, minY);
                   // call rootView.paint( myGraphics, rect ) to paint the whole image on myGraphics
                   rv.paint(myGraphics, rectangle);
                   try {
                        // write the image as a JPEG to the ByteArray so it can be printed
                        Iterator writers = ImageIO.getImageWritersByFormatName("jpeg");
                        ImageWriter writer = (ImageWriter) writers.next();
                                       // mod: Added the iwparam to create the highest quality image possible
                        ImageWriteParam iwparam = writer.getDefaultWriteParam();
                        iwparam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT) ;
                        iwparam.setCompressionQuality(1.0f); // highest quality
                        ByteArrayOutputStream out = new ByteArrayOutputStream();
                        ImageOutputStream ios = ImageIO.createImageOutputStream(out);
                        writer.setOutput(ios);
                        // get the number of pages we need to print this image
                        int imageHeight = img.getHeight();
                        int numberOfPages = (int) Math.ceil(minY / (double) pixelsPerPageY);
                        // print each page
                        for (int i = 0; i < numberOfPages; i++) {
                             int startY = i * pixelsPerPageY;
                             // get a subimage which is exactly the size of one page
                             BufferedImage subImg = img.getSubimage(0, startY, pixelsPerPageX, Math.min(y - startY, pixelsPerPageY));
                                                 // mod: different .write() method to use the iwparam parameter with highest quality compression
                             writer.write(null, new IIOImage(subImg, null, null), iwparam);
                             SimpleDoc sd = new SimpleDoc(out.toByteArray(), DocFlavor.BYTE_ARRAY.JPEG, null);
                             printDocument(sd, ps);
                             // reset the ByteArray so we can start the next page
                             out.reset();
                   } catch (PrintException e) {
                        System.out.println("Error printing document.");
                        e.printStackTrace();
                        return false;
                   } catch (IOException e) {
                        System.out.println("Error creating ImageOutputStream or writing to it.");
                        e.printStackTrace();
                        return false;
                   // uncomment this code and comment out the 'try-catch' block above
                   // to print to a JFrame instead of to the printer
                   /*          JFrame jf = new JFrame();
                             PaintableJPanel jp = new PaintableJPanel();
                             jp.setImage( img );
                             JScrollPane jsp = new JScrollPane( jp );
                             jf.getContentPane().add( jsp );
                             Insets i = jf.getInsets();
                             jf.setBounds( 0, 0, newX, y );
                             jf.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
                             jf.setVisible( true );*/
                   return true;
              * Print the document to the specified PrintService.
              * This method cannot tell if the printing was successful. You must register
              * a PrintJobListener
              * @return false if no PrintService is selected in the dialog, true otherwise
              public boolean printDocument(Doc doc, PrintService ps) throws PrintException {
                   if (ps == null)
                   return false;
                   addAllPrintServiceAttributeListeners(ps);
                   DocPrintJob dpj = ps.createPrintJob();
                   addAllPrintJobListeners(dpj);
                   dpj.print(doc, attributes);
                   return true;
              public PrintService showPrintDialog() {
                   return ServiceUI.printDialog(gc, x, y, services, defaultService, flavor, attributes);
              private void addAllPrintServiceAttributeListeners(PrintService ps) {
                   // add all listeners that are currently added to this object
                   for (int i = 0; i < psalListeners.size(); i++) {
                   PrintServiceAttributeListener p = (PrintServiceAttributeListener) psalListeners.get(i);
                   ps.addPrintServiceAttributeListener(p);
              private void addAllPrintJobListeners(DocPrintJob dpj) {
                   // add all listeners that are currently added to this object
                   for (int i = 0; i < pjlListeners.size(); i++) {
                   PrintJobListener p = (PrintJobListener) pjlListeners.get(i);
                   dpj.addPrintJobListener(p);
              // uncomment this also to print to a JFrame instead of a printer
              /* protected class PaintableJPanel extends JPanel {
                   Image img;
                   protected PaintableJPanel() {
                        super();
                   public void setImage( Image i ) {
                        img = i;
                   public void paint( Graphics g ) {
                        g.drawImage( img, 0, 0, this );
    Thanks
    Ram

    Ram,
    I have had printing problems too a year and a half ago. I used all printing apis of java and I still find that it is something java lacks. Now basically you can try autosense. To check whether your printer is capable of printing the docflavor use this PrintServiceLookup.lookupPrintServices(flavor, aset); . If it lists the printer then he can print the document otherwise he can't. I guess that is why you get the error.
    Regards,
    Kevin

  • Privacy settings help needed

    Hi there
    I've recently updated the system to IOS7 and since this it won't let me send pictures over imessage, twitter, facebook, instagram or anything. It's told me to go to settings > privacy > photos but in the photos section there aren't any apps in there for me to slide across to allow?
    I've downloaded them again but it's still not letting me send any. Help needed please
    Thanks
    Josh

    I don't have any social media stuff, so I can't tell you about FB, twitter or any of that stuff. But I can tell you that I am able to send pictures/screen shots and what not via iMessages. Both to other iPhone users or non-iPhone users, using text obviously.
    With that being said, under Settings---> Privacy---> Photos "iMessages" isn't there. Other programs are and they are enabled
    Have you done a hard reset? Press the Sleep/Wake and Home button at the same time. Continue to hold them until the Apple logo shows up?
    KOT

Maybe you are looking for

  • Getting bobj is undefined when report is viewed in Internet Explorer 8

    Background We are running a web application on a server that has "BusinessObjects Enterprise XI 3.1 FP 2.6 Update" installed on it. The server uses the 1.1 .net framework. This web app can generate Crystal reports and display them either by exporting

  • Export WebI Report in others formats

    Hi, Is there any way to export a WebI report in HTML format. Current only the following output format options are available while scheduling a WebI report: 1) Web Intelligence 2) Microsoft Excel 3) Adobe Acrobat thanks!!!

  • Illustrator is snapping to point without the option selected.

    Illustrator is snapping to point without the option selected. Anyone else noticing this and what is the solution. Yes I have restarted illustrator.

  • JNI performance degradation

    Hi All, I got a problem when using jni. The JNI program is used to call a c program for computing the maximum clique of a graph. When testing this program in its only main function, its speed is okay. For a graph with 2000 nodes and 300,000 edges, it

  • Movie position, help me

    i finished a flash movie. i just realized that i would like to position all the symbols in it, so the movie itself, 200 px above the entire HTML page. is there a way to do this simply, instead of selecting all the symbols already tweened one by one?