CUPS and Bixolon SRP-350 receipt printer

Getting your soundcard to work, using Debian on non-i386 hardware, etc

CUPS and Bixolon SRP-350 receipt printer

Postby cinoyter » 2017-12-18 01:20

Hi,

I'm trying to make a Bixolon SRP-350plus receipt printer work on Debian buster, amd64. I can't make any graphical job print.

All is well if I use Python and an escpos library to send characters directly to the printer. I have also installed the proprietary CUPS Bixolon driver.

If I issue a command like
Code: Select all
sudo ls | lpr -P SRP-350plus
then the printer successfully prints the command's output. I am not sure if this is going through CUPS or not.

If I try to print the test page through the CUPS web interface, I get output like this. Sometimes I will get the top section of the test page, but usually I get garbage.

I have tried using various other drivers, including a few rebranded versions of the same printer, and it is generally pretty much the same. My cupsd.conf is set to LogLevel debug and I don't see any obvious errors in error_log, CUPS seems to think it succeeded.

I have the sense that people do manage to make this printer work with the proprietary drivers, but I'm not sure where to go from here. I'd appreciate any shove in the right direction.
cinoyter
 
Posts: 5
Joined: 2017-12-18 01:04

Re: CUPS and Bixolon SRP-350 receipt printer

Postby arochester » 2017-12-18 16:32

Have you tried the Self Test?
◈ Self Test
1. Make sure the paper roll has been installed properly.
2. Turn on the power while holding down the FEED button. The self-test begins.
3. The self-test prints the current printer status, providing the control ROM version and the
DIP switch setting.
4. After printing the current printer status, self-test printing will print the following, and
pause. (The PAPER LED light blinks.)
SELF-TEST PRINTING.
PLEASE PRESS THE FEED BUTTON.
5. Press the FEED button to continue printing. The printer prints a pattern using the built-in
character set.
6. The self-test automatically ends and cuts the paper after printing the following.
*** COMPLETED ***
7. After the self-test is complete, the printer returns to normal on-line status.
※ Note
The self-test lets you know if your printer is operating properly. It checks the print quality,
ROM version, and DIP switch settings.
arochester
 
Posts: 1271
Joined: 2010-12-07 19:55

Re: CUPS and Bixolon SRP-350 receipt printer

Postby cinoyter » 2017-12-19 01:09

Yup, the self-test works fine. Also, I plugged the printer into another computer on the same version of Debian, installed the same drivers, and had the same result. It works fine on Computer 2 when that computer is running Windows.

I managed to succeed in printing a LibreOffice Write document, typing "TESTING" in 24-point font with a very small (8cmx8cm) page size, and printing that. But after that, nothing prints successfully until I power-cycle the printer. It makes me wonder if there's some kind of internal printer memory overflow.

Here is the CUPS debug output when I print a document that says "TESTING" twice on two different lines, i.e. the output is twice as long. This log looks relatively correct to me, which makes me wonder if the drivers are somehow just not sending the printer appropriate input. But maybe I'm off base, and also I'm not sure how to troubleshoot that idea.

Code: Select all
D [18/Dec/2017:20:52:11 -0500] Report: clients=2
D [18/Dec/2017:20:52:11 -0500] Report: jobs=25
D [18/Dec/2017:20:52:11 -0500] Report: jobs-active=0
D [18/Dec/2017:20:52:11 -0500] Report: printers=2
D [18/Dec/2017:20:52:11 -0500] Report: stringpool-string-count=2995
D [18/Dec/2017:20:52:11 -0500] Report: stringpool-alloc-bytes=17544
D [18/Dec/2017:20:52:11 -0500] Report: stringpool-total-bytes=60160
D [18/Dec/2017:20:52:17 -0500] [Job 33] Removing document files.
D [18/Dec/2017:20:52:17 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:52:17 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [18/Dec/2017:20:52:55 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:52:55 -0500] [Client 286] Server address is "/run/cups/cups.sock".
D [18/Dec/2017:20:52:55 -0500] [Client 286] Accepted from localhost (Domain)
D [18/Dec/2017:20:52:55 -0500] [Client 286] Waiting for request.
D [18/Dec/2017:20:52:55 -0500] [Client 286] POST / HTTP/1.1
D [18/Dec/2017:20:52:55 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:52:55 -0500] [Client 286] Read: status=200, state=6
D [18/Dec/2017:20:52:55 -0500] [Client 286] No authentication data provided.
D [18/Dec/2017:20:52:55 -0500] [Client 286] 2.0 CUPS-Get-Printers 88
D [18/Dec/2017:20:52:55 -0500] CUPS-Get-Printers
D [18/Dec/2017:20:52:55 -0500] [Client 286] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [18/Dec/2017:20:52:55 -0500] [Client 286] Content-Length: 2543
D [18/Dec/2017:20:52:55 -0500] [Client 286] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:52:55 -0500] [Client 286] con->http=0x559174ca34c0
D [18/Dec/2017:20:52:55 -0500] [Client 286] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2543, response=0x559174cbb4d0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:52:55 -0500] [Client 286] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:52:55 -0500] [Client 286] bytes=0, http_state=0, data_remaining=2543
D [18/Dec/2017:20:52:55 -0500] [Client 286] Flushing write buffer.
D [18/Dec/2017:20:52:55 -0500] [Client 286] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:52:55 -0500] [Client 286] Waiting for request.
D [18/Dec/2017:20:52:55 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:52:55 -0500] [Client 286] POST / HTTP/1.1
D [18/Dec/2017:20:52:55 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:52:55 -0500] [Client 286] Read: status=200, state=6
D [18/Dec/2017:20:52:55 -0500] [Client 286] No authentication data provided.
D [18/Dec/2017:20:52:55 -0500] [Client 286] 2.0 CUPS-Get-Default 89
D [18/Dec/2017:20:52:55 -0500] CUPS-Get-Default
D [18/Dec/2017:20:52:55 -0500] [Client 286] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost
D [18/Dec/2017:20:52:55 -0500] [Client 286] Content-Length: 18128
D [18/Dec/2017:20:52:55 -0500] [Client 286] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:52:55 -0500] [Client 286] con->http=0x559174ca34c0
D [18/Dec/2017:20:52:55 -0500] [Client 286] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=18128, response=0x559174ca6710(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:52:55 -0500] [Client 286] Writing IPP response, ipp_state=IPP_STATE_ATTRIBUTE, old wused=0, new wused=0
D [18/Dec/2017:20:52:55 -0500] [Client 286] bytes=1, http_state=7, data_remaining=18128
D [18/Dec/2017:20:52:55 -0500] [Client 286] con->http=0x559174ca34c0
D [18/Dec/2017:20:52:55 -0500] [Client 286] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=18128, response=0x559174ca6710(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:52:55 -0500] [Client 286] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:52:55 -0500] [Client 286] bytes=0, http_state=0, data_remaining=18128
D [18/Dec/2017:20:52:55 -0500] [Client 286] Flushing write buffer.
D [18/Dec/2017:20:52:55 -0500] [Client 286] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:52:55 -0500] [Client 286] Waiting for request.
D [18/Dec/2017:20:52:55 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:52:56 -0500] [Client 286] POST / HTTP/1.1
D [18/Dec/2017:20:52:56 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:52:56 -0500] [Client 286] Read: status=200, state=6
D [18/Dec/2017:20:52:56 -0500] [Client 286] No authentication data provided.
D [18/Dec/2017:20:52:56 -0500] [Client 286] 2.0 CUPS-Get-Default 90
D [18/Dec/2017:20:52:56 -0500] CUPS-Get-Default
D [18/Dec/2017:20:52:56 -0500] [Client 286] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost
D [18/Dec/2017:20:52:56 -0500] [Client 286] Content-Length: 18128
D [18/Dec/2017:20:52:56 -0500] [Client 286] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:52:56 -0500] [Client 286] con->http=0x559174ca34c0
D [18/Dec/2017:20:52:56 -0500] [Client 286] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=18128, response=0x559174cc3c80(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:52:56 -0500] [Client 286] Writing IPP response, ipp_state=IPP_STATE_ATTRIBUTE, old wused=0, new wused=0
D [18/Dec/2017:20:52:56 -0500] [Client 286] bytes=1, http_state=7, data_remaining=18128
D [18/Dec/2017:20:52:56 -0500] [Client 286] con->http=0x559174ca34c0
D [18/Dec/2017:20:52:56 -0500] [Client 286] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=18128, response=0x559174cc3c80(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:52:56 -0500] [Client 286] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:52:56 -0500] [Client 286] bytes=0, http_state=0, data_remaining=18128
D [18/Dec/2017:20:52:56 -0500] [Client 286] Flushing write buffer.
D [18/Dec/2017:20:52:56 -0500] [Client 286] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:52:56 -0500] [Client 286] Waiting for request.
D [18/Dec/2017:20:52:56 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:52:56 -0500] [Client 286] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [18/Dec/2017:20:52:56 -0500] [Client 286] Closing connection.
D [18/Dec/2017:20:52:56 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] POST / HTTP/1.1
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] Read: status=200, state=6
D [18/Dec/2017:20:53:00 -0500] [Client 217] No authentication data provided.
D [18/Dec/2017:20:53:00 -0500] [Client 217] 2.0 CUPS-Get-Printers 91
D [18/Dec/2017:20:53:00 -0500] CUPS-Get-Printers
D [18/Dec/2017:20:53:00 -0500] [Client 217] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [18/Dec/2017:20:53:00 -0500] [Client 217] Content-Length: 2543
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] con->http=0x559174c99f60
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2543, response=0x559174c4be10(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:53:00 -0500] [Client 217] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] bytes=0, http_state=0, data_remaining=2543
D [18/Dec/2017:20:53:00 -0500] [Client 217] Flushing write buffer.
D [18/Dec/2017:20:53:00 -0500] [Client 217] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:53:00 -0500] [Client 217] Waiting for request.
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] POST / HTTP/1.1
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] Read: status=200, state=6
D [18/Dec/2017:20:53:00 -0500] [Client 217] No authentication data provided.
D [18/Dec/2017:20:53:00 -0500] [Client 217] 2.0 CUPS-Get-Default 92
D [18/Dec/2017:20:53:00 -0500] CUPS-Get-Default
D [18/Dec/2017:20:53:00 -0500] [Client 217] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost
D [18/Dec/2017:20:53:00 -0500] [Client 217] Content-Length: 18128
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] con->http=0x559174c99f60
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=18128, response=0x559174cc3c80(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:53:00 -0500] [Client 217] Writing IPP response, ipp_state=IPP_STATE_ATTRIBUTE, old wused=0, new wused=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] bytes=1, http_state=7, data_remaining=18128
D [18/Dec/2017:20:53:00 -0500] [Client 217] con->http=0x559174c99f60
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=18128, response=0x559174cc3c80(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:53:00 -0500] [Client 217] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] bytes=0, http_state=0, data_remaining=18128
D [18/Dec/2017:20:53:00 -0500] [Client 217] Flushing write buffer.
D [18/Dec/2017:20:53:00 -0500] [Client 217] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:53:00 -0500] [Client 217] Waiting for request.
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] POST /printers/SRP-350plus HTTP/1.1
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] Read: status=200, state=6
D [18/Dec/2017:20:53:00 -0500] [Client 217] No authentication data provided.
D [18/Dec/2017:20:53:00 -0500] [Client 217] 2.0 Get-Printer-Attributes 93
D [18/Dec/2017:20:53:00 -0500] Get-Printer-Attributes ipp://localhost/printers/SRP-350plus
D [18/Dec/2017:20:53:00 -0500] [Client 217] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/SRP-350plus) from localhost
D [18/Dec/2017:20:53:00 -0500] [Client 217] Content-Length: 37764
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] con->http=0x559174c99f60
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=37764, response=0x559174ca78d0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:53:00 -0500] [Client 217] Writing IPP response, ipp_state=IPP_STATE_ATTRIBUTE, old wused=0, new wused=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] bytes=1, http_state=7, data_remaining=37764
D [18/Dec/2017:20:53:00 -0500] [Client 217] con->http=0x559174c99f60
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=37764, response=0x559174ca78d0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:53:00 -0500] [Client 217] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] bytes=0, http_state=0, data_remaining=37764
D [18/Dec/2017:20:53:00 -0500] [Client 217] Flushing write buffer.
D [18/Dec/2017:20:53:00 -0500] [Client 217] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:53:00 -0500] [Client 217] Waiting for request.
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] POST /printers/SRP-350plus HTTP/1.1
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] Read: status=200, state=6
D [18/Dec/2017:20:53:00 -0500] [Client 217] No authentication data provided.
D [18/Dec/2017:20:53:00 -0500] [Client 217] 2.0 Create-Job 94
D [18/Dec/2017:20:53:00 -0500] Create-Job ipp://localhost/printers/SRP-350plus
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Applying default options...
D [18/Dec/2017:20:53:00 -0500] add_job: requesting-user-name="sami"
D [18/Dec/2017:20:53:00 -0500] Adding default job-sheets values "none,none"...
I [18/Dec/2017:20:53:00 -0500] [Job 52] Adding start banner page "none".
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-created event...
I [18/Dec/2017:20:53:00 -0500] [Job 52] Queued on "SRP-350plus" by "sami".
D [18/Dec/2017:20:53:00 -0500] [Client 217] Returning IPP successful-ok for Create-Job (ipp://localhost/printers/SRP-350plus) from localhost
D [18/Dec/2017:20:53:00 -0500] [Client 217] Content-Length: 200
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] con->http=0x559174c99f60
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=200, response=0x559174caab40(IPP_STATE_IDLE), pipe_pid=0, file=-1
D [18/Dec/2017:20:53:00 -0500] [Client 217] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] bytes=0, http_state=0, data_remaining=200
D [18/Dec/2017:20:53:00 -0500] [Client 217] Flushing write buffer.
D [18/Dec/2017:20:53:00 -0500] [Client 217] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:53:00 -0500] [Client 217] Waiting for request.
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] POST /printers/SRP-350plus HTTP/1.1
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [18/Dec/2017:20:53:00 -0500] [Client 217] Read: status=200, state=6
D [18/Dec/2017:20:53:00 -0500] [Client 217] No authentication data provided.
D [18/Dec/2017:20:53:00 -0500] [Client 217] 2.0 Send-Document 95
D [18/Dec/2017:20:53:00 -0500] [Client 217] Read: status=100, state=6
D [18/Dec/2017:20:53:00 -0500] Send-Document ipp://localhost:631/printers/SRP-350plus
D [18/Dec/2017:20:53:00 -0500] cupsdIsAuthorized: requesting-user-name="sami"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Auto-typing file...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Request file type is application/pdf.
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [18/Dec/2017:20:53:00 -0500] [Job 52] File of type application/pdf queued by "sami".
I [18/Dec/2017:20:53:00 -0500] [Job 52] Adding end banner page "none".
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] time-at-processing=1513648380
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] 3 filters for job:
D [18/Dec/2017:20:53:00 -0500] [Job 52] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [18/Dec/2017:20:53:00 -0500] [Job 52] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [18/Dec/2017:20:53:00 -0500] [Job 52] rastertoBixolon (application/vnd.cups-raster to printer/SRP-350plus, cost 0)
D [18/Dec/2017:20:53:00 -0500] [Job 52] job-sheets=none,none
D [18/Dec/2017:20:53:00 -0500] [Job 52] argv[0]="SRP-350plus"
D [18/Dec/2017:20:53:00 -0500] [Job 52] argv[1]="52"
D [18/Dec/2017:20:53:00 -0500] [Job 52] argv[2]="sami"
D [18/Dec/2017:20:53:00 -0500] [Job 52] argv[3]="Untitled 1"
D [18/Dec/2017:20:53:00 -0500] [Job 52] argv[4]="1"
D [18/Dec/2017:20:53:00 -0500] [Job 52] argv[5]="PageSize=62X72MMY80MM job-uuid=urn:uuid:2865719e-0a5c-3218-4d05-3d7a670478d4 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1513648380 time-at-processing=1513648380 document-name-supplied=ODmhaN"
D [18/Dec/2017:20:53:00 -0500] [Job 52] argv[6]="/var/spool/cups/d00052-001"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[7]="CUPS_STATEDIR=/run/cups"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[8]="HOME=/var/spool/cups/tmp"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[10]="SERVER_ADMIN=root@harding"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[11]="SOFTWARE=CUPS/2.2.6"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[13]="USER=root"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[14]="CUPS_MAX_MESSAGE=2047"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[17]="IPP_PORT=631"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[18]="CHARSET=utf-8"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[19]="LANG=en_CA.UTF-8"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[20]="PPD=/etc/cups/ppd/SRP-350plus.ppd"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[21]="RIP_MAX_CACHE=128m"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[22]="CONTENT_TYPE=application/pdf"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[23]="DEVICE_URI=usb://BIXOLON/SRP-350plus"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[24]="PRINTER_INFO=BIXOLON SRP-350plus"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[25]="PRINTER_LOCATION=harding"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[26]="PRINTER=SRP-350plus"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[27]="PRINTER_STATE_REASONS=none"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[28]="CUPS_FILETYPE=document"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[30]="AUTH_I****"
I [18/Dec/2017:20:53:00 -0500] [Job 52] Started filter /usr/lib/cups/filter/pdftopdf (PID 11727)
I [18/Dec/2017:20:53:00 -0500] [Job 52] Started filter /usr/lib/cups/filter/gstoraster (PID 11728)
I [18/Dec/2017:20:53:00 -0500] [Job 52] Started filter /usr/lib/cups/filter/rastertoBixolon (PID 11729)
I [18/Dec/2017:20:53:00 -0500] [Job 52] Started backend /usr/lib/cups/backend/usb (PID 11730)
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Client 217] Returning IPP successful-ok for Send-Document (ipp://localhost:631/printers/SRP-350plus) from localhost
D [18/Dec/2017:20:53:00 -0500] [Client 217] Content-Length: 170
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] con->http=0x559174c99f60
D [18/Dec/2017:20:53:00 -0500] [Client 217] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=170, response=0x559174cc08c0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [18/Dec/2017:20:53:00 -0500] [Client 217] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [18/Dec/2017:20:53:00 -0500] [Client 217] bytes=0, http_state=0, data_remaining=170
D [18/Dec/2017:20:53:00 -0500] [Client 217] Flushing write buffer.
D [18/Dec/2017:20:53:00 -0500] [Client 217] New state is HTTP_STATE_WAITING
D [18/Dec/2017:20:53:00 -0500] [Client 217] Waiting for request.
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] BIXOLON DEBUG MSG : drive version v1.3.5
D [18/Dec/2017:20:53:00 -0500] [Job 52] Loading USB quirks from \"/usr/share/cups/usb\".
D [18/Dec/2017:20:53:00 -0500] [Job 52] BIXOLON DEBUG MSG: The Printer Model is : 13
D [18/Dec/2017:20:53:00 -0500] [Job 52] Loaded 156 quirks.
D [18/Dec/2017:20:53:00 -0500] [Job 52] Printing on printer with URI: usb://BIXOLON/SRP-350plus
D [18/Dec/2017:20:53:00 -0500] [Job 52] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [18/Dec/2017:20:53:00 -0500] [Job 52] pdftopdf: Last filter determined by the PPD: rastertoBixolon; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [18/Dec/2017:20:53:00 -0500] [Job 52] libusb_get_device_list=15
D [18/Dec/2017:20:53:00 -0500] [Job 52] STATE: +connecting-to-device
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] STATE: -connecting-to-device
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files"
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] PID 11727 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [18/Dec/2017:20:53:00 -0500] [Job 52] Color Manager: Calibration Mode/Off
D [18/Dec/2017:20:53:00 -0500] [Job 52] Device protocol: 2
D [18/Dec/2017:20:53:00 -0500] [Job 52] Sending data to printer.
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-progress event...
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Calling FindDeviceById(cups-SRP-350plus)
D [18/Dec/2017:20:53:00 -0500] [Job 52] Found device /org/freedesktop/ColorManager/devices/cups_SRP_350plus
D [18/Dec/2017:20:53:00 -0500] [Job 52] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [18/Dec/2017:20:53:00 -0500] [Job 52] Calling FindDeviceById(cups-SRP-350plus)
D [18/Dec/2017:20:53:00 -0500] [Job 52] Found device /org/freedesktop/ColorManager/devices/cups_SRP_350plus
D [18/Dec/2017:20:53:00 -0500] [Job 52] Calling GetProfileForQualifiers(CMYK..180dpi...)
D [18/Dec/2017:20:53:00 -0500] [Job 52] Failed to send: org.freedesktop.ColorManager.Device.NothingMatched:nothing matched expression \'CMYK..180dpi,CMYK..*,CMYK.*.180dpi,CMYK.*.*,*\'
D [18/Dec/2017:20:53:00 -0500] [Job 52] Failed to get profile filename for cups-SRP-350plus
D [18/Dec/2017:20:53:00 -0500] [Job 52] Color Manager: no profiles specified in PPD
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO
D [18/Dec/2017:20:53:00 -0500] [Job 52] Color Manager: ICC Profile: None
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-progress event...
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [18/Dec/2017:20:53:00 -0500] [Job 52] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r180x180 -dDEVICEWIDTHPOINTS=204 -dDEVICEHEIGHTPOINTS=226 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=62X72MMY80MM -I/usr/share/cups/fonts -c \'<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedevice\' -f -_
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[7]=\"CUPS_STATEDIR=/run/cups\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[10]=\"SERVER_ADMIN=root@harding\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[11]=\"SOFTWARE=CUPS/2.2.6\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[12]=\"TMPDIR=/var/spool/cups/tmp\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[13]=\"USER=root\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[14]=\"CUPS_MAX_MESSAGE=2047\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[15]=\"CUPS_SERVER=/run/cups/cups.sock\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[16]=\"CUPS_ENCRYPTION=IfRequested\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[17]=\"IPP_PORT=631\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[18]=\"CHARSET=utf-8\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[19]=\"LANG=en_CA.UTF-8\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[20]=\"PPD=/etc/cups/ppd/SRP-350plus.ppd\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[21]=\"RIP_MAX_CACHE=128m\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[22]=\"CONTENT_TYPE=application/pdf\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[23]=\"DEVICE_URI=usb://BIXOLON/SRP-350plus\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[24]=\"PRINTER_INFO=BIXOLON SRP-350plus\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[25]=\"PRINTER_LOCATION=harding\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[26]=\"PRINTER=SRP-350plus\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[27]=\"PRINTER_STATE_REASONS=none\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[28]=\"CUPS_FILETYPE=document\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] envp[30]=\"AUTH_INFO_REQUIRED=none\"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Start rendering...
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Set job-printer-state-message to "Start rendering...", current level=INFO
D [18/Dec/2017:20:53:00 -0500] [Job 52] Processing page 1...
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-progress event...
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Processing page 2...
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Set job-printer-state-message to "Processing page 2...", current level=INFO
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-progress event...
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] BIXOLON_DEBUG : cupsHeight = 565
D [18/Dec/2017:20:53:00 -0500] [Job 52] BIXOLON_DEBUG_MSG : removeNullLine return = 0
D [18/Dec/2017:20:53:00 -0500] [Job 52] BIXOLON_DEBUG : cupsHeight = 139
D [18/Dec/2017:20:53:00 -0500] [Job 52] BIXOLON DEBUG MESG: PAGE: 1 1
D [18/Dec/2017:20:53:00 -0500] [Job 52] BIXOLON DEBUG MSG: START PRINTING
D [18/Dec/2017:20:53:00 -0500] [Job 52] Read 4096 bytes of print data...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Wrote 4096 bytes of print data...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Read 4096 bytes of print data...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Rendering completed
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Set job-printer-state-message to "Rendering completed", current level=INFO
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-progress event...
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] PID 11728 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [18/Dec/2017:20:53:00 -0500] [Job 52] Ready to print.
D [18/Dec/2017:20:53:00 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:00 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:00 -0500] [Job 52] Set job-printer-state-message to "Ready to print.", current level=INFO
D [18/Dec/2017:20:53:00 -0500] Discarding unused job-progress event...
D [18/Dec/2017:20:53:00 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:00 -0500] [Job 52] PID 11729 (/usr/lib/cups/filter/rastertoBixolon) exited with no errors.
D [18/Dec/2017:20:53:00 -0500] [Job 52] Wrote 4096 bytes of print data...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Read 723 bytes of print data...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Wrote 723 bytes of print data...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Sent 8915 bytes...
D [18/Dec/2017:20:53:00 -0500] [Job 52] Waiting for read thread to exit...
D [18/Dec/2017:20:53:05 -0500] [Job 52] Failed to re-attach \"usblp\" kernel module to 1504:0006
D [18/Dec/2017:20:53:05 -0500] [Job 52] PID 11730 (/usr/lib/cups/backend/usb) exited with no errors.
D [18/Dec/2017:20:53:05 -0500] [Job 52] time-at-completed=1513648385
D [18/Dec/2017:20:53:05 -0500] Discarding unused job-completed event...
I [18/Dec/2017:20:53:05 -0500] [Job 52] Job completed.
I [18/Dec/2017:20:53:05 -0500] Expiring subscriptions...
D [18/Dec/2017:20:53:05 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:05 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:05 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:05 -0500] Discarding unused printer-state-changed event...
D [18/Dec/2017:20:53:05 -0500] cupsdMarkDirty(---J-)
D [18/Dec/2017:20:53:05 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [18/Dec/2017:20:53:06 -0500] [Job 52] Unloading...
D [18/Dec/2017:20:53:11 -0500] Report: clients=2
D [18/Dec/2017:20:53:11 -0500] Report: jobs=26
D [18/Dec/2017:20:53:11 -0500] Report: jobs-active=0
D [18/Dec/2017:20:53:11 -0500] Report: printers=2
D [18/Dec/2017:20:53:11 -0500] Report: stringpool-string-count=2995
D [18/Dec/2017:20:53:11 -0500] Report: stringpool-alloc-bytes=17544
D [18/Dec/2017:20:53:11 -0500] Report: stringpool-total-bytes=60160
^C
cinoyter
 
Posts: 5
Joined: 2017-12-18 01:04

Re: CUPS and Bixolon SRP-350 receipt printer

Postby cinoyter » 2017-12-19 01:46

It seems like I can print very small documents. How could I test my theory that I am overflowing the printer's buffer -- which I have learned is 64 KB? Or is there another consideration?
cinoyter
 
Posts: 5
Joined: 2017-12-18 01:04

Re: CUPS and Bixolon SRP-350 receipt printer

Postby debiman » 2017-12-19 05:16

maybe it can print only plain text, and no office documents?
(if i tried to open a libreoffice document in a plain text editor i might get similar garbage)
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: CUPS and Bixolon SRP-350 receipt printer

Postby cinoyter » 2017-12-20 01:23

In case anyone ever comes across this thread, I resolved this problem by:
[*] Contacting the vendor (Bixolon) and updating the printer to the newest version of its firmware -- 6.10
[*] Setting up the printer using the Epson TM/BA drivers -- it is possible that this is not necessary.
cinoyter
 
Posts: 5
Joined: 2017-12-18 01:04

Re: CUPS and Bixolon SRP-350 receipt printer

Postby debiman » 2017-12-24 07:04

so can you print office documents?

the problem was indeed some sort of buffer overflow?
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: CUPS and Bixolon SRP-350 receipt printer

Postby cinoyter » 2018-07-19 14:21

Sorry, I never saw this and now I've logged in again for another question!
Yes, the problem appeared to be some sort of buffer overflow, and I can print arbitrary documents via CUPS now.
cinoyter
 
Posts: 5
Joined: 2017-12-18 01:04


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable