May 20th 2009 printing password protected PDF files

Recently I needed to print a PDF file that I created a while ago. It happens that I put some stupid printing restriction and I couldn’t remember the password. After doing some research, I found that I didn’t need to pay for expensive software to override the password. This is what I did with ghostscript:

gs -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=fileWithoutPassword.pdf -dNOPAUSE -dBATCH fileWithPassword.pdf


change according your needs…

No Comments » Posted by julovi / Salt and pepper

Apr 28th 2008 Using Apple remote control with PDF presentations

I do all my presentations in Latex/Beamer and I wanted to control my presentation with the remote control of my MacBook. Apple support already Keynote, and there are applications for Microsoft PowerPoint. So, frustrated by that, I did it myself and here it is for you to use it freely:

  1. Get and install iRed Lite from
  2. Download the iRed layer I created (AcrobatReader.irla) from here: acrobatreader.

If you have problems downloading the irla file, try this version

This is the button / action pairs:

  • Play/Stop: Enter in Full Screen Mode
  • |<< : Backward one slide
  • >>|: Forward one slide
  • double |<<: First slide
  • double >>|: Last slide
  • +: Last Link/ Field/ Comment
  • -: Next Link/Field/Comment

This setup works for me, however, if you don’t like it, you can easily edit it using the iRed Lite – Editor. The truth is that it’s very simple.

Let me know if you find this helpful.


Acrobat Reader layer for iRed Lite
    Copyright (C) 2008  Julian Villegas

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <>

28 Comments » Posted by julovi / Salt and pepper