Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

EXCEPTION_ACCESS_VIOLATION

  Asked By: Leon    Date: Apr 05    Category: Java    Views: 456
  

Just to check if anyone had this error before and whether they
have a list of printers that is 'not compatible' to Java
programming. Or if better still, a way to preventing this error.

I'm attempting to retrieve a list of printers deployed in a
server powered by Java. it works for most of the printers i tried
except for a 'Canon GP605 PS Ver2.0' printer in the printer list.

The following is the java code, using JDK1.4.1:
PrintService defaultPrintService =
PrintServiceLookup.lookupDefaultPrintService();
printer = defaultPrintService.getName(); // server will shut down if
the printer is the default printer, else it will continue.
System.out.println("defaultPrintService.getName():" +
defaultPrintService.toString());

PrintService[] services = PrintServiceLookup.lookupPrintServices
(null,null); // server will shut down with mentioned error if the
printer is deployed in the server (i.e. in the printer list)

The error message is bit long, so, i put it in the following site:
asia.geocities.com/.../shutdown.txt

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on EXCEPTION_ACCESS_VIOLATION Or get search suggestion and latest updates.

Related Topics:




 

Related Post