Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot find the 'get printable page' command within Infrastructure Studio 2015

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
HuronGeomatics
623 Views, 4 Replies

Cannot find the 'get printable page' command within Infrastructure Studio 2015

Hi everyone,

 

I'm trying to create and use a custom print layout in Infrastructure Studio 2015 using the basic web layout.

 

I've created the print layout and I'm following the instructions here to create a printable page:

http://help.autodesk.com/view/AIMS/2015/ENU/?guid=GUID-32E2B0EC-13F7-4B8A-9E9E-5EE46994E8D9

 

The trouble is when I go to 'Add Command', 'Get Printable Page' isn't listed under 'Built-In Command'. 

 

Any help is much appreciated!

 

 

 

 

4 REPLIES 4
Message 2 of 5
gluckett
in reply to: HuronGeomatics

Help is incorrect.  Get Printable Page is now just the Quick Plot in the Basic Web Layout - the Print Layouts don't do anything anymore.

 

 

Message 3 of 5
dougculbert
in reply to: gluckett

The reason I was looking at the 'get printable page' function was to be able to change the background colour of the map while plotting. Is this possible with Quick Plots? I cannot find any information indicating it is. Thanks again for your help!

Message 4 of 5
gluckett
in reply to: dougculbert

In the C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2015\www\mapviewerphp\quickplotgeneratepicture.php

 

You could hard-code the color your wish to plot the background with - around line 102:

 


        $colorString = $map->GetBackgroundColor();
        // The returned color string is in AARRGGBB format. But the constructor of MgColor needs a string in RRGGBBAA format
        $colorString = substr($colorString, 2, 6) . substr($colorString, 0, 2);
        $color = new MgColor($colorString);

 

       just comment out the $color line with two forward slashes:

 

      //$color = new MgColor($colorString);

 

    and add a RRGGBBAA format - this example is lime green background.

 

    $color = new MgColor('b9edafff');

 

If you don't know how to generate the RRGGBBAA format, click the 3rd colour picker on this site:

http://peteroupc.github.io/colorpicker/

"Alpha Color Picker (RRGGBBAA format)"

 

regards

gordon

 

 

 

 

Message 5 of 5
dougculbert
in reply to: gluckett

That did it. 

 

Thanks again for your help Gordon. 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report