Category: Uncategorized
-
removing the antenna from a WIFI access point or a mobile phone
I am actually rather sure about this issue, but just to double-check, because I don’t have a safe source for this:
If you remove the wifi antenna from a wifi AP or router (or the mobile phone antenna, in case it’s a pluggable / turnable one), that’s not good for your health, because the device improperly attempts to broadcast anyway.
Is that correct?
I saw friends’ devices, whose antenna’s had gotten removed, and I was rather astonished and frightened and recommended to place the antenna again, resp. to switch wifi (power) off on the device entirely.
Will somebody pls shed some light on this? -
how to print a PDF document together with its filename in its upper left corner?
This is only a very special case of “how to add text given on the command line to a PDF file?“
If I don’t find a nice and read utility to do this,
- I will create an image file from the PDF file,
- I will create another image file from that text string (ImageMagick, GraphicsMagic?!?),
- and I will finally overlay them (ImageMagick, GraphicsMagic?!?).
PDF Hacks‘ Hack# 90 describes how to “Superimpose PDF Pages“; there is also a one-liner with pdftk for that:$ pdftk mydoc.pdf output mydoc.marked.pdf background watermark.pdfI need to print like 200 rather similar (1-page) files, which look rather, rather similar, and I don’t want to guess the filename from the contents of the page, so I prefer to print the filename on the same page as the actual contents.Update 2011-07-04:
I am using text2pdf (a rather, rather simple tool) for this task (regard this as one logical line):$ echo “text to be printed into the upper left corner” | /usr/local/text2pdf/text2pdf -A4 -s10 -v12 | pdftk original_file output file_with_sth_in_its_upper_left_corner background –
-
pdftk – The PDF Toolkit
- http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
- https://www.pdflabs.com/docs/pdftk-man-page/
- http://oreilly.com/catalog/9780596006556/ – “PDF Hacks” (the book’s author is pdflab’s director and founder)
Superimpose Pages with pdftk
pdftk packs iText’s power into a standalone program. Apply a single PDF page to the background of an entire document like so:
pdftk mydoc.pdf output mydoc.marked.pdf background watermark.pdf
pdftk will use the first page of watermark.pdf, if it has more than one page. You can combine this background option with additional input operations (such as assembling PDFs [Hack#51]) and other output options (such as encryption [Hack #52]).