{"id":1442,"date":"2016-05-03T19:42:28","date_gmt":"2016-05-04T00:42:28","guid":{"rendered":"http:\/\/montgomeryminds.com\/blog\/?p=1442"},"modified":"2016-05-11T18:12:47","modified_gmt":"2016-05-11T23:12:47","slug":"unlock-pdf-file","status":"publish","type":"post","link":"https:\/\/montgomeryminds.com\/blog\/unlock-pdf-file\/","title":{"rendered":"Unlock PDF file"},"content":{"rendered":"<p><!-- CAN NOT USE TinyMCE aka VISUAL TAB BECAUSE IT REMOVES STYLE TAGS SINCE 3.9 !!!! --><br \/>\n<!-- CAN NOT HAVE ANY BLANK LINES IN STYLE; WP ADDS PARAGRAPH!!! --><br \/>\n<!-- \/cygdrive\/c\/a_no_backup\/dl\/M_M\/usb_drive_copy\/tech\/blog\/__DIR__NAME__HERE__\/post.html --><\/p>\n<style type=\"text\/css\" media=\"all\">@import url(https:\/\/montgomeryminds.com\/css\/wp_blog_fixes.css);h2.mm_pdf_unl{text-decoration: underline;}<\/style>\n<h1>How to unlock a secured\/protected PDF file so you can copy and paste or print from it<\/h1>\n<h2 class=\"mm_pdf_unl\">Option 1 : Ghostscript<\/h2>\n<h2>Download portable <strong>Ghostscript<\/strong> from PortableApps.com :<\/h2>\n<ul>\n<li><a href=\"http:\/\/portableapps.com\/apps\/utilities\/ghostscript_portable\">http:\/\/portableapps.com\/apps\/utilities\/ghostscript_portable<\/a>\n<ul>\n<li>This will take you to a download page at sourceforge (I know it <i>looks<\/i> like a direct link, but this is sourceforge&#8211;it&#8217;s a webpage with a .exe name)\n<ul>\n<li><a href=\"http:\/\/downloads.sourceforge.net\/portableapps\/GhostscriptPortable_9.19.paf.exe\">http:\/\/downloads.sourceforge.net\/portableapps\/GhostscriptPortable_9.19.paf.exe<\/a>\n<ul>\n<li>Another name for the same download page:\n<ul>\n<li><a href=\"https:\/\/sourceforge.net\/projects\/portableapps\/files\/Ghostscript%20Portable\/GhostscriptPortable_9.19.paf.exe\">https:\/\/sourceforge.net\/projects\/portableapps\/files\/Ghostscript%20Portable\/GhostscriptPortable_9.19.paf.exe<\/a>\n                  <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>If that doesnt work, here&#8217;s the download URL direct to the file:\n<ul>\n<li><a href=\"http:\/\/iweb.dl.sourceforge.net\/project\/portableapps\/Ghostscript%20Portable\/GhostscriptPortable_9.19.paf.exe\">http:\/\/iweb.dl.sourceforge.net\/project\/portableapps\/Ghostscript%20Portable\/GhostscriptPortable_9.19.paf.exe<\/a>\n      <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Install Ghostscript.<\/h2>\n<ul>\n<li>NOTE: it does not really &#8220;install&#8221;. It just writes files to a particular folder.<\/li>\n<li><strong>TAKE NOTE OF THE FOLDER!<\/strong> You may also change its location and name if you like.<\/li>\n<li>We will enter this foldername later.<\/li>\n<\/ul>\n<h2>Start the Windows program <strong>Notepad<\/strong><\/h2>\n<h2>Copy and paste the following text<\/h2>\n<ul>\n<li>You will have to CHANGE the names of the input and output files after you paste into Notepad.\n  <\/li>\n<li>(You might have to scroll right to see\/get\/copy all of this)\n<pre style=\"border: solid\">\r\ngswin32c -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=\"<strong>OUTPUT PDF<\/strong>\" \"<strong>INPUT PDF<\/strong>\"\r\npause\r\n    <\/pre>\n<\/li>\n<li><strong>INPUT PDF<\/strong> &#8211; this is the full path name to the file you want to unlock by converting\n  <\/li>\n<li><strong>OUTPUT PDF<\/strong> &#8211; this is the full path name to the new file you want to create (the filename should not exist yet&#8211;but the folder should)\n  <\/li>\n<li>Example 1 of possible INPUT and OUTPUT PDF files:\n<ul>\n<li>INPUT: <code>C:\\users\\johndoe\\Downloads\\some_file.pdf<\/code>\n    <\/li>\n<li>OUTPUT: <code>C:\\users\\johndoe\\Downloads\\some_file_unlocked.pdf<\/code>\n    <\/li>\n<\/ul>\n<\/li>\n<li>Example 2 possible of INPUT and OUTPUT PDF files:\n<ul>\n<li>INPUT: <code>\"C:\\users\\johndoe\\Desktop\\another file.pdf\"<\/code>\n    <\/li>\n<li>OUTPUT: <code>\"C:\\users\\johndoe\\Desktop\\another file unlocked.pdf\"<\/code>\n    <\/li>\n<\/ul>\n<\/li>\n<li>If the folder path or file name contains spaces, the filename must be in &#8220;double quotes&#8221; (otherwise the quotes are optional)\n  <\/li>\n<\/ul>\n<h2>Save the file as <code>convert_pdf.bat<\/code> in the <strong><code>bin<\/code><\/strong> sub-folder within the folder where you &#8220;installed&#8221; Ghostscript<br \/>\n<\/h2>\n<ul>\n<li>Example save location: <code>C:\\user\\johndoe\\Downloads\\CommonFiles\\Ghostscript\\bin\\<\/code>\n  <\/li>\n<\/ul>\n<h2>Navigate to that <code>bin<\/code> sub-folder and double-click <code>convert_pdf.bat<\/code> to run it.<br \/>\n<\/h2>\n<ul>\n<li>It should create an unlocked version of your file for you.\n  <\/li>\n<\/ul>\n<h2 class=\"mm_pdf_unl\">Option 2 : Upload to google drive (docs)<\/h2>\n<p>Then cut-n-paste from within google drive.<\/p>\n<h2 class=\"mm_pdf_unl\">Option 3 : Upload to free <a href=\"https:\/\/docs.zoho.com\">zoho docs<\/a>.<\/h2>\n<p>Then cut-n-paste from within <a href=\"https:\/\/docs.zoho.com\">zoho docs<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to unlock a secured\/protected PDF file so you can copy and paste or print from it Option 1 : Ghostscript Download portable Ghostscript from PortableApps.com : http:\/\/portableapps.com\/apps\/utilities\/ghostscript_portable This will take you to a download page at sourceforge (I know &hellip; <a href=\"https:\/\/montgomeryminds.com\/blog\/unlock-pdf-file\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,9],"tags":[],"_links":{"self":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts\/1442"}],"collection":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/comments?post=1442"}],"version-history":[{"count":24,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts\/1442\/revisions"}],"predecessor-version":[{"id":1466,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/posts\/1442\/revisions\/1466"}],"wp:attachment":[{"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/media?parent=1442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/categories?post=1442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/montgomeryminds.com\/blog\/wp-json\/wp\/v2\/tags?post=1442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}