I have a Kyocera M8124cidn. On a CentOS 6 machine, I added the printer with this command:
lpadmin -p oakholserv2 -o printer-error-policy=retry-current-job -E -v lpd://oakholserv2/raw?timeout=10
However, the formatting is incorrect when in prints out.
I have installed the printer driver and added the printer with the following command:
lpadmin -p oakholserv2 -o printer-error-policy=retry-current-job -E -v lpd://oakholserv2/raw?timeout=10 -m kyocera/Kyocera_ECOSYS_M8124cidn.ppd
However, when I send a test print, it just remains in the queue.
Here’s the output of the error_log:
W [05/Oct/2022:12:27:40 +1100] [Job 4873694] Remote host did not respond with data status byte after 10 seconds!
E [05/Oct/2022:12:27:40 +1100] [Job 4873694] Job stopped due to filter errors; please consult the error_log file for details.
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] The following messages were recorded from 12:27:30 PM to 12:27:40 PM
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Adding start banner page "none".
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Queued on "oakholserv2" by "root".
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Auto-typing file...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Request file type is text/plain.
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] File of type text/plain queued by "root".
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Adding end banner page "none".
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] job-sheets=none,none
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] argv[0]="oakholserv2"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] argv[1]="4873694"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] argv[2]="root"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] argv[3]="test.txt"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] argv[4]="1"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] argv[5]="finishings=3 media=na_letter_8.5x11in number-up=1 sides=two-sided-long-edge job-uuid=urn:uuid:ac1f3b05-db2a-3416-7476-2347e8cf90fb job-originating-host-name=localhost"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] argv[6]="/var/spool/cups/d4873694-001"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[8]="HOME=/var/spool/cups/tmp"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[9]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[10]="SERVER_ADMIN=root@m07pmds"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[11]="SOFTWARE=CUPS/1.4.2"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[13]="USER=root"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[16]="IPP_PORT=631"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[17]="CHARSET=utf-8"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[18]="LANG=en_US.UTF-8"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[19]="PPD=/etc/cups/ppd/oakholserv2.ppd"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[20]="RIP_MAX_CACHE=128m"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[21]="CONTENT_TYPE=text/plain"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[22]="DEVICE_URI=lpd://oakholserv2/raw?timeout=10"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[23]="PRINTER_INFO=oakholserv2"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[24]="PRINTER_LOCATION="
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[25]="PRINTER=oakholserv2"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[26]="CUPS_FILETYPE=document"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] envp[27]="FINAL_CONTENT_TYPE=printer/oakholserv2"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Started filter /usr/lib/cups/filter/texttopaps (PID 23869)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Started filter /usr/lib/cups/filter/pstops (PID 23870)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Started filter /usr/lib/cups/filter/kyofilter_H (PID 23871)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Started backend /usr/lib/cups/backend/lpd (PID 23872)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] oakholserv2: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by oakholserv2)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] oakholserv2: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by oakholserv2)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] oakholserv2: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by oakholserv2)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] oakholserv2: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by oakholserv2)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: +connecting-to-device
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Looking up "oakholserv2"...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Copying print data...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] backendRunLoop(print_fd=-1, device_fd=6, snmp_fd=5, addr=0x7f695a633968, use_bc=0, side_cb=0x7f695a1a0870)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: +connecting-to-device
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Looking up "oakholserv2"...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Connecting to oakholserv2:515 for printer raw
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Connecting to printer...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -connecting-to-device
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Connected to printer...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Connected to 10.0.0.151:515 (IPv4) (local port 1023)...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] hrDeviceDesc="ECOSYS M8124cidn"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerColorantValue.1.1 = "cyan"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerColorantValue.1.2 = "magenta"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerColorantValue.1.3 = "yellow"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerColorantValue.1.4 = "black"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] ATTR: marker-colors=#00FFFF,#FF00FF,#FFFF00,#000000,none
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] ATTR: marker-names="TK-8119CS","TK-8119MS","TK-8119YS","TK-8119KS","Waste Toner Box"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] ATTR: marker-types=toner,toner,toner,toner,wasteToner
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] ATTR: marker-levels=96,96,95,52,-1
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -media-low-report
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -media-empty-warning
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -toner-low-report
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -toner-empty-warning
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -door-open-report
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -media-jam-warning
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -input-tray-missing-warning
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -output-tray-missing-warning
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -marker-supply-missing-warning
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -output-area-almost-full-report
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] STATE: -output-area-full-warning
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] lpd_command 02 raw
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Sending command string (5 bytes)...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Reading command status...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] lpd_command returning 0
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Control file is:
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Hlocalhost
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Proot
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Jtest_txt
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] ldfA872localhost
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] UdfA872localhost
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Ntest_txt
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] lpd_command 02 71 cfA872localhost
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Sending command string (20 bytes)...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Reading command status...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] lpd_command returning 0
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Sending control file (71 bytes)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Control file sent successfully
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] lpd_command 03 0 dfA872localhost
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Sending command string (19 bytes)...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Reading command status...
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] lpd_command returning 0
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Sending data file (0 bytes)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Page = 612x792; 12,8 to 600,784
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] slow_collate=0, slow_duplex=0, slow_order=0
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Before copy_comments - %!PS-Adobe-3.0
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %!PS-Adobe-3.0
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %cupsRotation: 0
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %%Title: test.txt
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %%Creator: paps version 0.6.7 by Dov Grobgeld
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %%Pages: (atend)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %%BoundingBox: 0 0 612 792
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %%For: root
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %%Orientation: Portrait
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] %%EndComments
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Before copy_prolog - %%BeginProlog
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Before copy_setup - %%BeginSetup
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] Data file sent successfully
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerSuppliesLevel.1.1 = 1425
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerSuppliesLevel.1.2 = 1440
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerSuppliesLevel.1.3 = 1410
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerSuppliesLevel.1.4 = 1410
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] prtMarkerSuppliesLevel.1.5 = -3
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] ATTR: marker-levels=95,96,94,47,-1
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] End of messages
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] printer-state=3(idle)
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] printer-state-message="Data file sent successfully"
D [05/Oct/2022:12:27:40 +1100] [Job 4873694] printer-state-reasons=none