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

Friedrich Vosberg fvosberg at me.com
Sun Jan 4 16:15:52 EST 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://email.esm.psu.edu/pipermail/macosx-tex/attachments/20090104/74677da7/attachment.html>


More information about the MacOSX-TeX mailing list