Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi
We have an offer for a large plotter (A3->A0) that prints in colour and I was wondering if it was possible to publisch only large drawings (e.g. A1 format) automatically to colour where the smaller formats (that do not need clarification by colour) on monochrome ? We like to avoid publishing all to a colour pdf as we have some black/white printers for small formats and the bright colours do not print so clear there.
Solved! Go to Solution.
Hello,
Publishing of pdf to monochrome or color will be controlled by the worker recipe settings. And once you set either monochrome or color, it will not be altered for the specific drawings.
To make this things possible you need to write some customization for custom filter method. So my idea would be:
1. Create a specific attribute and map it to the drawing format, for example TEMP is the IBA created in Windchill, Create TEMP parameter and assign the value of the Drawing format to this IBA. May be you can include this IBA in your larger formats and designate it, so that it will propagate to the windchill. Now, if TEMP value is A0 then we want color output, for rest of the values we need to have monochrome.
2. Use custom filter method to create a filter based of the attribute value as per the article CS132318.
Above article also have help center guide links , you can refer to the Filter Publishing for EPMDocument Check-in section, and then using sample code write your custom code to filter if epmdocument attribute TEMP value is A0.
3. Once filter method is set and defined in wvs.properties you can refer to the article https://www.ptc.com/en/support/article/cs44087 to create a dedicated queueset for publishing (ex: Dedicated queue name is : color ) for your custom filter
4. This queue group needs to be mentioned in agent.ini file for the specific worker, ex: [worker 1] is configured to process queue group "color"
Now when you are creating a drawing with the IBA TEMP=A0 , then it will be filtered to the COLOR queue group , this queue is directed to the worker 1 . this worker 1 is configured to generate color pdf. so now every drawing using A0 format will have color pdf. And rest will have monochrome.
Are you printing through Creo View? If so, you should have options like above where you can control printing in monochrome or color. The creo worker should be where you control how PDFs are generated and if they are color or not. I publish both HPGL/2 default and additional PDF via publishing rules. As far as defaulting based on printer how it prints, I do not think that is a setup you can make in Creo View but you have options on changing printer and color vs monochrome. I would think that the Windows Print Settings setup. IT here would default all our printers to B&W to save money.
We have an own application for printing. It just extracts the pdf and send it to the printer using an Acrobat Reader print command. We have an offer to print monochrome or color for the same price ! Only the TAC of the print counts (Total Area Coverage or toner use in other words).
Hello,
Publishing of pdf to monochrome or color will be controlled by the worker recipe settings. And once you set either monochrome or color, it will not be altered for the specific drawings.
To make this things possible you need to write some customization for custom filter method. So my idea would be:
1. Create a specific attribute and map it to the drawing format, for example TEMP is the IBA created in Windchill, Create TEMP parameter and assign the value of the Drawing format to this IBA. May be you can include this IBA in your larger formats and designate it, so that it will propagate to the windchill. Now, if TEMP value is A0 then we want color output, for rest of the values we need to have monochrome.
2. Use custom filter method to create a filter based of the attribute value as per the article CS132318.
Above article also have help center guide links , you can refer to the Filter Publishing for EPMDocument Check-in section, and then using sample code write your custom code to filter if epmdocument attribute TEMP value is A0.
3. Once filter method is set and defined in wvs.properties you can refer to the article https://www.ptc.com/en/support/article/cs44087 to create a dedicated queueset for publishing (ex: Dedicated queue name is : color ) for your custom filter
4. This queue group needs to be mentioned in agent.ini file for the specific worker, ex: [worker 1] is configured to process queue group "color"
Now when you are creating a drawing with the IBA TEMP=A0 , then it will be filtered to the COLOR queue group , this queue is directed to the worker 1 . this worker 1 is configured to generate color pdf. so now every drawing using A0 format will have color pdf. And rest will have monochrome.
Hello
Yes, that is a pretty smart solution. Thank you for that info !