Problem solve Get help with specific problems with your technologies, process and projects.

How do we send PCL commands to all five trays of our HP printer?

We will build a VB 6.0 application. It needs to be able to print from all five trays of our HP LaserJet 8150N. It looks as though we will have to send PCL commands from VB. In detail, how would we do this? The PCL codes for all five trays? What exactly do we place in the PCL file and how do we send it from VB?
The only thing I know about Windows printing is that you can print from Windows applications. My guess is that you're going to have to use the SetPrinterData or SetPrinterDataEx API functions as these allow you to send configuration data to the printer.

Dig Deeper on Enterprise infrastructure management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.