problems with the functiion printTable()

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
Schoetzke
Posts: 4
Joined: Fri Oct 29, 2010 4:22 pm

problems with the functiion printTable()

Post by Schoetzke »

When i use the function printTable() with the config, like see the code in my thread, every white line is incorrect.
The grey lines are correct.
The grid arround the white lines is twice.

Does anyone know the error or no a solution???

Code: Select all

"main()
{
 string bereich = COMBO_BOX1.selectedText();

  dyn_string d1,d2,d3;
  d2=makeDynString("");
  d1=makeDynString("\\\\left{Anlage:  Wasserversorgung der Stadt Dresden} \\\\right{\\\\page / \\\\numpages}",
                   "\\\\left{Betreiber DREWAG Stadtwerke GmbH}\\\\right{"+formatTime("%d.%m.%Y",getCurrentTime())+"}",
                   "\\\\center{Wartungsprotokoll  "+bereich+"}");
  d3 = makeDynString("");
  
  int     columnsType=PT_ALLCOLUMNS;
  dyn_int columns=makeDynInt();
  bool    fitToPage=true;
  bool    landscape=true;
  bool    gridLines=true;
  bool    gridBackground=true;
  dyn_int margin=makeDynInt( 20,20,20,20 );
  string  printerName="";  
  
 
     printTable("TABLE1",
                TRUE,
                d1,
                d3,
                columnsType,
                columns,
                fitToPage,
                landscape,
                gridLines,
                gridBackground,
                margin,
                printerName);

}
  
 
https://www.winccoa.com/fileadmin/image ... sdruck.pdf
Attachments
PVSS_Tabellen_Ausdruck.pdf
(20.79 KiB) Downloaded 343 times

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: problems with the functiion printTable()

Post by leoknipp »

Hello Mr. Schoetzke,

please notice that the ETM Portal does not substitute the common PVSS/WinCC oA support.
Please refer to the common support to get an answer to your questions.

http://portal.etm.at/index.php?option=c ... =15&id=152

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
2 posts • Page 1 of 1