Impose single-page PDF on a page by repeating (Linux)

How to quickly make a PDF where a smaller size single-page PDF (e.g. A6) is copied n-times so you can quickly print it on any office printer on a regular A4 paper? For general purpose imposition I recommend using free service (although they still rely on Flash plugin so it becomes hassle to use it nowadays). For the simple scenarios where you don’t need removing cropmarks in the original file and just need to copy the same file multiple times on a bigger sheet you can use a nice Linux tool bookletimposer. It has GUI but I found easier to make a script with some fixed options to easily do common tasks with from the command line. First install bookletimposer (for Debian/Ubuntu/Mint: apt install bookletimposer) and then download this script e.g. to ~/bin and chmod +x ~/bin/ it to make it executable. Then in any folder just use the command -r 2 file.pdf to create 2 repetitions from A5 to A4. Output file is file-2x.pdf in the same folder. For 2×2 scenario use -r 4, for 2×4 use -r 8 and for any other combination use directly the matrix into the -r parameter (r for repetitions). Warning, the output files get overwritten without warning if they exist. Check the code well before deploying it in any mission-critical environment ;)

Pokračování textu Impose single-page PDF on a page by repeating (Linux)

How to downgrade firmware on HP OfficeJet Pro 8610 to allow using old or refilled cartridges – UPDATE (HP official fw fix)

UPDATE 13.10.2016: HP finally surrendered after massive complaints of customers and released official firmware updates disabling the blocking mechanism for older and non-genuine cartridges. For more information and link to official firmware fix click here. Direct link to official 8610 firmware is here. The following article is kept for reference as it was the only way how to solve the issue with non-working OfficeJet printers for about one month after the blocking mechanism previously built to HP firmwares was triggered by the right date.

hp_cartdidge_orig_neorigPrinter manufacturers really want you to buy their genuine, overprices ink cartridges and toners. Even though US Magnuson-Moss Warranty Act and European rules on fair competition make it clear that printer manufacturers must not block using non-original inks and toners, and even warranty must not be void just by the mere fact of using non-original material, It’s becoming increasingly difficult to use alternative print material. For HP OfficeJet Pro 8610, some automatic firmware upgrade caused that many older and non-original or refilled cartridges stopped working, being marked as damaged. Some Brazilian folks posted a video on Youtube with a guide how to downgrade the firmware, and most important, published a link with the particular firmware version that makes the printer recognize the cartridges as valid! This is an English version of the manual how to do it:

Pokračování textu How to downgrade firmware on HP OfficeJet Pro 8610 to allow using old or refilled cartridges – UPDATE (HP official fw fix)

Jak šifrovat a zálohovat data na počítači (Windows, Linux, Mac)

Říká se, že dat, které si nezálohujete, si neceníte, takže je jedno, pokud se ztratí. 2-5 % klasických disků během 2-3 let selže, některé série SSD občas taky postihne náhlá smrt, a to nemluvím o situaci, kdy vám někdo notebook ukradne, nebo spadne na zem, polijete ho kafem či pivem apod. V tomto článku chci v rychlosti ukázat způsoby, jak na Windows, Linux a Macu zajistit zálohování. A jelikož všichni dnes máme notebooky, co taháme všude možně, v nich jsou uložená hesla a pravděpodobně osobní a citlivá data naše i druhých lidí, měli bychom vážně uvažovat i o šifrování.

Pokračování textu Jak šifrovat a zálohovat data na počítači (Windows, Linux, Mac)