Skip to content

Instantly share code, notes, and snippets.

@shigeya
Created July 20, 2011 23:59
Show Gist options
  • Save shigeya/1096210 to your computer and use it in GitHub Desktop.
Save shigeya/1096210 to your computer and use it in GitHub Desktop.
Xerox C3050 Driver fix for OS X Lion
2052% diff -c fxnpdftopdf.FCS
*** /Library/Printers/FujiXerox/Filter/fxnpdftopdf.bundle/Contents/MacOS/fxnpdftopdf.FCS Wed Oct 27 12:54:26 2010
--- /Library/Printers/FujiXerox/Filter/fxnpdftopdf.bundle/Contents/MacOSfxnpdftopdf Thu Jul 21 08:40:12 2011
***************
*** 12,17 ****
fi
PARDIR=${0%/*}
! /usr/bin/python "$PARDIR/driver.pyc" "$1" "$2" "$3" "$4" "$5" "$LASTARG"
exit $?
--- 12,17 ----
fi
PARDIR=${0%/*}
! /usr/bin/python2.6 "$PARDIR/driver.pyc" "$1" "$2" "$3" "$4" "$5" "$LASTARG"
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment