How To Print, Save, and Bypass Sealed PDF (.spdf) Security Restrictions

by Eric on February 20, 2009 · 19 comments

in How To,Tips and Tricks

After purchasing my math book from iChapters.com, I was pissed off to find out that the chapters are in secure pdf format (.spdf). That means that I had to install the Oracle IRM unsealer in order to view my chapters. These .pdf’s cannot be opened without the unsealer program, which authenticates you and unlocks the document. However, you’re not home free once the document is unlocked.

Here are some of the hindrances and restrictions:

  • You need to install 3rd party software to view the .spdf
  • You must be connected to the internet (no offline viewing)
  • You cannot print to a digital file (cannot print to .ps, .pdf, or use Microsoft XPS Document Writer)
  • You must remember to “check-in” the .spdf because it can’t be viewed on more than two computers

These restrictions don’t just go for the material on iChapters.com, it also goes for lots of other .spdf distributors as well. What I hate about the whole thing is that I paid for the material, yet I cannot conveniently access it without jumping through hoops. Unless I wanted to print out 1,000 pages, then I can’t take the chapters with me. Even still, if I wanted to view the files, I’ll have to make sure there’s an internet connection and also make sure that I haven’t opened the file on two different computers because that would leave the file license “checked-out” and not viewable on any other machines.

These restrictions are set in place to prevent bad people from redistributing the material, but at what cost? A HUGE cost to the honest user, I’ll tell ya. So, here’s how to get around that nonsense and print the .spdf to a more convenient .pdf file:

  • Setup a CUPS print server on a 2nd PC (or use a virtual machine)
  • Add and share a PDF printer on the CUPS server
  • Connect/add to the CUPS PDF printer to your PC that can view the .spdf
  • Print the .spdf to the networked CUPS PDF printer

Basically, this circumvents the digital print security by making the .spdf think that it’s being printed to a real networked printer.


Setting up CUPS

First, you need to setup CUPS. This guide is going to be using Ubuntu 8.10 as the CUPS server.

Install the CUPS-pdf printer by opening a terminal and running “sudo apt-get install cups-pdf”.

install-cups-pdf

IMPORTANT: After you install “cups-pdf”, create a folder named “PDF” in your home folder. For example, my home directory is /home/prochobo so the folder will be /home/prochobo/PDF. If you skip this step, the .pdf’s you print will have no place to be saved!

Then, go to “System -> Administration -> Printing”. Here, you will need to add a new printer.

add-printer1

Make sure “CUPS-PDF” is selected as the device

add-printer2

Then go with the default options from here on.

add-printer3add-printer4

add-printer5


Share CUPS-PDF Printer

Right click on the CUPS PDF Printer and check the “Sharing” check box. Then, go to “Server -> Settings” and make sure “Publish shared printers connected to this system” and “Allow printing from the Internet” are checked.

share-cups-pdf-printer1share-cups-pdf-printer2


Verify CUPS PDF Printer and Get Address

Now that you have the printer shared, you will need to verify your installation and locate the address of the printer.

Open a web browser and browse to “http://youripaddress:631″. Replace “youripaddress” with the private IP address of the Ubuntu (or whatever distro) CUPS server. For example, my private IP is 192.168.37.128, so the URL I need to browse to is “http://192.168.37.128:631″.

cups-printer-config1

Now go to “Manage Printers”, then click on the CUPS-PDF printer we just created.
Once you’re at the CUPS-PDF-Printer page, take note of the URL in your address bar. This is the address that we will use on your Windows PC to connect to the CUPS server. In this example, the URL I would copy and use is “http://192.168.37.128:631/printers/CUPS-PDF-Printer”

cups-printer-config2


Adding CUPS-PDF-Printer to Windows

Now that we’ve verified that the PDF printer is installed and shared, we can now add it to our Windows PC that will be opening/printing the sealed pdfs.

I’m using Windows XP for this example. The process for Windows Vista is slightly different, but the gist is the same.

First, go to “Start -> Printers and Faxes” and click on “Add a printer” in the upper right (or just start the add printer wizard any way you want). You should then see the add printer wizard as shown below.

windows-add-printer1

Click “Next” and choose “A network printer, or printer attached to another computer”. Click “Next” again and you’ll be asked for the address of the printer.

windows-add-printer3

Select “Connect to a printer on the Internet or on a home or office network:” and enter in the address of the CUPS-PDF-Printer you copied earlier. This is the URL from the CUPS web page. For example, the path to my printer is “http://192.168.37.128:631/printers/CUPS-PDF-Printer”. Capitalization does matter. Click “Next” and you’ll be asked to choose a driver for the printer.

windows-add-printer4

I chose to use the HP DeskJet 1200C/PS driver since it supports color printing though any color PS driver should do. Click “OK” to install the driver, then click “Next” through the remaining screens.

windows-add-printer5windows-add-printer6


Finished!

If you look at your printers, you should see the newly created CUPS PDF Printer.

windows-cups-pdf-printer

Now, all you have to do is select the CUPS PDF Printer for whatever you want to print, including sealed PDF files. The document will print to the CUPS server and the .pdf will be saved in your /home/user/PDF folder. These created .pdfs have no security protection and can be opened just like any other .pdf file!


Alternatives:

As suggested by some of my readers, there are alternatives if the process above seems too daunting. Taken right out of the comments below, here are their suggestions:

J -

Paperless Printer

First, let me say that the CUPS server idea is a great solution, and whoever wrote this article is the man. I am however just an engineering student and the task seemed a little daunting. With a little trial and error I was able to find a solution that was easier for me. There is a program called “Paperless Printer”, which for some reason is able to create a non secure PDF from an Oracle spdf file. Just install it, and print. It gives you a “failed to print” error message, but it also gives you a crisp 600dpi copy of your book. Just follow these steps:

-Download and install “Paperless Printer”.
-Open your spdf and click “Print”.
-In the print window choose “Paperless Printer”.
-Click on “Advenced” at the bottom of the page. In the advanced window choose “print image” and selct 600dpi.
-Click print.
-When the first “Paperless Printer” window comes up choose “save as pdf”.
-In the seccond “Paperless Printer” window go to “Images and Shapes” and deselect “Include Shapes”. (If you include shapes an embedded security feature garbles a random section of each printed page.)
-In the same tab select “Include Images”.
-Go to the “Compression” tab and select your desired compression type.
-Click “OK”.
-Smile with satisfaction and take a little victory spin in your swivel chair.

D -

DoPDF

I recommend using DoPDF. No spam, no registration, and free. Also, Paperless Printer lost all of the formatting on my girlfriends iChapter book. When I used DoPDF – no issues. No Watermark. Simple, easy.

{ 19 comments… read them below or add one }

1 GamblingInCalifornia 02.23.09 at 4:32 pm

I was in the same wagon as you, some pdf files with DRM, thanks for helping me with this

2 Manuela 03.16.09 at 3:05 pm

This was amazing. I can’t believe I am going thru this exact same thing. I was hoping to convert the online version of my books to an audio file so I could listen to them on my ipod. I work full time on computers all day and then to read books at night for school – I am seeing double and am on the road to ruined vision. Same problem with printing restrictions. Although ichapters.com has gotten around the need to be online and lets you dowload the chapters. I have had no problem viewing them on my laptop on the bus. Just more blurred vision on my end. I am not real tech savvy so some of your direction is over my head right now. I am not familiar with what a CUPS server is or how to install one but I will learn quickly as I have years of schooling left and plan to get this issue solved. Can you recommend a good site or reference material to get me up to speed for what a CUPS server is?

3 Nick 04.09.09 at 1:01 am

doesn’t seem to work, locally it does but when I try to print acrossed it will not go, any suggestions?

4 J 04.20.09 at 2:35 pm

First, let me say that the CUPS server idea is a great solution, and whoever wrote this article is the man. I am however just an engineering student and the task seemed a little daunting. With a little trial and error I was able to find a solution that was easier for me. There is a program called “Paperless Printer”, which for some reason is able to create a non secure PDF from an Oracle spdf file. Just install it, and print. It gives you a “failed to print” error message, but it also gives you a crisp 600dpi copy of your book. Just follow these steps:

-Download and install “Paperless Printer”.
-Open your spdf and click “Print”.
-In the print window choose “Paperless Printer”.
-Click on “Advenced” at the bottom of the page. In the advanced window choose “print image” and selct 600dpi.
-Click print.
-When the first “Paperless Printer” window comes up choose “save as pdf”.
-In the seccond “Paperless Printer” window go to “Images and Shapes” and deselect “Include Shapes”. (If you include shapes an embedded security feature garbles a random section of each printed page.)
-In the same tab select “Include Images”.
-Go to the “Compression” tab and select your desired compression type.
-Click “OK”.
-Smile with satisfaction and take a little victory spin in your swivel chair.

5 Carmen 04.22.09 at 4:49 pm

The paperless printer totally works. Just takes a long time. Test it by printing just the first page. Print only a few at a time if youre doing a whole book.

6 Eric 04.22.09 at 5:26 pm

J – No, you are the man! Paperless Printer was originally what I was looking for. Since I couldn’t find software like that, I resorted to solution I wrote here. By far, Paperless Printer would be a lot easier than setting up CUPS.

7 Ang 05.10.09 at 10:29 pm

Thank you for the great information on printing .pdf’s paperlessly. I was able to do what you suggested, but not able to keep the true interactivity of a resident .pdf.

When I was evaluating making my chapter purchase, the first chapter was completely open and available to use as any resident .pdf. I’m hoping to find a hack that will allow me to obtain interactivity of true pdf’s out of .spdf’s

Any leads on a hack for that?
Many thanks!

8 Eric 05.11.09 at 8:26 am

Ang – I’m not sure what you mean by “interactivity”. This guide will let you take .spdf’s and basically convert them to .pdf’s, which will allow it to be viewable anywhere.

9 B 05.25.09 at 6:57 pm

I think he means some sort of hyperlink inside the pdf that would take you to another page in the same file. Or maybe just being able to copy and paste text or search for a word inside the pdf file.

10 D 05.29.09 at 11:21 am

I recommend using DoPDF. No spam, no registration, and free. Also, Paperless Printer lost all of the formatting on my girlfriends iChapter book. When I used DoPDF – no issues. No Watermark. Simple, easy.

11 Eric 05.29.09 at 11:57 am

D, thanks for the recommendation! Doing what you said is a lot easier than following this guide for the less technically inclined. Going to update this post with the recommendations from you guys. Appreciate it!

12 james 06.03.09 at 1:59 pm

Ok I am using DoPDF and running into a problem. I am trying to get my iChapters books on my ebook reader but using DoPDF the watermark is garbling the text around it, making a paragraph on every page unreadable. It looks ok on the desktop, but in the reader it is illegible. Also I am running vista and cannot get paperless printer to install properly. Anyone figure out something to help with this?

13 kim 06.07.09 at 5:36 pm

ichapters got me too…. THANKS FOR THE WORKAROUND!!!!

14 hi 08.26.09 at 5:03 pm

I’m having some problems with this. I’m trying to do it with a vista install (not mine) and my linux install. That printer isn’t listed and when I try other color PS printers I don’t get anything in my PDF folder.

When I try DoPDF I get an error saying that it can’t be done because it would copy the file first.

I get an error using paperless printer asking if the printer is connected.

I officially hate ichapters…

15 Eric 08.26.09 at 5:13 pm

Are you able to see the web page of the PDF printer on the CUPS server?

If so, then everything on your Linux box is probably setup correctly, so the problem could lie in your drivers. I don’t have a Vista box at the moment, but for the drivers, try choosing the HP Laserjet 1200 PS or PCL driver and see if that works.

As for DoPDF and Paperless Printer not working with Vista, it could be an issue with the software, additional protection that iChapters put in, a combination of the two, or something totally different. The last time I used DoPDF was on an XP machine not more than two months ago to save iChapters material.

16 hi 08.26.09 at 5:56 pm

I can see the cups pdf printer page but when I do print test page from there it doesn’t print anything to the pdf folder, even though it says it was completed. I checked on the vista install and saw that it couldn’t connect to the printer to complete the job. So I’m not quite sure what might be wrong with the cups install, I followed the directions exactly. On ubuntu 8.10 64bit.

Paperless printer now gets the same error as dopdf. The error that I was getting for paperless printer now happens for any printing option after getting the error about it needing to make a copy first. The only way to try to print again is to restart the computer.

17 Eric 08.27.09 at 9:06 am

I see. Since nothing is printing to your PDF folder, it may be a permissions issue. Make sure your folder is named “PDF” (all caps) and that the path is /home/yourusernamehere/PDF

To change the permissions to the PDF folder, open a command terminal and run the following commands:

cd ~
sudo chmod 777 PDF

That will give read-write-execute permissions to everybody for the PDF folder. Then try printing a test page and see what happens.

18 Rich Black 09.01.09 at 12:12 am

Your doing too much. Just Use Nitro Pdf. It prints everything from ichapters without changing anything. Just my two cents.

19 Andrew 08.18.10 at 7:13 pm

Hi,
I followed the exact suggestions and tried to print from my Windows Vista machine to my Ubuntu 10.04 machine.

When I click print icon in Windows from the .spdf file, it says it is printing but I do not see the output file anywhere in my Ubuntu PDF folder.

is there anything that I am missing? Really appreciate any advice.

Andre

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comment moderation is enabled. Your comment may take some time to appear.

Previous post:

Next post: