#!/bin/sh TEMPFILE=$(mktemp) cat >${TEMPFILE} lpremote ${TEMPFILE} $@ rm ${TEMPFILE}