Java Doc for WinPrinterFactory.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » x » print » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » org package » org.apache.harmony.x.print 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.harmony.x.print.WinPrinterFactory

WinPrinterFactory
public class WinPrinterFactory (Code)


Field Summary
final public static  intPRINTER_STATUS_BUSY
    
final public static  intPRINTER_STATUS_DOOR_OPEN
    
final public static  intPRINTER_STATUS_ERROR
    
final public static  intPRINTER_STATUS_INITIALIZING
    
final public static  intPRINTER_STATUS_IO_ACTIVE
    
final public static  intPRINTER_STATUS_MANUAL_FEED
    
final public static  intPRINTER_STATUS_NOT_AVAILABLE
    
final public static  intPRINTER_STATUS_NO_TONER
    
final public static  intPRINTER_STATUS_OFFLINE
    
final public static  intPRINTER_STATUS_OUTPUT_BIN_FULL
    
final public static  intPRINTER_STATUS_OUT_OF_MEMORY
    
final public static  intPRINTER_STATUS_PAGE_PUNT
    
final public static  intPRINTER_STATUS_PAPER_JAM
    
final public static  intPRINTER_STATUS_PAPER_OUT
    
final public static  intPRINTER_STATUS_PAPER_PROBLEM
    
final public static  intPRINTER_STATUS_PAUSED
    
final public static  intPRINTER_STATUS_PENDING_DELETION
    
final public static  intPRINTER_STATUS_POWER_SAVE
    
final public static  intPRINTER_STATUS_PRINTING
    
final public static  intPRINTER_STATUS_PROCESSING
    
final public static  intPRINTER_STATUS_SERVER_UNKNOWN
    
final public static  intPRINTER_STATUS_TONER_LOW
    
final public static  intPRINTER_STATUS_USER_INTERVENTION
    
final public static  intPRINTER_STATUS_WAITING
    
final public static  intPRINTER_STATUS_WARMING_UP
    


Method Summary
native public static  voidcancelPrinterJob(long handle, int jobId)
    
public static  voidcheckPrintJobAccess()
    
native public static  voidendDoc(long pdc)
    
native public static  voidendPage(long pdc)
    
native public static  String[]getConnectedPrinterNames()
    
native public static  StringgetDefaultPrinterName()
    
native public static  intgetLandscapeOrientationDegree(long handle)
    
native public static  intgetMaxNumberOfCopies(long handle)
    
native public static  intgetPaperPhysicalHeight(long pdc)
    
native public static  intgetPaperPhysicalWidth(long pdc)
    
native public static  intgetPixelsPerInchX(long pdc)
    
native public static  intgetPixelsPerInchY(long pdc)
    
native public static  longgetPrinterDC(String printerName, long pDevMode)
    
native public static  longgetPrinterHandle(String printerName)
    
native public static  longgetPrinterProps(String printerName, long handle)
    
public static  PrinterStategetPrinterState(long handle)
    
native public static  longgetPrinterStatus(long handle)
    
public static  QueuedJobCountgetQueuedJobCount(long handle)
    
native public static  intgetQueuedJobs(long handle)
    
public static  MediaSizeName[]getSupportedMediaSizeNames(long handle)
    
public static  MediaSize[]getSupportedMediaSizes(long handle)
    
public static  OrientationRequested[]getSupportedOrientations(long handle)
    
native public static  int[]getSupportedPaperSizes(long handle)
    
public static  PrinterResolution[]getSupportedPrinterResolutions(long handle)
    
native public static  int[]getSupportedResolutions(long handle)
    
native public static  booleanisCollatingSupported(long handle)
    
native public static  booleanisColorPrintingSupported(long handle)
    
native public static  booleanisDuplexSupported(long handle)
    
native public static  voidreleasePrinterDC(long pdc)
    
native public static  voidreleasePrinterHandle(long handle)
    
native public static  intstartDoc(long pdc, String docName, String filePath)
    
native public static  voidstartPage(long pdc)
    

Field Detail
PRINTER_STATUS_BUSY
final public static int PRINTER_STATUS_BUSY(Code)



PRINTER_STATUS_DOOR_OPEN
final public static int PRINTER_STATUS_DOOR_OPEN(Code)



PRINTER_STATUS_ERROR
final public static int PRINTER_STATUS_ERROR(Code)



PRINTER_STATUS_INITIALIZING
final public static int PRINTER_STATUS_INITIALIZING(Code)



PRINTER_STATUS_IO_ACTIVE
final public static int PRINTER_STATUS_IO_ACTIVE(Code)



PRINTER_STATUS_MANUAL_FEED
final public static int PRINTER_STATUS_MANUAL_FEED(Code)



PRINTER_STATUS_NOT_AVAILABLE
final public static int PRINTER_STATUS_NOT_AVAILABLE(Code)



PRINTER_STATUS_NO_TONER
final public static int PRINTER_STATUS_NO_TONER(Code)



PRINTER_STATUS_OFFLINE
final public static int PRINTER_STATUS_OFFLINE(Code)



PRINTER_STATUS_OUTPUT_BIN_FULL
final public static int PRINTER_STATUS_OUTPUT_BIN_FULL(Code)



PRINTER_STATUS_OUT_OF_MEMORY
final public static int PRINTER_STATUS_OUT_OF_MEMORY(Code)



PRINTER_STATUS_PAGE_PUNT
final public static int PRINTER_STATUS_PAGE_PUNT(Code)



PRINTER_STATUS_PAPER_JAM
final public static int PRINTER_STATUS_PAPER_JAM(Code)



PRINTER_STATUS_PAPER_OUT
final public static int PRINTER_STATUS_PAPER_OUT(Code)



PRINTER_STATUS_PAPER_PROBLEM
final public static int PRINTER_STATUS_PAPER_PROBLEM(Code)



PRINTER_STATUS_PAUSED
final public static int PRINTER_STATUS_PAUSED(Code)



PRINTER_STATUS_PENDING_DELETION
final public static int PRINTER_STATUS_PENDING_DELETION(Code)



PRINTER_STATUS_POWER_SAVE
final public static int PRINTER_STATUS_POWER_SAVE(Code)



PRINTER_STATUS_PRINTING
final public static int PRINTER_STATUS_PRINTING(Code)



PRINTER_STATUS_PROCESSING
final public static int PRINTER_STATUS_PROCESSING(Code)



PRINTER_STATUS_SERVER_UNKNOWN
final public static int PRINTER_STATUS_SERVER_UNKNOWN(Code)



PRINTER_STATUS_TONER_LOW
final public static int PRINTER_STATUS_TONER_LOW(Code)



PRINTER_STATUS_USER_INTERVENTION
final public static int PRINTER_STATUS_USER_INTERVENTION(Code)



PRINTER_STATUS_WAITING
final public static int PRINTER_STATUS_WAITING(Code)



PRINTER_STATUS_WARMING_UP
final public static int PRINTER_STATUS_WARMING_UP(Code)





Method Detail
cancelPrinterJob
native public static void cancelPrinterJob(long handle, int jobId) throws PrintException(Code)



checkPrintJobAccess
public static void checkPrintJobAccess()(Code)



endDoc
native public static void endDoc(long pdc) throws PrintException(Code)



endPage
native public static void endPage(long pdc) throws PrintException(Code)



getConnectedPrinterNames
native public static String[] getConnectedPrinterNames() throws PrintException(Code)



getDefaultPrinterName
native public static String getDefaultPrinterName() throws PrintException(Code)



getLandscapeOrientationDegree
native public static int getLandscapeOrientationDegree(long handle) throws PrintException(Code)



getMaxNumberOfCopies
native public static int getMaxNumberOfCopies(long handle) throws PrintException(Code)



getPaperPhysicalHeight
native public static int getPaperPhysicalHeight(long pdc) throws PrintException(Code)



getPaperPhysicalWidth
native public static int getPaperPhysicalWidth(long pdc) throws PrintException(Code)



getPixelsPerInchX
native public static int getPixelsPerInchX(long pdc) throws PrintException(Code)



getPixelsPerInchY
native public static int getPixelsPerInchY(long pdc) throws PrintException(Code)



getPrinterDC
native public static long getPrinterDC(String printerName, long pDevMode) throws PrintException(Code)



getPrinterHandle
native public static long getPrinterHandle(String printerName) throws PrintException(Code)



getPrinterProps
native public static long getPrinterProps(String printerName, long handle) throws PrintException(Code)
Returns pointer to DEVMODEW structure



getPrinterState
public static PrinterState getPrinterState(long handle) throws PrintException(Code)



getPrinterStatus
native public static long getPrinterStatus(long handle) throws PrintException(Code)



getQueuedJobCount
public static QueuedJobCount getQueuedJobCount(long handle) throws PrintException(Code)



getQueuedJobs
native public static int getQueuedJobs(long handle) throws PrintException(Code)



getSupportedMediaSizeNames
public static MediaSizeName[] getSupportedMediaSizeNames(long handle) throws PrintException(Code)



getSupportedMediaSizes
public static MediaSize[] getSupportedMediaSizes(long handle) throws PrintException(Code)



getSupportedOrientations
public static OrientationRequested[] getSupportedOrientations(long handle) throws PrintException(Code)



getSupportedPaperSizes
native public static int[] getSupportedPaperSizes(long handle) throws PrintException(Code)



getSupportedPrinterResolutions
public static PrinterResolution[] getSupportedPrinterResolutions(long handle) throws PrintException(Code)



getSupportedResolutions
native public static int[] getSupportedResolutions(long handle) throws PrintException(Code)



isCollatingSupported
native public static boolean isCollatingSupported(long handle) throws PrintException(Code)



isColorPrintingSupported
native public static boolean isColorPrintingSupported(long handle) throws PrintException(Code)



isDuplexSupported
native public static boolean isDuplexSupported(long handle) throws PrintException(Code)



releasePrinterDC
native public static void releasePrinterDC(long pdc) throws PrintException(Code)



releasePrinterHandle
native public static void releasePrinterHandle(long handle) throws PrintException(Code)



startDoc
native public static int startDoc(long pdc, String docName, String filePath) throws PrintException(Code)



startPage
native public static void startPage(long pdc) throws PrintException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.