Why not simply use CSS? Use the "@media print" to hide or format your
printer specific output.
Example
<style type="text/css">
@media print {
#header,
#footer,
...
{display:none;}
...
</style>
On 8 Jan., 03:59, daniel <[email protected]> wrote:
> Hello,
>
> I just cannot seem to wrap my head around this today.
>
> Here is a link to my maphttp://redhawks.semo.edu/map/test_layout.html
>
> What I would like to do is generated the driving directions, that part
> is completed, then have a button to make the printable if the user
> would like.
>
> I have seen this in the
> groups:http://groups.google.com/group/Google-Maps-API/browse_thread/thread/2...
>
> And I would very much like to use the google maps link to print.
>
> But my confusion is when i pass the saddr and daddr values to the
> print function I have made (many trials ago) it would automatically do
> this.
>
> My plan for this afternoon is to make 2 global variables to store the
> saddr and daddr values then pass/call those for my print.
>
> My question is: Am I over complicating this matter? Seems like
> printing should be one of the easiest things.
>
> Thanks
> Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---