GhostScript is a freely available utility for
manipulating and converting PostScript and PDF.  It
can be built for Windows platforms and for many
flavors of Unix.  Visit www.ghostScript.com to find
out more about it.  I guess basically to do what I am
talking about you would just set up a server socket to
accept connections which just feed PDF data over the
stream.  Collect that data until no more is sent, save
to a temp file and use ghostScript to print the PDF. 
You can learn about printing with ghostScript on the
ghostScript web site or one of the links.  I find
myself continually returning to Thomas Merz's
ghostScript manual.  It sounds like a relatively
simple application, actually.

--- Haseen ul Haq <[EMAIL PROTECTED]> wrote:
> Sounds interesting.  Can you elaborate further. 
> Also I am unaware of 
> ghostScript.  Can you send further details.  I think
> if workable, we can use 
> this solution to our other report printing problems.
> 
> Thanks for your input.
> 
> 
> >From: Matt Benson <[EMAIL PROTECTED]>
> >To: Haseen ul Haq <[EMAIL PROTECTED]>, 
> >[EMAIL PROTECTED]
> >Subject: Re: [iText-questions] Re: Printing Very
> Big Files
> >Date: Tue, 29 Jan 2002 06:57:26 -0800 (PST)
> >
> >Another possibility might be to set up one Java
> >process that runs as a PDF print server, accepting
> >socket connections to be fed PDF documents over
> >streams, to which you should be able to write
> directly
> >with iText.  The print server could use ghostScript
> or
> >some other application to print the PDFs.  I think
> you
> >would have to create temp files for ghostScript,
> >however.
> >
> >
> >--- Tim Bray <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > >> For the second application we want to print
> all
> > > letters at one go or
> > > >> with some control but we don't want to create
> > > 3000-5000 physical
> > > >> files, and print.  If we accumulate these
> letters
> > > into a single file,
> > > >> one file will be too big since letters have
> logos
> > > too and two,
> > > >> printing will not have any control.
> > > >> What do you suggest for these two
> applications.
> > > Is there some
> > > >> solution where we can print these streams
> fast.
> > > You might have faced
> > > >> similar questions from other users too.  If
> you
> > > can suggest soe
> > > >> solution asap, it will be highly appreciated.
> > >
> > >
> > >
> > > I print batch print jobs, but I only print 20ish
> > > pages per batch.
> > >
> > > The way I do it, is to output the PDF to disk,
> and
> > > then use ghostscript
> > > to convert the output to Postscript or PCL
> depending
> > > on which printer it
> > > is going to.
> > >
> > > I have a shell script that runs my java program
> to
> > > do the PDF, and then
> > > does the conversion, and then puts it into the
> > > printer queue.  It also
> > > saves a copy of the PDF, so that if anything
> goes
> > > wrong, I can just
> > > reprint the PDF file.
> > >
> > > I would suggest that you make your java program
> drop
> > > out PDF files for a
> > > smaller subset of the whole batch.  Say 100
> pages a
> > > time.   So you end
> > > up with 30-50 pdf files to  print.
> > > Let your print spooler do the job of feeding
> them
> > > all to the printer.
> > >
> > > Maybe you could put a `hidden` very small batch
> > > number onto each
> > > document, so that if something goes wrong, you
> can
> > > reprint that batch.
> > >
> > > Tim
> > >
> > >
> > > _______________________________________________
> > > iText-questions mailing list
> > > [EMAIL PROTECTED]
> > >
>
>https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Great stuff seeking new owners in Yahoo! Auctions!
> >http://auctions.yahoo.com
> 
> 
>
_________________________________________________________________
> Chat with friends online, try MSN Messenger:
> http://messenger.msn.com
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to