![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 821920
Join Date: Sep 2014
Device: Clara BW, Aura One, Aura HD, 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. |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() 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
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 821920
Join Date: Sep 2014
Device: Clara BW, Aura One, Aura HD, 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(); 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. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#5 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 821920
Join Date: Sep 2014
Device: Clara BW, Aura One, Aura HD, Boox Max 2, ThinkBook Plus Gen 2
|
Quote:
Code:
gs -sDEVICE=pdfwrite -dDOPDFMARKS -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -dPassThroughJPEGImages=true -sOutputFile=output.pdf input.pdf 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. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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!
|
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 821920
Join Date: Sep 2014
Device: Clara BW, Aura One, Aura HD, 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}); 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. |
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() 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. |
![]() |
![]() |
![]() |
#10 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#11 | |
Member
![]() Posts: 15
Karma: 10
Join Date: Feb 2017
Device: onyx boox Max
|
Compatibility
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |