LifeAlgorithm / VitalSourcePrinter

Code to legally and automatically print your purchased e-books from VitalSource.com
MIT License
76 stars 24 forks source link

[request] Change number of pages #7

Closed StevenDTX closed 7 years ago

StevenDTX commented 7 years ago

The books that I wish to print actually allows 10 pages per print job. Is it possible to modify the code to print 10 pages at a time?

Thanks.

LifeAlgorithm commented 7 years ago

Yes, this is doable. Does the regular script with 2 pages work for you? I ask because a few users have run into issues with the tab, and I want to make sure that at a baseline, the normal script works before I proceed making a new script to adjust for different pages.

StevenDTX commented 7 years ago

Yes, the 2 page at a time script works great. Thank you for your efforts!

LifeAlgorithm commented 7 years ago

You're welcome. I wrote a new script. I got it to compile, but I don't have a book that allows 10 pages, so I'm not sure if it works. It's on a test branch:

https://github.com/LifeAlgorithm/VitalSourcePrinter/blob/TabFix/VitalSourcePrinter.py

StevenDTX commented 7 years ago

It works great! Thank you very much.

Note: The first print still only prints 2 pages, but the next print does however many you tell it.

LifeAlgorithm commented 7 years ago

I did that for speed reasons, but I can see how it might be unclear to someone who uses the script. I'll look into changing that later, but I'm glad the script is functional for now.