| | |
plz suggest
![]() |
Well, it looks like you have your requirements, so do you have a question? Or did you simply want us to do it for you?
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Oct 2007
Posts: 26
Reputation:
Solved Threads: 0
Now I have a requirement.The data in the bill is dynamically displaying(using request.getparameter).And Iam unable to give the pagebreak.If the user has select certain items once he go for print,if it is of two pages,it should have header in first page and footer at the second page..plz help me. I dnt have time to go for reporting tool
Bala Gangadhar Marripeedi m.balagangadhar@gmail.com
Well, to tell you the truth, it will probably take longer to rig something up on your own, than it would be to plug in a "reporting tool".
The problem is, you have to format the document for the printer. which means you would have to analyze what is to be printed yourself and determine the page breaks. Any "reporting tool" API will already have done this, and you simply need to use it.
In general, it is quicker to search for, preliminary test, and plug in a third party API than it is to "reinvent" the wheel. There will be times where it is not allowed, has much more than is needed, or is simply to complex, but those are generally the exception to the rule.
And this, tells me I was right on the money with .
To summarise, it will be quicker (I believe) to find a "reporting tool" than it will be to do it yourself, regardless of the "help"/code you might get here. That code would still need to be analysed and then adapted so it works with your code and for your puposes, and even that alone (even if I were to include a code block) would probably take just as long (or very possibly longer) than it would to plug in a "reporting tool".
The problem is, you have to format the document for the printer. which means you would have to analyze what is to be printed yourself and determine the page breaks. Any "reporting tool" API will already have done this, and you simply need to use it.
In general, it is quicker to search for, preliminary test, and plug in a third party API than it is to "reinvent" the wheel. There will be times where it is not allowed, has much more than is needed, or is simply to complex, but those are generally the exception to the rule.
And this,
•
•
•
•
I dnt have time to go for reporting tool
•
•
•
•
you simply want us to do it for you
To summarise, it will be quicker (I believe) to find a "reporting tool" than it will be to do it yourself, regardless of the "help"/code you might get here. That code would still need to be analysed and then adapted so it works with your code and for your puposes, and even that alone (even if I were to include a code block) would probably take just as long (or very possibly longer) than it would to plug in a "reporting tool".
Last edited by masijade; Oct 4th, 2007 at 7:36 am. Reason: I mean, look at the time you've wasted already.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Oct 2007
Posts: 26
Reputation:
Solved Threads: 0
Thank u for ur suggestion.As I already said to my T.L,but He asked me to try manually.This reporting tools have cum recently.How people used to generate in the past.I knew the way he thinks is wrong.But as junior i shuld do as he said.If there is any possility,I will be favourable.
Bala Gangadhar Marripeedi m.balagangadhar@gmail.com
A simple one. Use Courier print face, with 69 (this number comes from the old military reporting guidelines, you can determine this number for yourself, if you wish, obviously) characters per line, design a header and a footer, then determine how many lines are left for printing and break the text up into blocks that size placing the header and footer between each block. If it is suppossed to be done manually, that is the quickest way.
Last edited by masijade; Oct 4th, 2007 at 8:03 am.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- suggest me online mini project topic (ASP)
- hai friends plz suggest me (Java)
- plz suggest me how to do this program (C)
- suggest some good books for servlets&jsp (Java)
- plz suggest me a online mini project topic (JSP)
- Plz Suggest Creative Name for my Quiz Forum (Geeks' Lounge)
- Please somebody suggest me ..Y? (PHP)
Other Threads in the Java Forum
- Previous Thread: Magic squared assign (pls help me)
- Next Thread: Applet and i/o
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card chat class client code collision component crashcourse css csv database eclipse ee error fractal free game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linux list loan machine map method methods migrate mobile netbeans newbie objects oriented output panel phone physics problem program programming project projects radio recursion replaydirector reporting scanner se server service set sms socket software sort sql string swing test textfield threads transfer tree trolltech ubuntu utility windows






