Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy Does "Port 9100" Printing Multi-Page PDF Cause HP 4515 to Pause Between Pages?
    primarykey
    data
    text
    <p>I create thousands of PDF files per day and print them on a set of HP-4515 printers using a Ruby on Rails app with Prawn. After a couple of years of production printing, I noticed yet another HP anomaly today: a simple 47kB 10-page file of tables causes the HP printer to pause for several seconds between pages. (the tables do not span pages).</p> <p>I have a custom print spooler that ensures certain bundles of documents are printed coherently from submissions in a call center, and this spooler logs how many bytes are written into the printer's port 9100 socket. Oddly, this 47kB file logs 6,442kB of bytes sent (137 times!), and it takes 71 seconds. Most socket writes of 50kB files take only a few milliseconds, unless the printer gets backed up (and I have several techniques of throttling my file writes to avoid bogging the printers down, which improves throughput. This throttling only delays between files, not within them).</p> <p>The multiple pages are created using Prawn's @pdf.start_new_page. Viewing the PDF in OSX's Skim or Preview shows nothing unexpected.</p> <p>None of my other ~100 PDF file types cause this strange printer-pause, although almost all of the other file types are single page.</p> <p>All other @socket.write(str) calls actually send the number of bytes in the file.</p> <p>The files have proprietary court case information, so I can't just attach a sample. If anyone has a suggestion, perhaps I could create a similar file using nonsense data....</p> <p>BTW - I have found HP's support useless, despite the amount we pay for it.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload