Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How print work in this forum?

 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have one doubt about this forum...

Suppose i write java code in this forum. Then the program will display inside the code block.

The top of the box contain view plain copy to clipboard print ? and also line number assign to program code.

Just i click that print link, then automatically print work. print the coding area only.

So i want know how to work this print work..

Any body know that, give me idea. Otherwise give me sample code.


For example here i write simple java program




I refer so many sites. Most of the developer give the code(print) the following way

1. First printing content open new window, and print work start..

2. Otherwise print full page

3. Use styleSheet approach.

i want know any other approach is there. how print work here without open new window for printing content.

Thanks in advance



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic