Ok I have searched and searched and can't find anything to do this. This is my problem....I have a bunch of applications designed in VB. I am trying to convert everything to PHP. There is really no user interaction with any of my apps.... they all run batch. I have a print application written in vb that takes an HTML template page and replaces certain values in the page with my data. That then it shoots it to a browser and prints automatically. If there is a way in PHP to open a web page , execute the print command and close the page I can get this to work. I have yet to find anything like that.