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 Imposeonline.com 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/imposepdf-repeat.sh it to make it executable. Then in any folder just use the command imposepdf-repeat.sh -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)

Školení Jak ochránit soukromou komunikaci

Truecrypt iconNa žádost nabízím praktické školení o bezpečnosti elektronické komunikace. Podrobnosti zde, na přání lze obsah i rozsah různě přizpůsobit….

Z anotace školení:

Jak ochránit soukromou komunikaci a data před slídily. Praktické dovednosti, které si zaslouží ovládat nejen teroristi, mafiáni a političtí disidenti, ale každý, komu není soukromí lhostejné a nepřeje si Velkému Bratrovi či konkurenci všechno vyklopit. Na workshopu se naučíte, jak

  • zabezpečit svá data na notebooku, tabletu, mobilu i flashdisku bezpečným šifrováním: jaký způsob zabezpečení si vybrat (self-encrypting disk, MS BitLocker, Truecrypt/Veracrypt, Apple FileVault, dm-crypt/LUKS aj.) a limity a rizika jednotlivých metod
  • minimalizovat riziko odcizení své online identity (jedinečná hesla pro jednotlivé služby a jejich uložení ve správci hesel, nastavení dvoufaktorové autentizace a nepřihlašování bez SSL+2FA na neznámých zařízeních)
  • bezpečně komunikovat s druhými lidmi, jaké jsou dnes možnosti a co má jaké výhody a nevýhody (kódy přes nezabezpečné kanály typu volání, SMS a email; šifrováné zprávy a/nebo hovory přes komunikátory Whatsapp, Facetime, Signal, Threema, Wickr; šifrovaný email Protonmail a klasické OpenPGP (GnuPG) v PC (Thunderbird/Enigmail) a Androidu (K9Mail+APG)

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)