View Single Post

  #6 (permalink)  
Old 02-24-2006
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi Ralle,

Good it works. What was the problem ? Because it maybe can benefit other users.

For printing you have to enumerate the usable printers and give the printer to mappoint, or the direct name. For example:

Code:
    mp.ActivePrinter = "\\\\MAIL\\HP LaserJet 1200 Series PCL 6";
And call the regular print method. GeoPrintArea has also other options like Turn by Turn. Check also the latter 4 arguments.

Code:
    mp.ActiveMap.PrintOut("", 
                          "", 
                          1,
                          GeoPrintArea.geoPrintDirections,
                          GeoPrintQuality.geoPrintQualityNormal,
                          GeoPrintOrientation.geoPrintAuto,
                          false, false, false, false);
Reply With Quote