Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2018, 08:05 AM   #1
lensmann
Zealot
lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.
 
lensmann's Avatar
 
Posts: 135
Karma: 375538
Join Date: Sep 2014
Device: Kobo Aura One, Kobo Aura HD, Onyx Boox Max 2, ThinkBook Plus Gen 2
[Max 2] Printing annotations in exported PDF

Hi all,

I'm having difficulty getting handwritten annotations made on the Max 2 to print. In summary, I'm using the Max 2 to annotate PDFs, which I export using the Max 2's built-in export function. I can transfer the annotated PDF to my computer (running Windows 10) without any problem, and the annotations appear perfectly when I view the file on screen in Adobe Reader. However, the annotations don't print when I print the PDF. Pages with handwritten annotations print without the annotations, and notes pages print as blank.

I've tried a range of print settings in Adobe Reader. I've tried setting the "Comments & Forms" to "Document and Markups" and every other option. I've tried the 'Print as Image' option, the 'Simulate Overprinting" option, and every combination thereof. I've also tried with the "Print notes and popups" option enabled and disabled. I've tried it in Adobe Reader and Acrobat Pro. Nothing helped.

Has anyone had similar issues and is there an easy fix? Apologies if this has been discussed before - a forum search brought up a few posts about a similar issue on the M92, but nothing more recent than that.
lensmann is offline   Reply With Quote
Old 08-21-2018, 09:16 AM   #2
M4H35H
Connoisseur
M4H35H doesn't litterM4H35H doesn't litter
 
Posts: 85
Karma: 126
Join Date: May 2015
Device: Sony PRS-950, Hanvon E920, Onyx Boox Note Lite, Boox Max2
I use PDF Xchange Viewer to flatten comments. It works with my M92
Attached Thumbnails
Click image for larger version

Name:	Flatten comments.png
Views:	638
Size:	31.8 KB
ID:	165755  
M4H35H is offline   Reply With Quote
Advert
Old 08-21-2018, 05:20 PM   #3
lensmann
Zealot
lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.
 
lensmann's Avatar
 
Posts: 135
Karma: 375538
Join Date: Sep 2014
Device: Kobo Aura One, Kobo Aura HD, Onyx Boox Max 2, ThinkBook Plus Gen 2
Thanks very much, M4H35H. That was a very helpful suggestion! PDF-XChange Viewer works beautifully, although the 'flatten comments' function requires a pro license if you want to save the flattened file (which I will need to do for some files).

However, your post also helped me to find a solution in Acrobat Pro (which I already have via work). The built-in 'flatten comments' function in Acrobat Pro's 'preflight' menu does not work well at all well - around 60% of the pen strokes simply disappear. However, running the following command in Acrobat Pro's interactive javascript console flattened all the comments correctly.

Code:
this.flattenPages();
The resulting PDF prints perfectly.

For a FOSS solution, I assume ghostscript can be used to do this. I'll give it a try on my Linux machine at home this weekend.

But anyway, thanks very much. That's resolved my problem.
lensmann is offline   Reply With Quote
Old 08-22-2018, 12:19 PM   #4
MadAstra
Enthusiast
MadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipse
 
Posts: 45
Karma: 8236
Join Date: Apr 2018
Device: Kindle Oasis, Onyx Boox Note
If you figure out how to do this on Linux I'd love to know. I don't have Acrobat Pro and this has been driving me nuts. Thank you.
MadAstra is offline   Reply With Quote
Old 08-27-2018, 04:46 PM   #5
lensmann
Zealot
lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.
 
lensmann's Avatar
 
Posts: 135
Karma: 375538
Join Date: Sep 2014
Device: Kobo Aura One, Kobo Aura HD, Onyx Boox Max 2, ThinkBook Plus Gen 2
Quote:
Originally Posted by MadAstra View Post
If you figure out how to do this on Linux I'd love to know. I don't have Acrobat Pro and this has been driving me nuts. Thank you.
In that case, you'll be happy to hear that it turns out to be very simple to do it with ghostscript. All you need to do is create a new PDF forcing ghostscript to use the file's 'screen' options rather than its 'printer' options, by setting -dPrinted=false.

Code:
gs -sDEVICE=pdfwrite -dDOPDFMARKS -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -dPassThroughJPEGImages=true -sOutputFile=output.pdf input.pdf
This gives you a new PDF where the annotations print perfectly.

Note that I tried this on gs version 9.18. If you're using version 9.21 or later and find this doesn't work, you may need to also add -dPreserveAnnots=false.

I've only tried this on Linux, but it should work on any platform where you can install ghostscript.

Last edited by lensmann; 08-27-2018 at 04:55 PM.
lensmann is offline   Reply With Quote
Advert
Old 08-28-2018, 10:42 AM   #6
MadAstra
Enthusiast
MadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipse
 
Posts: 45
Karma: 8236
Join Date: Apr 2018
Device: Kindle Oasis, Onyx Boox Note
Thank you so much, lensmann. That's a lifesaver. I was playing around with ghostscript's options and couldn't get it to work. But your incantation did the trick. This is the best tip ever!
MadAstra is offline   Reply With Quote
Old 09-04-2018, 08:32 AM   #7
lensmann
Zealot
lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.
 
lensmann's Avatar
 
Posts: 135
Karma: 375538
Join Date: Sep 2014
Device: Kobo Aura One, Kobo Aura HD, Onyx Boox Max 2, ThinkBook Plus Gen 2
Ah, excellent. Glad to have been of assistance.

I've done a bit more digging, and have finally figured out what the problem is. The PDF files produced by the Max 2's 'export' function turn handwritten notes into annotations of the type 'polyline', but do not set the 'print' flag for the annotation. According to the PDF specification, annotations will not print unless the flag is set to true. Fortunately, this can be done in Acrobat Pro by running the following in the javascript console:

Code:
var annots = this.getAnnots() 
for (var i = 0; i < annots.length; i++)
     annots[i].setProps({print: true});
The advantage this method has is that it does exactly what is necessary to fix the precise problem, and does not require you to flatten the PDF.

In Linux, it should be possible to achieve the same result with pdfedit, but unfortunately I don't know its scripting language so I can't help further. However, this only matters if for some reason you need to avoid flattening the PDF. If all you want to do is to print and don't care about flattening, just use gs as discussed above.
lensmann is offline   Reply With Quote
Old 09-04-2018, 01:06 PM   #8
MadAstra
Enthusiast
MadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipseMadAstra can illuminate an eclipse
 
Posts: 45
Karma: 8236
Join Date: Apr 2018
Device: Kindle Oasis, Onyx Boox Note
Excellent. I love understanding the root of the problem. This is great investigation.
MadAstra is offline   Reply With Quote
Old 05-16-2019, 08:24 PM   #9
smc88
Junior Member
smc88 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2019
Device: Onyx Boox Max2 Pro
Exporting PDF annotations to cloud

Hi everyone, I read and make highlights to a lot of academic papers. I store these in MEGA cloud app which syncs them across my devices. Am I correct in thinking that since MEGA is available on the Google Play store, I could download it on the Boox and Max2 Pro, open up a PDF, make some highlights and scribbles, save them in the PDF, and then have them synced back through the cloud and see the changes on my other devices? Does the Boox Max 2 allow for overwriting the PDF file you're reading when you save it?

Alternatively, if opening up the files with Neo Reader directly from MEGA is an issue, I imagine using an app like FolderSync to make the folder from MEGA seem like a regular folder on the Boox, which would enable me to directly open and annotate PDFs.
smc88 is offline   Reply With Quote
Old 09-04-2019, 04:02 PM   #10
KarlVoit
Member
KarlVoit began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2019
Device: Onyx Boox Max2
Potential related issue

Hi,

I've reported an issue which might be similar: https://www.mobileread.com/forums/sh...d.php?t=322755

Although: the provided "ps"-command did not result in a PDF where Okular/XPdf is displaying my handwritten notes. PDFedit is not installable any more. So I could not test this.
KarlVoit is offline   Reply With Quote
Old 09-05-2020, 07:58 AM   #11
grandnez
Member
grandnez began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Feb 2017
Device: onyx boox Max
Compatibility

Quote:
Originally Posted by smc88 View Post
Hi everyone, I read and make highlights to a lot of academic papers. I store these in MEGA cloud app which syncs them across my devices. Am I correct in thinking that since MEGA is available on the Google Play store, I could download it on the Boox and Max2 Pro, open up a PDF, make some highlights and scribbles, save them in the PDF, and then have them synced back through the cloud and see the changes on my other devices? Does the Boox Max 2 allow for overwriting the PDF file you're reading when you save it?

Alternatively, if opening up the files with Neo Reader directly from MEGA is an issue, I imagine using an app like FolderSync to make the folder from MEGA seem like a regular folder on the Boox, which would enable me to directly open and annotate PDFs.
Do you know now the answer to these questions? If you bought the boox Max, which is your impression regarding these questions?
grandnez is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura Annotations exported to the PC? Beniamina Kobo Reader 6 09-16-2017 10:22 AM
Formatting of exported annotations bounce Marvin 5 07-29-2016 03:25 PM
[marvin] exported annotations in xhtml tsolignani Apple Devices 8 02-18-2013 06:59 AM
Scribble on PDF can be exported to PDF - linux system cadmus Sony Reader 14 02-21-2012 10:57 PM
Printing annotations pjssilva Sony Reader 2 09-01-2009 08:25 AM


All times are GMT -4. The time now is 05:25 AM.


MobileRead.com is a privately owned, operated and funded community.