Printing a PDF duplex using Java -


Text after "

I am connected to a printer cup, it supports duplex printing, I can do this to print simple How is set or duplex routine through my java?

I have tried using iText libraries and addViewerPreference using add ASET without any luck.

Can someone give some suggestions?

"itemprop =" text ">

I created a small code sample that adds an audience preference to an existing PDF Is:

  PdfReader Reader = New PdfReader (SRC); PDFStamper Stammer = New PDFFormer (Reader, New FileApplyputstream (Dest.)); Stamper.addViewerPreference (PdfName.DUPLEX, PdfName.DUPLEXFLIPLONGEDGE); Stamper.close (); Reader.close ();   

Possible values ​​for this audience preference are pdfName.SIMPLEX , pdfName.DUPLEXFLIPSHORTEDGE and pdfName.DUPLEXFLIPLONGEDGE . This code implements ISO-32000-1 and works with all audiences who have implemented the audience's preferences defined in ISO 32000-1. This is not for all the viewers who will get you on the market. Perhaps this is the reason that you have no luck.

Which device are you using to render PDFs? (Note that I do not know what is meant by "Add ASET", you can make it clear.)

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -