queue method to print out
-
Using C#, how do I call the queue method printQueue to print out to rtbox a list of the (Batch No, weight) pairs stored in a data queue?
I think you might be mixing objects here. There is the System.PrintQueue class, which represents a queue of printer jobs queued up by Windows to submit to a printer; and there are Queue objects (System.Collections.Queue), which you use to hold collections of data. There is no "print" method for a Queue object.
-
I think you might be mixing objects here. There is the System.PrintQueue class, which represents a queue of printer jobs queued up by Windows to submit to a printer; and there are Queue objects (System.Collections.Queue), which you use to hold collections of data. There is no "print" method for a Queue object.
-
It's still not clear what it is you want to do. 1. do you have data sitting in a System.Queue object? 2. would you like to Dequeue that queue, and put a copy of the text/values there in a text box?