« Where to get/download LSIUtil | Displaying Chinese UTF-8 characters in gvim on Windows » |
Decertifying secured Stanford transcript PDF
Friday, March 29, 2013
Stanford (and probably many other schools) provide official transcripts in the form of a signed PDF. This transcript can only be opened using Adobe Acrobat; other readers simply choke on the document and can't open it. This is caused by the use of a proprietary "secured" document signing feature, apparently exclusive to Adobe Reader, which verifies the authenticity of the transcript. (For comparison, Duke University provides regular PDFs that can be opened by any reader, but can be verified by uploading the file to a trusted authority who confirms the document's legitimacy.)
Stanford's PDFs are particularly annoying because you can't take a screenshot with Print Screen (though the Snipping Tool works), Acrobat won't remove the signature, and attempting to use Acrobat Reader print the PDF to CutePDF simply results in a mostly-blank page with the following text:
ERROR: undefined OFFENDING COMMAND: get STACK: /quit -dictionary- -mark
Here's how to un-certify the PDF:
Open the secured PDF in Acrobat Reader and "Print to File" (File/Print, click Advanced, and check the box).
Note: this step may violate certain laws. Proceed at your own risk. A comment in the file declares that "Removing the following eleven lines is illegal, subject to the Digital Copyright Act of 1998."
Open the resulting .ps file in a text editor. Find and delete the following block:
mark currentfile eexec ... stuff here ... cleartomark
Then, use ps2pdf or similar to convert the PostScript file to PDF.
This entire step can be accomplished with the following:
$ sed '/mark currentfile eexec/,/cleartomark/d' secured.ps \ | ps2pdf - unsecured.pdf
For Stanford transcripts, the pages need to be rotated clockwise, so use pdftk:
$ pdftk input.pdf cat 1-endE output output.pdf
Comments
T on Sunday, November 10, 2013 at 14:53
Really helpful for me too!!
Rajen on Monday, February 2, 2015 at 22:53
This was really helpful. But why would CutePDF refuse to print such files? Any other PDF writer which would print to PDF such type (pdf files which are password protected) of files so that they become unprotected?
Regards,
Rajen.
David on Tuesday, February 3, 2015 at 10:19
@Rajen: I looked but wasn't able to find a program that would do this automatically, so this is the best I could come up with. I don't think it's CutePDF actively refusing to print the file; I think the "print" function in Adobe Reader is, possibly intentionally, sending things that CutePDF doesn't understand and can't handle.
jon on Wednesday, November 2, 2016 at 08:01
There is the regular "copy" that keeps showing all over the .pdf page. Any fix for this?
Hope you have a good day, and thank you for sharing your wisdom.
David on Thursday, December 8, 2016 at 20:05
@jon: Do you mean a big "copy" mark on the page, kind of like "proof" on a photo? To get rid of that, you'll probably need to edit the PDF itself. Unfortunately, I don't have a handy script for that.
Percy Rausch on Wednesday, April 16, 2025 at 21:43
Get more leads for your dzhang.com website by using AI on Instagram. If you're looking to drive more traffic, generate leads, and grow your brand's reach, you can get more information and start a free trial here: https://ow.ly/9pqC50VyYeY
This is an AI-powered Instagram growth service that:
-Increases followers with targeted, high-quality audiences.
-Boosts engagement through smart AI algorithms.
-Targets users based on hashtags and accounts they follow.
-Saves you time by automating tedious Instagram tasks.
Our service focuses on real, organic growth—no bots, no fake followers. It’s perfect for brands like yours that want to turn Instagram into a lead generation powerhouse. Better yet, our service is provided on a month-by-month subscription basis so you can cancel any time you like. No contracts and a 7 day free trial.
Maggie Brock on Thursday, April 17, 2025 at 06:16
Is your dzhang.com website maximizing its reach? Many websites overlook thousands of visitors daily due to lack of exposure. With our cutting-edge traffic solution, you can unlock a much larger audience.
To show you the impact, we’re offering a free trial that delivers 4,000 highly targeted visitors to your website. See the results firsthand, and then scale up to 350K visitors per month with our advanced packages. Let’s boost your website’s traffic and turn visitors into growth. Get more info here: https://ow.ly/IOm750VyY6n
Rosaline Askins on Thursday, April 17, 2025 at 14:44
Ready to ignite your website presence? Our AI-driven platform brings tailored website traffic using keywords or place-based filters from global areas to towns.
Seeking higher profits, livelier website traffic, or a stronger digital footprint?
We adjust it to fit your goals. Enjoy a 7-day free trial period with no contract. Dive in here:
https://ow.ly/FSRY50VyY80
Heike Sperling on Friday, April 18, 2025 at 15:16
Your website, dzhang.com, should be engaging far more visitors than it currently does. Many sites miss out on a thousand potential visitors every day. That’s where our automated traffic system makes a difference—delivering targeted visitors straight to your site.
Start with a free trial of 4,000 visitors to realize the benefits. Then, scale with packages offering up to 350,000 visitors monthly. Let’s boost your traffic today. Get more info here: https://ow.ly/bvOH50Vycma
Leticia Balsillie on Friday, April 18, 2025 at 15:55
Ready to enhance your website traffic reach? Our AI-enhanced brings targeted website traffic through keywords or place-based tags from global zones to towns.
Desiring higher profits, active pages, or greater digital reach?
We adjust it to your goals. Enjoy a 7-day free trial period with no contract. Begin here:
https://ow.ly/bvOH50Vycma
Kurt Arnott on Friday, April 18, 2025 at 23:19
Use AI to drive targeted traffic to your website for free with our brand new service. Get Free Google Analytics set up, real traffic, and target any location on Earth here: https://cutt.ly/WrgOJlqL
Jodie Cook on Saturday, April 19, 2025 at 13:50
Your website, dzhang.com, should be engaging far more visitors than it currently does. Many sites miss out on an enormous audience. That’s where our intelligent traffic system helps—delivering relevant visitors straight to your site.
Start with a complimentary 4,000-visitor boost to see the benefits. Then, scale with packages offering up to 350K visitors monthly. Let’s boost your traffic today. Get more info here: https://ow.ly/bvOH50Vycma
Joanne Mitchell on Sunday, April 20, 2025 at 10:27
Facing a sluggish website traffic flow? Our smart technology brings precise visitors using keywords or place targeting from countries to neighborhoods.
Needing more revenue, livelier interaction, or a stronger digital footprint?
We shape it to your needs. Enjoy a 7-day free trial period with no contract. Jump in here:
https://ow.ly/mkyk50Vycns
Margery Villagomez on Sunday, April 20, 2025 at 23:41
Your website, dzhang.com, could be attracting far more visitors than it currently does. Many sites overlook 1,000+ visitors daily. That’s where our AI-powered traffic system transforms results—delivering targeted visitors straight to your site.
Start with a test run with 4,000 visitors to experience the benefits. Then, scale with packages offering up to 350,000 visitors monthly. Let’s accelerate your traffic today. Get more info here: https://ow.ly/PRni50Vycpa
John on Wednesday, May 15, 2013 at 10:49
Wow, this is super useful for me.