I have a lot files to send to printserver using lpr. Currently I'am using lpr command line in vb.net shell(/cmd lpr -pPrinteServIP filetosend). When it loops through a directory with files it opens many cmd windows which are sending files. Is there a way to send file one after other? there must be some implementation of LRP command in vb.net like
SendToLPD( PrintServerIP, JobName, QueueName, FileName)
SendToLPD( PrintServerIP, JobName, QueueName, FileName)