-
Help Required - Printing using Wildcrest Print API
Hi I am using WildCrest print APIs to print the JTable developed using protoview(third party ) APIs.
I am not able to print the table properly. My table has about 20 columns. The print comand prints only the first few 13 - 14 columns. I am not getting what is the problem. Also the print preview does not show as expected. Can any one help me solve the problem?
My code sample is as given below:
J2Printer14 printer = new J2Printer14();
J2FlowPrinter flowPrinter = new J2FlowPrinter();
J2TablePrinter tablePrinter = new J2TablePrinter();
pv.jfcx.JPVTableView acct = orderListShort.getTableView();// OrderLsitShort is userdefined class
pv.jfcx.JPVTable table = acct.getTabel();
tablePrinter.setHorizontalPageRule(J2TablePrinter.BREAK_ON_COLUMNS);
tablePrinter.setVerticalPageRule(J2tablePrinter.BREAK_ON_ROWS);
tablePrinter.setTable(table);
flowPrinter.setFlowable(tablePrinter);
printer.print(flowPrinter);
Regards,
Similar Threads
-
By oranged in forum VB Classic
Replies: 2
Last Post: 07-19-2006, 06:50 AM
-
By Chuck Snyder in forum .NET
Replies: 1
Last Post: 09-26-2002, 09:15 PM
-
By Ellen M. in forum Java
Replies: 1
Last Post: 04-15-2002, 10:29 PM
-
Replies: 2
Last Post: 03-24-2000, 01:05 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks