This problem arises e.g. when you use StampIt! in a Windows virtual machine with Linux, because Linux is not supported natively yet. Then you might want to print the stamp in OpenOffice.org (or whatever) documents, but how?
Solution:
- In your Windows virtual machine, create a PDF pseudo printer (PrimoPDF or other, there are some free to download).
- Print from StampIt to your PDF pseudo printer. Normally, a window will appear that asks you where to save your file. You may save it directly in a directory that you can access from your Linux host OS (e.g. a VirtualBox shared directory, if you use VirtuslBox as your VM).
- Open the PDF file in Linux with GIMP (import with at least 300dpi).
- Use the “auto crop image” feature of GIMP.
- Use the “brightness & contrast” feature of GIMP, choose maximum contrast and minimum brightness. This prepares your image for black&white, because greyscale printing will destroy the 2D barcode here.
- Use the “image: mode: one bit palette” feature in GIMP.
- Save as a PNG image. Steps 3-6 can also be performed by an automated script using ImageMagick.
- Insert the image in your OOo document, choosing “anchor to page” and “run-through”, placing it simply to hide the normal address (which stays intact this way).
- Print your document out.
Leave a Reply