[OS X TeX] [pdftk] MacOS Roman -> Western ISO Latin 9

Friedrich Vosberg fvosberg at me.com
Sun Jan 4 22:15:52 CET 2009


On 04.01.2009, at 20.31, Adam R. Maxwell wrote:

> Make sure your script isn't saved as UTF-16.

TextWrangler displays UTF-8.

>  If that looks okay, open it in a hex editor and see what the first  
> line looks like, or use vim -b in Terminal.

<feff>#!/bin/sh
basefname="`basename "$1" .tex`"
lp -o media=a4 "${basefname}.pdf"
pdftk "${basefname}.pdf" background ~/Pictures/Watermarks/ 
bgabschrift.pdf output printfile.pdf
lp -o sides=two-sided-long-edge -o media=a4 printfile.pdf
rm printfile.pdf
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"Library/TeXShop/Engines/fvprint2.engine" [noeol] 6L, 251C

What is <feff>?

TIA and kind regards, Friedrich
--
»Eine Fehlentscheidung auf Anhieb spart immerhin Zeit.« (Helmar Nahr)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20090104/74677da7/attachment.html>


More information about the macostex-archives mailing list