cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Advanced Print View - CSS

Advanced Print View - CSS

Description

Despite the Advanced Print View being customisable with being able to design a unique layout and place fields specifically as you want them, it isn't as customisable when it comes to the graphics. It looks like PLM has a number of CSS files which is driving how the print looks, specifically when it comes to HTML Tables (I can't remove the lines).


Impact

There isn't any flexibility in changing how the HTML is rendered to screen. Because of this, it is impossible to get a decent looking print which would be suitable to give to clients.


Severity

High - I consider this to be one of my highest wishes. A lot of what I would like to use PLM for is to create reports which I can give to my clients. They have to look professional.


Solution

We need the ability to override any CSS definitions which PLM is forcing on us. It would be nice to be able to define our own CSS files so that we can not only override the defaults, but to also provide a level of consistency across all Workspace Advanced Prints.

7 Comments
jared.sund
Alumni

Brausmith,

 

Thank you for your input on CSS and Advanced Print Views.  I’ll address this issue with our development team. 

 

While we examine a method to resolve this issue, it may be helpful to know that you can supply inline CSS styling directly to the HTML or through the HTML editor.

 

 For Tables:

 

Select the table you wish to style, and select the "Insert/Edit Table" icon from the tool bar:

 

editTable.jpg

 

 

A dialog will open to edit and add style information as needed.

 

 

Insert/Edit Table General Tab:

generalTable.jpg

 

Insert/Edit Table Advanced Tab:

 

advancedTable.jpg

 

 

The same actions can also be performed for Rows, and Cells:

 

editCommands.jpg

 

Changes to style information added/edited through these dialogs will add inline style information to your HTML objects:


htmlOutPut.jpg

jared.sund
Alumni
Status changed to: Future Consideration
 
Chad-Smith
Advisor

Hi.

I have been trying the above but it is a futile effort. Even if you do manage to get it looking correctly, as soon as you press the Print button on the browser the HTML seems to adopt a different CSS file for printing purposes. i.e. media="print"

 

Looking at your own code in the artifact.css file you can clearly see that it is removing the borders around tables, but this is then completely ignored when it comes time to print;

 

.advanced_print_view_preview .print_body td {
    padding5px 10px 5px 10px;
    bordersolid black 1px;
    border-width0 0px 1px 0;
    font-size10px;
}
 
Check out the images below. The first shows the browser view, and the second the print preview. They don't look the same. Kind of defeats the point.
advancedprint.png
 
 
advancedprintpreview.png
jared.sund
Alumni

I've already started down the path of being able to remove the stand CSS applied to Print Views.  This currently causes all sorts of issues.  Hope to have this resolved pretty soon.

Chad-Smith
Advisor

Nice, I see some of these removed CSS standards in Print Views are starting to come through.

DonovanJr
Advocate

There are others including my company who had planned on using a printed document for our vendor and customer interation or requests for information output from PLM and they need to look more professional than what is currently available with the CSS limitations of Advanced Print.

 

See also other posts in the idea station under Advanced Print - Misc Issues

 

Bob Donovan

aaron.tw
Alumni
Status changed to: Archived
 

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

Submit Idea  

Autodesk Design & Make Report