The proper way would be using a printer connector....
# suitescript
a
The proper way would be using a printer connector... something in Java is fairly easy to develop...