com.dynamixsoftware.intentapi
Interface IPrinterContext

All Known Implementing Classes:
IPrinterContext.Stub

public interface IPrinterContext

This class is used to get printers capabilities.


Nested Class Summary
static class IPrinterContext.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 int getHResolution()
           
 android.graphics.Rect getImageArea()
           
 int getPaperHeight()
           
 int getPaperWidth()
           
 int getVResolution()
           
 

Method Detail

getImageArea

android.graphics.Rect getImageArea()
                                   throws android.os.RemoteException
Returns:
printers image area in pt. pt = 1/72 inch
Throws:
android.os.RemoteException

getPaperWidth

int getPaperWidth()
                  throws android.os.RemoteException
Returns:
papers width in pt. pt = 1/72 inch
Throws:
android.os.RemoteException

getPaperHeight

int getPaperHeight()
                   throws android.os.RemoteException
Returns:
papers height in pt. pt = 1/72 inch
Throws:
android.os.RemoteException

getHResolution

int getHResolution()
                   throws android.os.RemoteException
Returns:
horizontal resolution in dpi.
Throws:
android.os.RemoteException

getVResolution

int getVResolution()
                   throws android.os.RemoteException
Returns:
vertical resolution in dpi.
Throws:
android.os.RemoteException