My Oracle Support Banner

Printing ToXPS in Visualizer Using the Command Line, Only Prints in Portrait. (Doc ID 2545928.1)

Last updated on DECEMBER 04, 2019

Applies to:

Primavera P6 Professional Project Management - Version 18.8.2.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR:

When running a Visualizer Report through the Command Line function, using type ToXPS, the printing preferences set in the Microsoft XPS Document Writer properties are ignored and it only prints in Portrait.

EXPECTED BEHAVIOR:

The report prints correctly in Landscape.

STEPS:

The issue can be reproduced at will with the following steps:

  1. Create an actions.xml and Batch file to print a Visualizer report through the Command Line using the instructions from 'Run and Automate Reports from the Command Line' located in the Visualizer help.
  2. Ensure the printing preferences in the Microsoft XPS Document Writer properties are set to Landscape.
  3. Run the Batch file.
  4. Note the report prints out as Portrait and cuts off the right side of the report.


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.