I started this blog exactly 2 years ago, in Sept. 2010. Today we passed a new milestone. Thanks everyone.
You have a PDF file and you want to remove some parts of it, for instance the page numbers.
Use the program “pdfedit”. Select the object to be removed and press Del. That’s all :) At the end save the PDF.
I’ve been trying to print a PDF file for a week :) We have a network printer here that requires authentication when a print job is sent. Everything seems to be fine but nothing comes out of the printer. First I thought the file was too big, so I tried to send it in two pieces. Nothing. Send it in smaller pieces. Still nothing. Did the admins block me? But I can print other things. What’s going on?
Well, there must have been a problem with the PDF file itself. I could open it, browse it, but for some unknown reason the printer didn’t eat it. Here is the trick that worked for me:
# produces die.ps
mv die.pdf die.pdf.bak
# produces a correct die.pdf file
The new PDF file caused no problems.
I have an Artec e+ Pro scanner that I used years ago under Windows XP without any problem. It’s a great scanner, I liked it. I found it a few weeks ago and today I wanted to use it. Well, I was too naive again…
(The exact text I have on its box: Artec e+ Pro Scanner, 1200×2400 dpi, 48 bits true color quality).
The official driver for this model is up to Windows XP. I only have Windows 7 and Linux, so first I tried to use it under Windows 7. On the installation CD there is a SETUP.EXE that I opened in Windows XP compatibility mode. The installation of the driver went smoothly but when I opened the application and clicked on “Scan”, it told me that a Twain driver is missing. I was looking for it everywhere but I didn’t find it. In the forums I read that Artec didn’t make a Windows 7 driver for this model.
OK, it won’t work under Windows 7. Then I thought: “Hey, let’s try it under Linux too!” And you know what? It worked! :) Here is what to do.
There is a scanner howto for Ubuntu (see here). I installed
xsane but it dropped me an error message similar to this: “
Failed to open device 'artec_eplus48u:libusb:001:003': Invalid argument.” Fortunately there is a page that explains how to configure this particular scanner for
xsane (see here).
The page ArtecEplus48uConf explains the configuration of a 48U scanner. However, my scanner must be a variation of this scanner, its official name is “e+ Pro”. But they are very similar. Here is what I did to resurrect my e+ Pro scanner:
- download the firmware
1200.usband extract it (you can also copy it from the official CD)
- copy the file
- edit the file
artec_eplus48u.confand modify the part shown below
# This section is for the Artec E+ Pro # Note, that the name of the firmware file is called 1200.usb for # this device usb 0x05d8 0x4004 option artecFirmwareFile /etc/sane.d/1200.usb option ePlusPro 1 option vendorString "Artec" option modelString "E+ Pro"
I only had to edit just one line to precise the path of the file
xsane should be able to handle your scanner correctly :)
There is a solution to make it work under Windows 7. Install XP Mode, which is a virtual Windows XP inside your Windows 7. In this XP I could install the official CD and I could use the scanner.
When I launched the scanner application, it still said that the Twain driver is missing. But then XP noticed the new hardware and asked for a location from where it could install the driver. After specifying the XP folder on the CD, the Twain driver got installed.
Drag and drop your image, download the pixelated result.
sudo truecrypt <truecrypt-file> <mount-point>
This will open a GUI window where you can specify the password.
If you want a full CLI solution, check out this page.
To unmount a volume, do this:
sudo truecrypt -d <path-to-truecrypt-file>
“In these two books, the authors of four dozen open source applications explain how their software is structured, and why. What are each program’s major components? How do they interact? And what did their builders learn during their development? In answering these questions, the contributors to these books provide unique insights into how they think.
If you are a junior developer, and want to learn how your more experienced colleagues think, these books are the place to start. If you are an intermediate or senior developer, and want to see how your peers have solved hard design problems, these books can help you too.“