I have been trying to find a solution for this problem for a while.
I work with a VB6 program that is used to access GIS (Graphical Information System) information, printing on a HP Laserjet 8550n (Which is a Newer model Color laser printer).
The problem is that to print correctly, how it setup now, I must specify the page settings for vb then go another screen to specify the same settings for the printer. If I just set the VB settings it will not print correctly it will print the way specified by the printer or it will print but brake the job into multiple pages. The Program seems to get the default data from the printer when it starts the issue is only when I have to change the settings.
I have researched out the issue and it seems that I need to send commands to VB, to the printer driver and then notify windows of the change so that the other programs function properly.
Can anyone show me how to code this?