#!/bin/bash pdflatex "$1" "$2" lpr "$(basename $2 .tex).pdf"