Select to view content in your preferred language

Printing to a Plotter

2956
2
06-14-2010 08:45 AM
CraigPerreault
Deactivated User
Has anyone tried printing to a plotter using a larger page size (like D size paper)?  I did not have any luck with our HPDJ T1100.  It does print using the default size.
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor
Silverlight's print implementation is done by printing to a high-resolution bitmap. I'm guessing when you try to print to such a large format, the bitmap will be enourmous and likely the cause of the issue.
Your best bet it probably generate the print on the server and create a PDF, but of course that's a lot more work on your side (there's a sample in the code gallery).
Also I suggest you cast your vote on this feature: http://dotnet.uservoice.com/forums/4325-silverlight-feature-suggestions/suggestions/656927-vector-pr...
0 Kudos
nicogis
MVP Alum
I have made this custom utility from print to server
http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&script...

You can simply it creating images using rest calling ExportImage client-side (http://services.arcgisonline.com/ArcGIS/SDK/REST/exportimage.html). It return url.

you use this code http://rexdotnet.blogspot.com/2009/11/using-arcgis-server-rest-api-in-net.html for call rest from client.

then send urls image to ws for custom utility and in custom utility edit code and create world file :

ESRI.ArcGIS.Carto.IRasterLayer rasterLayer = new ESRI.ArcGIS.Carto.RasterLayerClass();
rasterLayer .CreateFromFilePath(physicalpathimagegeneratefromexportimage);
templateMap.AddLayer((ILayer)rasterLayer);
0 Kudos