1
我有一個網頁,可以生成打印輸出的條形碼標籤。在我的開發機器上,Windows Server 2003中,我將用戶的打印機安裝爲網絡打印機(\\ipaddresshere\printername
)。我們已經驗證了打印驅動程序首選項中的每個設置都是相同的。她的盒子是WinXP。我們兩個都在運行Firefox 28.0,即使禁用了附加組件(安全模式)。當我打印預覽或打印到她的打印機時,標籤看起來是正確的。當她打印預覽或打印到她的打印機時,每個正確的標籤都是完整的空白標籤。 頁面的全部源代碼,如果這有什麼差別,正是這種(未經編輯):兩個Windows/FF28.0盒子,相同的頁面,相同的打印機,相同的設置,不同的打印輸出?
<!DOCTYPE HTML>
<html lang="en-CA"><head>
<style type="text/css">
@font-face { font-family: "Free 3 of 9 Regular"; src: url("/lib/FREE3OF9.woff"); }
.sticker { width: 2.24in; height: 0.74in; padding: 0.005in; margin: 0; top: -0.015in; position: relative; page-break-after: always; }
.partnumber, .bin_location, .description, .barcode, .lotid, .ponumber { font: 8pt Verdana; text-align: center; width: 100%; white-space: nowrap; position: absolute; }
.bin_location { text-align: left; font-weight: bold; }
.partnumber { text-align: right; right: 0.02in; background-color: white; width: auto; }
.description { top: 9pt; }
.ponumber { font-size: 7pt; bottom: 0.02in; text-align: right; right: 0.02in; }
.ponumber:before { content: "PO "; }
.barcode { font: 32pt "Free 3 of 9 Regular"; top: 20pt; }
.barcode:before, .barcode:after { content: "*"; }
.lotid { font-size: 9pt; bottom: 0; }
body { padding: 0; margin: 0; top: 0; left: 0; position: absolute; }
</style>
</head>
<body><div class='sticker'><div class='lotid'>0034079</div><div class='bin_location'>ACC</div><div class='partnumber'>089-08168-0002</div><div class='description'>Wave washer</div><div class='ponumber'>14-21951</div><div class='barcode'>0034079</div></div><div class='sticker'><div class='lotid'>0034080</div><div class='bin_location'>HSP (TMP)</div><div class='partnumber'>OS-TMP/PITCHSERVO</div><div class='description'>Repair Servo SN:2750</div><div class='ponumber'>14-21977</div><div class='barcode'>0034080</div></div><div class='sticker'><div class='lotid'>0034081</div><div class='bin_location'>HHK</div><div class='partnumber'>AN960-4</div><div class='description'>Washer</div><div class='ponumber'>14-22004</div><div class='barcode'>0034081</div></div><div class='sticker'><div class='lotid'>0034082</div><div class='bin_location'>HOB</div><div class='partnumber'>C21K</div><div class='description'>Compass Kit w/Fluid/Diaph/Gask</div><div class='ponumber'>14-22004</div><div class='barcode'>0034082</div></div></body>
</html>
除了我們的操作系統版本中,我看不到我們的設置有什麼區別,爲什麼是她的打印和預覽每個標籤後都有空白,而我的不是?