PDA

View Full Version : Trying to print detail maps on a strip printer



BobFromBoston
12-29-2005, 01:45 PM
Greetings,

I have a StarTSP800, which is 4.4" wide, and makes what I think are called strip printouts. But I need to get the report working properly.

Does anybody know how? Should I use geoPrintStripMaps? When I do it says I have an incorrect parameter. Could anybody suggest how to get this working, or perhaps a different parameter I should use?

Thanks for the help,

Bob

BobFromBoston
12-29-2005, 01:52 PM
Here's the line of code which prints the map.

mpMap.PrintOut( "",title,1,MapPoint.GeoPrintArea.geoPrintMap,
MapPoint.GeoPrintQuality.geoPrintQualityDraft,
MapPoint.GeoPrintOrientation.geoPrintAuto,
true,true,true,false);

Should I use geoPrintSelectedArea instead? If so, how should I set the selected area?

Wilfried
12-30-2005, 11:02 AM
Hi,

Try with all parameters to False. There could for example be a conflict when there is no legend, or a conflict because there is no multiple copy.


mpMap.PrintOut("", title, 1, MapPoint.GeoPrintArea.geoPrintMap, MapPoint.GeoPrintQuality.geoPrintQualityDraft, MapPoint.GeoPrintOrientation.geoPrintAuto, false, false, false, false);

BobFromBoston
01-01-2006, 11:14 AM
Wilfried,

Thanks for the suggestion. I just needed to try a host of different possibilities until I found one that worked. I now have it printing the detailed map.

mpMap.PrintOut("",title,1,
MapPoint.GeoPrintArea.geoPrintMap,
MapPoint.GeoPrintQuality.geoPrintQualityPresentati on,
MapPoint.GeoPrintOrientation.geoPrintPortrait,
false,false,false,false);

But the resolution is small enough that most of the road names won't print. Do you know if there's a way to make this map print lengthwise on the page? This would allow for a bigger map, since it's wider than it is tall.

Also, would you happen to know how to prevent the printer from slicing the end of every page? It's like it's getting a page feed or some other character, which cause my printer (a Star TRS800) to slice the page after each map.

Thanks for the help,
Bob

Wilfried
01-02-2006, 03:52 AM
Hi,

Did you try geoPrintLandscape or geoPrintAuto ?
For the other question, possible mappoint sends a formfeed after each page, dont know.