This topic is locked

Print Fails on Multi-record LIst Page

5/15/2023 5:12:59 PM
PHPRunner General questions
J
jaffleck author

I have a list page that is formatted as an Advanced Vertical Grid with 7 records on a row. When I try to print the page, the resulting page is blank.
Is this not supported?
PHPRunner 10.91 Build 40776 x64
The html code generated is as follows:
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Work Calendar</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<base href="/vinalhaven_dev/">
<link REL="stylesheet" href="styles/default.css?40776" type="text/css">
`<link REL="stylesheet" href="styles/bootstrap/default/small/style.css?40776&889_1683833221" type="text/css">

<link REL="stylesheet" href="styles/font-awesome/css/font-awesome.min.css?40776" type="text/css">

<link REL="stylesheet" href="styles/custom/custom.css?889_1683833221" type="text/css">

<link REL="stylesheet" href="styles/pages/work_calendar_print.css?889_1683833221" type="text/css">

<link REL="stylesheet" href="fonts/fonts.css?40776" type="text/css">

<link REL="stylesheet" href="styles/bundle.css?40776" type="text/css">
</head>

<body class=" function-print" >
<script type="text/javascript" src="include/loadfirst.js?40776"></script><script type="text/javascript" src="include/lang/English.js?40776"></script><div class="rp-presplitpage rp-page">

<style>

</style>

<div class="r-small-page"
data-body-align="left"
data-body-width="standard"
><div data-vcolumns=7 class="r-fluid r-grid-vertical bs-grid-vertical" data-location="grid" id="form_grid_1" data-makeup="small" data-pageid="1" > </div> </div>

</div><script>
window.controlsMap = {"work_calendar":{"print":{"1":{"oldLayout":false,"layoutVersion":4,"layoutName":"","pageTable":"work_calendar","toolTips":[],"searchPanelActivated":false,"controls":[],"search":{"searchBlocks":[],"allSearchFields":[],"allSearchFieldsLabels":[],"panelSearchFields":[],"googleLikeFields":["wc_item","wc_weekday","dc_date","dc_day","dc_weekday","dc_year","wc_month","wc_week","wc_date"],"inflexSearchPanel":false,"requiredSearchFields":[],"isSearchRequired":true,"searchTableName":"work_calendar","shortSearchTableName":"work_calendar","submitPageType":"print","usedSrch":true},"gMaps":{"id":1,"isUseMainMaps":false,"isUseFieldsMaps":false,"isUseGoogleMap":false,"APIcode":"","mainMapIds":[],"fieldMapsIds":[],"mapsData":[],"useEmbedMapsAPI":true,"tName":"work_calendar"}}}}};
window.viewControlsMap = {"work_calendar":{"print":{"1":[]}}};
window.settings = {"tableSettings":{"work_calendar":{"proxy":{"proxy":""},"fieldSettings":{"wc_item":{"print":{"strName":"wc_item","editFormat":"Text field","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"wc_weekday":{"print":{"strName":"wc_weekday","editFormat":"Text field","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"dc_date":{"print":{"strName":"dc_date","editFormat":"Date","dateEditType":13,"viewFormat":"Short Date","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"dc_day":{"print":{"strName":"dc_day","editFormat":"Text field","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"dc_weekday":{"print":{"strName":"dc_weekday","editFormat":"Text field","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"dc_year":{"print":{"strName":"dc_year","editFormat":"Text field","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"wc_month":{"print":{"strName":"wc_month","editFormat":"Lookup wizard","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"wc_week":{"print":{"strName":"wc_week","editFormat":"Lookup wizard","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}},"wc_date":{"print":{"strName":"wc_date","editFormat":"Date","dateEditType":13,"viewFormat":"Short Date","mask":false,"weekdays":"[]","listPageId":"","addPageId":"","maxFileSize":false,"maxTotalFilesSize":false}}},"strCaption":"Work Calendar","pageMode":13,"defaultPages":{"export":"export","list":"list","print":"print","search":"search","view":"view"},"printerPagePDF":true,"printerPageOrientation":1,"printerPageScale":100,"isPrinterPageFitToPage":1,"printerSplitRecords":7,"printerPDFSplitRecords":0,"printGridLayout":1,"hasEvents":true,"pages":{"export":"export","list":"list","print":"print","search":"search","view":"view"},"keyFields":["wc_date"],"isUseCK":false}},"global":{"shortTNames":{"work_calendar":"work_calendar"},"webRootPath":"\/vinalhaven_dev\/","projectRoot":"\/vinalhaven_dev\/","ext":"php","charSet":"utf-8","curretLang":"English","debugMode":false,"googleMapsApiCode":"","useCookieBanner":false,"cookieBanner":"This website uses cookies to improve user experience","projectBuildKey":"889_1683833221","wizardBuildKey":"40776","isAD":false,"isMobile":false,"mobileDeteced":false,"s508":false,"mapProvider":0,"staticMapsOnly":true,"locale":{"dateFormat":"0","langName":"en","ctryName":"US","startWeekDay":"6","dateDelimiter":"\/","is24hoursFormat":"0","leadingZero":"0","timeDelimiter":":","timePmLetter":"PM","timeAmLetter":"AM"},"showDetailedError":true,"customErrorMessage":"","resizeImagesOnClient":false,"sessionControl":{"keepAlive":null,"forceExpire":null,"lifeTime":15,"requestDelay":60,"clickTracking":true,"warnBeforeSeconds":60},"twoFactorAuth":[],"loginFormType":3,"loginTName":"users","idStartFrom":2}};
Runner.applyPagesData( {"1":{"proxy":[],"pageName":"print","helperFormItems":{"formItems":{"above-grid":[],"below-grid":[],"top":["print_pdf"],"grid":["grid_field1","grid_field3","simple_grid_field3"]},"formXtTags":{"above-grid":[],"below-grid":[],"top":["pdflink_block"]},"itemForms":{"print_pdf":"top","grid_field1":"grid","grid_field3":"grid","simple_grid_field3":"grid"},"itemLocations":{"grid_field1":{"location":"grid","cellId":"cell_top"},"grid_field3":{"location":"grid","cellId":"cell_top"},"simple_grid_field3":{"location":"grid","cellId":"cell_label4"}},"itemVisiblity":[]},"helperItemsByType":{"grid_field":["simple_grid_field3","grid_field3","grid_field1"],"print_pdf":["print_pdf"]},"helperFieldItems":{"wc_item":["simple_grid_field3"],"dc_weekday":["grid_field3"],"dc_date":["grid_field1"]},"buttons":[],"fieldItems":{"wc_item":["simple_grid_field3"],"dc_weekday":["grid_field3"],"dc_date":["grid_field1"]},"renderedMediaType":"0","notifications":false,"mobileSub":false,"printSelection":"","printDetails":[],"printAll":"","printRecords":7,"gridTabs":"","cellMaps":{"grid":{"cells":{"cell_top":{"cols":[0],"rows":[0],"tags":["dc_date_fieldcolumn","dc_weekday_fieldcolumn"],"items":["grid_field1","grid_field3"],"fixedAtServer":false,"fixedAtClient":false,"visibleCols":[0]},"cell_label4":{"cols":[0],"rows":[1],"tags":["wc_item_fieldcolumn"],"items":["simple_grid_field3"],"fixedAtServer":false,"fixedAtClient":false,"visibleCols":[0]},"cell_dpreview":{"cols":[0],"rows":[],"tags":[],"items":[],"fixedAtServer":false,"fixedAtClient":false,"removable":true,"hidable":true,"visibleCols":[0]}},"width":1,"height":3}}}} );
</script>`<script language="JavaScript" src="include/runnerJS/RunnerAll.js?40776"></script>
<script> Runner.util.ScriptLoader.load();</script>
</body>
</html>

Sergey Kornilov admin 5/16/2023

The only way to resolve an issue like this is to post the project to Demo Account and contact support directly. This code alone doesn't explain anything.