• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help with PrintPreview

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have one printpreview program taken from net . It actually takes one printable object and shows the preview one or multiple pages. My printable class is nothing but displaying text in more than one pages. But preview shows empty pages .
PrintPreview Code goes here



My Printable class is given here It works fine with any printers. But preview is not possible in this case. Other page wise preview program shows the output. Why this printpreview does not show the preview?









Cany any one provide solution for this? I dont want Page wise printpreview but what i want is globlal preview ie all pages at one time

L.Sankaranarayanan. Srivilliputtur
 
L Sankaranarayanan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have found it! there is color code missing in printable. is missing . When added, it works ! Thank you all guys!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic