• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing from an applet..

 
Charlie Boss
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm using the java.awt.print package to print pages from my applet to a clients printer..
when i click on print, the print dialog comes up fine however when i click yes for print nothing happens.. instead I see this on the browsers status pane..
"Opening http://localhost/META-INF/services/javax.print.PrintServiceLookup"
I do not have this META-INF directory on my system so where why is it looking in there.. help anyone?? if you've come across this before.. thanx in advance..
 
Charlie Boss
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok,
so i did more research and the print api automatically calls javax.print.PrintServiceLookup to search for available printers. I'm still confused on how it works though since my applet still pulls a print dialog but doesn't print anything.. i even looked at the print managers log and its not sending anything to the printer..
Do any of you actually have a applet that can print?? i'm connected to a network printer..
please help
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Charlie,
Try checking your browsers Java console. You might be having a security exception because Applets are restricted from printing without being signed and asking the user permission ...
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic