Giter VIP home page Giter VIP logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Setting the page orientation should be easy. Setting the media size to auto 
could be a bit more tricky as it would assume that the PDF page sizes are 
standard printing sizes and usually they are not.

I could get the orientation to auto for now. Will that work? I'll have to think 
through the media size portion. 

Let me know as I am getting ready to put out a new minor release today. I could 
include this one change.

Thanks,

Pedro

Original comment by [email protected] on 23 Feb 2012 at 7:54

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Hi Pedro,
Orientation to auto would be great.
Thank you.

Original comment by [email protected] on 23 Feb 2012 at 7:57

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
One more Question,

does Auto mean if first page is landscape and second page is portrait then the 
printjob will also have first page landscape and second portrait?

Or do you just read the first page?

Original comment by [email protected] on 23 Feb 2012 at 8:01

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Yes. I will determine auto orientation based on the width and height of page. 
If width is wider than height then it is landscape and vice versa. I could send 
you a binary in a few minutes with the change for you to test before I publish 
final version. If so let me know what to send (win or linus x32 or x64).

Original comment by [email protected] on 23 Feb 2012 at 8:06

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
[deleted comment]

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Please send me windows x64 or x86, I can test on any Virtual machine.

Thank you.

Original comment by [email protected] on 23 Feb 2012 at 8:08

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Try this. Let me know if it works for you. To auto print just add the following 
line to your code:

p.setAutoRotate(true);

This will override whatever OrientationRequested you pass in. So don't worry 
about that parm just pass in whatever for now. In the future I might permit a 
null.

Pedro

Original comment by [email protected] on 23 Feb 2012 at 9:39

Attachments:

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Hi Pedro,

my first Test was successfully.
You are a genies. Great word, thanks.


Original comment by [email protected] on 23 Feb 2012 at 10:29

from jmupdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
New binaries are available.

Enjoy :-)

Pedro

Original comment by [email protected] on 24 Feb 2012 at 5:34

  • Changed state: Fixed

from jmupdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.