troubleshooting Question

Changing The Print Print Settings For A HP Laserjet

Avatar of Sobor_Tate
Sobor_Tate asked on
Visual Basic Classic
3 Comments2 Solutions199 ViewsLast Modified:

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?



Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros