Author Topic: nPDF - A document viewer for the Nspire  (Read 237276 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nPDF - A document viewer for the Nspire
« Reply #105 on: March 21, 2016, 10:08:30 pm »
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline ImOnHere

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #106 on: March 30, 2016, 03:39:28 am »
Hate to revive an old thread but I ran nPDF on my CX CAS and it said I can now view .pdf, .html, etc files. Only issue I am having is getting .pdf files onto my calculator. I'm using the TI-Nspire CX CAS Student Software on my laptop and it tells me that .pdf files are not supported. I tried to change the file name to "filename.pdf.tns" but the software turns it into "filename.pdf.tns.pdf". I'm a newb when it comes to these things, but I am running 4.2 if that helps at all, and I do have Ndless 4.2cascx running on my calculator.  ??? ???
Thanks!

---Don't know if it makes a difference but I am also running Windows 10
*****UPDATE: I got it working. Well, somewhat. My PDF is 16 pages long and about halfway through the screen goes white and shows nothing... Hmmmmm....
« Last Edit: March 30, 2016, 10:30:30 am by ImOnHere »

Offline sumpm1

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Ctrl Tab
« Reply #107 on: May 03, 2016, 12:39:11 am »
I don't know if npdf 0.4b is maintained by anyone here. But I switched to this version.

To "go to page," the hotkey was previously "ctrl + g," now it is "ctrl + tab."

The "goto function" is working well and consistently. But since you are hitting "tab," the cursor jumps out of the textbox where you should type the page you want.

Just a small gripe.

The only reason I looked for a newer version after using critor's for a good while, is the "goto function" was inconsistent. Sometimes it would appear, sometimes I would have to close the pdf and reopen.



Oh and for those having "white page" issues, I have found a workaround that works sometimes. Reopen the pdf, use "goto" select a page near where you want to go, and then it seems to work.

It seems like you get white pages after browsing several consecutive pages, so going 5 pages in can result in white page. It looks like the ram is maybe getting full and it doesn't dump old pages out of the memory.

Edit (Eeems): Merged double post.
« Last Edit: May 06, 2016, 01:38:16 pm by Eeems »

Offline fgc2

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #108 on: May 28, 2016, 07:57:07 am »
Hello all!

I'm with 4.2 SO and already have de ndless and the npdf 0.4b . I'trs all been succesfully installed, but the problem comes when I try to send the documents to the calculator. The computer link recognises de .pdf file and don't let me tranfer the documents. All of you just change the name of the document for document.pdf.tns but in my case it only changes the name and the computer link still recognises that it's a pdf file (it appears documents.pdf.tns.pdf automatically). What should I do to fix this?

thanks, waiting for your answer.

Offline krytikul

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #109 on: June 19, 2016, 04:27:28 pm »
It seems I've been able to fix the blank/white page issue. muPDF was set for unlimited memory allocation(FZ_STORE) and this caused some issues with larger documents. I've changed FZ_STORE to 16MB and it seems to play nicely now. All of the PDFs that gave me this issue seem to be fine now.

Attached is the tns for the patched version. I've also submitted a pull request on the GitHub for the project.

Please let me know if this works for you! Thanks 

nPDFv0.5b
« Last Edit: June 19, 2016, 06:17:16 pm by krytikul »

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #110 on: June 19, 2016, 11:33:07 pm »
I thought I requested notifications for this thread, but I haven't received any. Anyway, I'll try to check this more frequently.

@sumpm1: That should be easy  to fix by adding one line, I will try to fix it by tomorrow.
@fgc2: This is usually an issue for Windows users, I think you have to change the settings in Windows Explorer (or whatever it is now) to show file extensions. Then you can replace the .pdf with .tns.
@krytikul: When I started this project I was having some issues (I don't remember what) with the FZ_STORE value and ended up setting it to unlimited. Hopefully it works, I will test the pull request.

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #111 on: March 10, 2017, 12:21:51 pm »
Guys, I'm still on OS 3.9.1, now that Ndless is available also for the last 4.4 version it's time to update it.
Following the guide I can choose between 4.0.3, 4.2.0 and 4.4.0 version of the OS, anyone has tested the last available nPDF 0.5b with these?
Or @Legimet is planning an update of the .tns? On the Github page I see the last edit of the project is dated 7 months ago..

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #112 on: March 10, 2017, 01:18:19 pm »
nPDF should work on OS 4.4, since it doesn't use any custom syscalls. I am planning an update at some point, but don't currently have the time.

Offline Striker3

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +1/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #113 on: April 19, 2017, 05:18:22 pm »
Just wanted to say that nPDF works on OS 4.4 just fine.

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #114 on: April 22, 2017, 08:11:09 am »
Does it work with classic (greyscale, os 3.9.0) calcs?

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #115 on: April 22, 2017, 08:21:22 pm »
It "works" on classic, but generally runs out of memory so it's not very usable. You can try it, though.

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #116 on: April 23, 2017, 08:39:22 am »
Thanks  :) .
Would memory optimisation be possible in the future?
Like lower picture resolution, or loading only one page at once?

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #117 on: April 25, 2017, 05:31:53 pm »
I'm not really sure, I'll have to check.

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #118 on: September 13, 2017, 05:19:20 am »
Hi Legimet, 2 weeks ago was released OS 4.5, 1 weeks ago a working Ndless.
I don't know how much spare time do you have for an update, but do you think the last version available would be compatible with the new operating system?

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nPDF - A document viewer for the Nspire
« Reply #119 on: September 13, 2017, 02:40:25 pm »
I haven't tried it, but tt should be compatible.