IBM Support

HC78063: PRINT: PAGESETUP.PAPERSIZE DOES NOT AFFECT IN A MACRO TO PLOT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • Env : CATIA V5R5SP3   WindowsNT
    XEROX 4036 Plotter with LAN connection
    
    Prob:
    pagesetup.papersize does not affect in a macro to plot.
    Description:
    When he is going to print out a catia drafting via CATIA Macro,
    the size definition is ignored.
    He can only use 13 as a default value of PageSetup.PaperSize.
    But he can change the size by File - Print.
    .
    Operation Scenario:
    1. Start CATIA and open 2 CATDrawings.
    2. Start EXCEL and open printtest.xls
    3. Click CommandButton1 on EXCEL
    ---> 2 Drawings will be plotted but the size is strange.
    .
    How to confirm the macro:
    1. On EXCEL, TOOL - MACRO - Visual Basic Editor
    2. Double click Sheet1(Sheet1) in VBAProject(printtest.xls)
    .
    Remk:
    Once we comment out DrawSheet.PageSetup.PaperSize =
    DrawSheet.PaperSize
    in this macro, we can print out the drawings with the size which
    is defined CATIA.
    The reason why we would like to use this macro is that we cannot
    save the size for printing into the drawing itself, and it is
    very hard to print a lot of drawings by CATIA File - Print. So
    we would like to print them
    by using CATIA macro.
    .
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  •  INCIDENT DIAGNOSIS:
    The line DrawSheet.PageSetup.PaperSize = DrawSheet.PaperSize
    
    set the printing size of the drwaing to the sheet size so
    the map to paper will be useless.
    
     CORRECT APPLICATION:
    comment the line DrawSheet.PageSetup.PaperSize = DrawSheet.P
    aperSize
    

APAR Information

  • APAR number

    HC78063

  • Reported component name

    CATIA V5 NT_INT

  • Reported component ID

    569151000

  • Reported release

    505

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2001-03-14

  • Closed date

    2001-03-20

  • Last modified date

    2001-03-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"505","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 March 2001