garrett sudicky

Greenhorn
+ Follow
since Jul 10, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by garrett sudicky

im having trouble following what you think i should do. is there a drawPage(); method like the drawstring? when i do this
it prints two blank pages out.
would you mind showing me where i could put it at, i think im trying the wrong spot.

10 years ago
Maxim would you want me to post the main class as well so you can try it out? normally data gets generated and appended there from a different part of the total program but its easy enough to just type in a bunch of lines to get over the one page mark.
10 years ago
thanks a lot i really appreciate it but is there a reason you wrote -792 instead of 792?
10 years ago
hi maxim, thanks for the help. im just not sure where i would write that in at? the printer job part or inside the print()? and not quite sure how i would do that either? could you give me an example please? thanks again for your reply
10 years ago
Im not sure if you will ever see this seeing how this is 10 years later but im doing it now and i found the height of the textarea im using and then compared that to the imageable area in a for statement.
10 years ago
this it my clear button on my program i am working on. it resets all the variables back to there original state.

add your handling code here:
}
10 years ago
Hi everyone, i am having extreme difficulty trying to print my data from a jtextarea. i tried the regular print(); method but i couldnt figure out how to preset the margins so i dont have to change them everytime. So now i am attempting to use printer job and graphics to print my pages. i figured out how to set my margins after a lot of frustration, but now when its more than one page long it prints the first page again and again instead of printing the second half of the text area. here is my code. i will greatly appreciate any help you might have for me.



10 years ago