This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Accessing a Local Printer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Accessing a Local Printer

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1533
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

Joined: Oct 29, 2001
Posts: 9126

Have a look at this discussion.

[How To Ask Questions On JavaRanch]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1533
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

Joined: Jan 10, 2002
Posts: 63052

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Accessing a Local Printer
It's not a secret anymore!