Printing to PDF does not Work for Files Opened from PW Managed Workspace


  
 Applies To 
  
 Product(s):OpenPlant Modeler, OpenPlant PID, Microstation
 Version(s):08.11.09.278
 Environment: N/A
 Area: ProjectWise
 Subarea: -
 Original Author:Justinas Lipnickas, Product Advantage Group
  

Problem Description

Printing to PDF (or using any other Bentley print driver) does not work if the file is opened from ProjectWise, and Managed workspace is used. The same behavior is also noticed if the file is opened using any other Bentley Power Platform Application (OpenPlant PID, Microstation, I-model composer, etc.).

Reason

Issue is caused because of an incorrect value for <DefaultPrintFileName> property in the Printer Driver Configuration settings. As all print configuration files are just imported to ProjectWise, without any changes in them, usually Default print file location is invalid, and it causes this issue.

Steps to Resolve

  1. Login to the affected PW datasource and browse to the pltcfg folder within your Managed Workspace folder (usually located in Workspace\System\pltcfg folder).

  2. Check-out and open the pdf.pltcfg file with any text editor (notepad).

  3. Find the section <DefaultPrintFileName>, change it from default value:

    <DefaultPrintFileName>$(MS_PLTFILES)$(basename(_DGNFILE))-$(MS_PLTMODELNAME)-&lt;autoInc?digits=3?base=0&gt;</DefaultPrintFileName>

    to

    <DefaultPrintFileName>$(basename(_DGNFILE))-$(MS_PLTMODELNAME)-&lt;autoInc?digits=3?base=0&gt;</DefaultPrintFileName>

  4. Save the pdf.pltcfg file, check it back into the repository.

  5. If required, make the same steps for other plotting configuration files (jpeg.pltcfg, png.pltcfg, etc.).

Still a Problem?

If above problem still persist, then please create a Service Request and contact the Bentley Product Advantage group.  Please include a list of all relevant details to get in depth analysis for a solution or workaround. 

See Also

communities.bentley.com/.../12008.openplant-modeler

Comments or Corrections?

Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!