Then you don't have any problem. When you said "in
the background" I thought you meant you wanted the
user to see the PDF. Otherwise you just have to
figure out:
a) how to tell the servlet where to print the PDF, and
b) how to print the PDF from any Java process.
-Matt
--- [EMAIL PROTECTED] wrote:
> sure, but i dont wont to transfer any pdf directly
> to the user.
> i want to print the pdf (stored on the server) over
> the browser
> (javaservlet) directly to the users printer, if he
> push a print button at
> the servlet... :)
>
>
> ----- Original Message -----
> From: "Matt Benson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Friday, January 09, 2004 5:54 PM
> Subject: Re: [iText-questions] pdf print?!?
>
>
> > As has been beaten to death on this forum, once
> you
> > serve the PDF to a user, due to the nature of PDF,
> you
> > can't control things like whether they copy it or
> > print it. You will have to be satisfied with a
> > summary of the PDF or something similar on the
> client
> > side if you want to stop the user from doing
> something
> > with it...
> >
> > -Matt
> >
> > --- [EMAIL PROTECTED] wrote:
> > > :) yes, the document shoult printed at the
> webusers
> > > printer!
> > >
> > > my problem is, that i need a solution to serve
> > > existing pdf files to
> > > webusers. the webuser is allowed to print the
> pdf
> > > file only one time!!! i
> > > want a small servlet that open a pdf-file in the
> > > background and shows only a
> > > button ("Now Print" or somethink else). i cant
> use
> > > the command.exe.... every
> > > user installed the acrobat an another place...
> so i
> > > need another solution.
> > > im not good in java (i like
> perl,assembler,...and so
> > > on).
> > >
> > > can anybody help me,... is the javaservlet
> solution
> > > possible?
> > >
> > > okay, sure javascript, but the user can change
> the
> > > printouts from one to
> > > whatever,..... but any user are allowed only one
> > > printout!
> > >
> > > thanks
> > >
> > > jonas
> > >
> > > ----- Original Message -----
> > > From: "Matt Benson" <[EMAIL PROTECTED]>
> > > To: "Wendy Smoak" <[EMAIL PROTECTED]>;
> > > <[EMAIL PROTECTED]>
> > > Sent: Friday, January 09, 2004 4:29 PM
> > > Subject: Re: [iText-questions] pdf print?!?
> > >
> > >
> > > > But you just want it to print to the user's
> > > default
> > > > (Windows) printer? You could do it, for
> example,
> > > if
> > > > you sent the printer path to the servlet,
> assuming
> > > the
> > > > servlet runs on Windows OR you have already
> set up
> > > > your Unix server to be able to print to each
> of
> > > > however many Windows printers may be
> candidates
> > > for
> > > > this. This discussion could get really long
> > > though so
> > > > I'll leave it at that for now.
> > > >
> > > > -Matt
> > > >
> > > > --- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > > > > RE: [iText-questions] pdf print?!?From:
> Paulo
> > > Soares
> > > > > > See
> > > > >
> http://www.lowagie.com/iText/faq.html#printing.
> > > > > > You can also use ghostscript.
> > > > >
> > > > > But the OP wants to "print it one time with
> a
> > > java
> > > > > servlet". The code above
> > > > > will lead to a pile of paper in the server
> room,
> > > > > while I suspect that the OP
> > > > > wants it to print on the client side when
> > > someone
> > > > > visits a URL that's mapped
> > > > > to his Servlet.
> > > > >
> > > > > I've used JavaScript to pop up a printer
> dialog
> > > on a
> > > > > web page, but AFAIK you
> > > > > can't [easily, without annoying users,]
> force
> > > > > anything to print from a
> > > > > Servlet.
> > > > >
> > > > > --
> > > > > Wendy Smoak
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
-------------------------------------------------------
> > > > > This SF.net email is sponsored by: Perforce
> > > > > Software.
> > > > > Perforce is the Fast Software Configuration
> > > > > Management System offering
> > > > > advanced branching capabilities and atomic
> > > changes
> > > > > on 50+ platforms.
> > > > > Free Eval!
> > > > >
> http://www.perforce.com/perforce/loadprog.html
> > > > >
> _______________________________________________
> > > > > iText-questions mailing list
> > > > > [EMAIL PROTECTED]
> > > > >
> > > >
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> > > >
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Hotjobs: Enter the "Signing Bonus"
> > > Sweepstakes
> > > >
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> > > >
> > > >
> > > >
> > >
> >
>
-------------------------------------------------------
> > > > This SF.net email is sponsored by: Perforce
> > > Software.
> > > > Perforce is the Fast Software Configuration
> > > Management System offering
> > > > advanced branching capabilities and atomic
> changes
> > > on 50+ platforms.
> > > > Free Eval!
> > > http://www.perforce.com/perforce/loadprog.html
> > > >
> _______________________________________________
> > > > iText-questions mailing list
> > > > [EMAIL PROTECTED]
> > > >
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
>
-------------------------------------------------------
> > > This SF.net email is sponsored by: Perforce
> > > Software.
> > > Perforce is the Fast Software Configuration
> > > Management System offering
> > > advanced branching capabilities and atomic
> changes
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions