Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Java and PDF

Posted on 2004-09-07
10
Medium Priority
?
377 Views
Last Modified: 2008-02-26
Does anyone have any experience with PJX? I am trying to enforce once-only printing of a PDF, and so far PJX looks like my most promising avenue, however I can't seem to get any further info on it.

The PDF is located on a server and will be available via a web application, however it is imperative that it only be allowed to print once. It doesn't need to be downloadable. Any good leads would be appreciated.

Thanks!
Amy
0
Comment
Question by:AmyL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
10 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 12002029
What part of that API do you think can limit the number of print copies?
0
 
LVL 92

Expert Comment

by:objects
ID: 12002060
For an applet to be able to print it, would mean the applet would need to download it.
So it would still be accessible if people really wanted to get to it.
0
 
LVL 92

Expert Comment

by:objects
ID: 12002074
be safer to run pjx (or whatever) on the server, and return an image to the client for printing.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:AmyL
ID: 12002104
Also, this doesn't need to be bulletproof, as the user could simply print one out and make several copies on a copy machine. It just needs to make it hard to print multiples.

I know this is possible to do, but have gotten nowhere with research.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12002131
Your best bet is to stream it directly to the printer without making it into a file and invoking a print dialog. For that you need to be able to locate the printer programmatically, without user interaction
0
 

Author Comment

by:AmyL
ID: 12002160
I can get the printer progammatically...

Can you give me just a little more direction? This sounds like what I'm looking for.

I don't need the whole solution, just a good lead.

Thanks!
Amy
0
 
LVL 92

Assisted Solution

by:objects
objects earned 1000 total points
ID: 12002162
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 1000 total points
ID: 12002187
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12002206
8-)
0
 
LVL 92

Expert Comment

by:objects
ID: 12002214
Let me know if you have any further questions or get stuck :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question