Bookmark Topic Watch Topic
  • New Topic

Accessing a Local Printer  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am trying to send text to a local printer do not successful yet. Printer is on port LPT1 along with two other drivers. Please help.

 
Joe Ess
Bartender
Posts: 9439
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Have a look at this discussion.
 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have got what I need to work using PrintServices class. However, it only works when ran on local web app host. Fails when I deploy it on the production web app server. I need somehow to run the java class from the current session client side so a local printer can be accessed.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!