VB6 Report Writer; Error 8555; Error obtaining printer information
Posted on 2004-08-31
I'm using VB6 and using the report writer. I have several reports being generated without displaying them. Some are landscape, others are portrait. Whenever the paper orientation is different than the printer default, I receive the error message "Error 8555, error obtaining printer information". This has occurred on one printer (a Canon all-in-one laser printer). I cannot get it to fail on any other printer I've tested (paper orientation switches fine). Ex: Portrait printing with default set to portrait is find. Landscape report on a portrait default fails. It's occurring on a Windows 98 machine.
rpt.Orientation = rptOrientLandscape
Any ideas?? OS level - printer driver - VB code?
I'm open to alternatives (change code if necessary).