我需要幫助 我在使用預先打印的紙張製作報表發票時遇到問題。當發票的項目超過容量時,自動將其餘項目打印到第二頁。 我使用JavaScript編程語言。沒有人可以提供解決方案? for (var x = 1; x <= lineCount; x++){
var strItem = '';
var strUnit ='';
var strJumlah ='';
v
我使用rml作爲openerp7的報告語言。在那裏,我需要在文本之後放置分頁符。 我的代碼如下 <!-- Here i am printing a table which consumes half of the page -->
<b> This is the first page Text. After this all should come in the second page
我從另一個頁面動態添加HTML併爲其打印樣式。然而,page-break-inside: avoid;應用於我的元素(它們中的任何一個)時,即使它顯示在樣式中,也不會在打印時將其考慮在內。我在Windows 的我的程序的簡化版本Here is a jsFiddle使用Chrome 31(警告:它在3秒後會彈出打印預覽要停止這只是註釋掉setInterval在底部),這是版本其中page-break