MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Printout method not working

This is a discussion on Printout method not working within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have been using the Trial version of MP 2002 to test the feasibilty of a project running MP from ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-26-2003
Junior Member
White Belt
 
Join Date: Jan 2003
Posts: 8
Printout method not working

I have been using the Trial version of MP 2002 to test the feasibilty of a project running MP from within Visual Foxpro.

Everything seems to work fine so far apart from the Printout method.
When I call the method on a PC running XP Pro I get the error - Ole lDispatch exception code 0 from Mappoint.Application.EU.9 The RPC Server is unavailable.

When running exactly the same code on a Windows 98SE system I receive no error, but only the border of the map is printed (a square box with the scale on it) but no map!

Any ideas?

Thanks,
Andy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-26-2003
Junior Member
White Belt
 
Join Date: Jan 2003
Posts: 8
Same problem occurs in VB as well...

Just to check that it's not Visual Foxpro - I did the same test in VB, with the same results.

Andy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-27-2003
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
If you can post you Printout code we can see if something looks out of place.
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 01-27-2003
Junior Member
White Belt
 
Join Date: Jan 2003
Posts: 8
Code Example

The initialisation of the form just does a

thisform.olemappoint.newmap(2) to create a map

The object reference to the form is Mapping, the form contains the olemappoint object

So I can issue the line
Mapping.olemappoint.activemap.printout()

That's it!
Thanks,
Andy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 01-28-2003
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Very odd problem for sure. I can only think of two things to try at this point. You may have already tried them but if not, give em a try, can't hurt...

1. Try printing to a completly different printer, printer drivers can do weird things sometimes.

2. Try using the printout method with all the parameters filled in.

objMap.PrintOut , "Test Map", 1, _
geoPrintMap, geoPrintQualityNormal, geoPrintLandscape, _
True, False, True, False
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 02-02-2003
Junior Member
White Belt
 
Join Date: Jan 2003
Posts: 8
Full (Non-trial) version works!

Well get this!

I decided to purchase a full version of MP and have installed it on my systems. (You must remove the Trial version first). But it is now printing OK on both systems.

FYI this is what I did....

I first tried it on the 98SE system and that worked fine, I then removed the full version from my 98SE system and re-installed the Trial version - it seems to have fixed the problem!

Next idea - 'the Trial version did not install correct the first time' - so on my XP Pro system I reinstalled the Trial again.... problem still exists... Installed the full version - problem gone!!!

The versions on both the Trial and the full version were MP 2002 (09.00.16.2001)


The Trial is supposed to be 100% the same, but with the time limit!

Regards,
Andy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 02-03-2003
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Andy,

Thanks for the update, I'm glad it worked out in the end. I wouldn't be suprised if the folks from the MapPoint Team keep an eye on this forum so maybe they will make sure it is fixed in the next release of MapPoint?
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Labelling pushpins in a printout Anonymous MapPoint 2006/2009 Discussion 0 08-13-2004 05:28 PM
PrintOut method with MapPoint ActiveX control?!! TheJudge MapPoint 2006/2009 Discussion 3 04-13-2004 05:35 PM
FindAddressResults not always working? Anonymous MapPoint 2006/2009 Discussion 1 09-10-2003 05:25 AM
plz help me : working on GPS system shami MapPoint 2006/2009 Discussion 0 07-17-2003 05:20 AM
Map PrintOut method blackmap MapPoint 2006/2009 Discussion 1 01-10-2003 02:04 PM


All times are GMT -5. The time now is 07:42 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Ski Chalet
Fancy a ski chalet? Relax in comfort and style between skiing sessions. Holiday Hypermarket makes it easy for you to specify what kind of accommodation you want.

Portugal Weather
Check Portugal Weather before you travel. We provide information on Portugal including weather, flights and accommodation.

Holidays to Cuba
Situated between Jamaica and the Bahamas, Cuba has a delightful tropical climate and warm, clear waters with beaches of white sand. Check for cheap holidays to Cuba.

Holidays to Jamaica
Holidays to Jamaica are about taking things easy. Forget your watch and chill out beneath the clear Jamaican sky.

Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.

Cheap Holidays
Looking for holidays that are cheap, but still what you want? Visit Travel.co.uk.

Holidays in Portugal
Find the perfect Algarve holiday. Book holidays in Portugal now at On The Beach.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51