[cups-devel] Seiko label printer missing part of text on left hand edge ACTUALLY last bit of print lost

KKing kicking177 at gmail.com
Mon Jun 1 10:50:52 PDT 2020


Hi Helge,

Thankyou for that, I altered to

334 void EndPage(void)
335 {
336         DEBUG_FUNC;
337         SendPrinterCommand(SLP_CMD_FORMFEED);
338         /*  Unregister the signal handler. */
339         ResetSignal();
340 }

sudo make build
sudo make install

lp -d SII_SLP100 -o orientation-requested=4 TestSLP100.txt

unfortunately it behaved the same.

I wonder if commented out line re script on 
https://nurdspace.nl/Labelprinter
<<
#code for moving to next empty label but it's not reliable
#printf "\f" |lpr -P SLP650
 >>
is clue that the formfeed (for this model of printer) is not reliable?

I wonder if it is possible to save to file the bitmap that is sent to 
the printer?
in RasterToSIISLP.cxx
633    Bitmap bm = kEmptyBitMap;
635    PageToBitmap(pageNum, ras, header, bm);

This would highlight whether the part not printing does not make it into 
the bitmap or if it is the actual printing not flushing it's buffers 
properly.

K.




More information about the cups-devel mailing list