michaelrsweet / lprint

A Label Printer Application
https://www.msweet.org/lprint
Apache License 2.0
227 stars 31 forks source link

Fresh install - neither Zebra works, only prints out first 10% then says "out of paper" #117

Closed a10kiloham closed 7 months ago

a10kiloham commented 8 months ago

Odd behavior. I'm using the non-snap version via the source although I've tried the source as well.

I've two machines each in a different location. Same OS, Ubuntu 22. One connecting to a 300dpi Zebra GX430t thermal transfer, the other to a ZM600 300dpi thermal transfer.

Both work fine normally with cups and such. However when I install the lprint server and add the printer on each, the label prints the first maybe 1" of a 4x6 label then the printer hangs. I've tried every variation of printer setting I can see to eliminate and for some reason it simply won't work for me at all.

For both, I've configured the printer in the GUI and command lines. Some variation of this - lprint add -d Zebra_ZPRINT_CLI -v socket://192.168.1.188 -m zpl_4inch-300dpi-tt -o na_4x6-index_4x6in

The printer is found and looks fine in the gui. I can change the settings to web and label as the types and confirm the 4x6 size.

However anytime I print the test page it fails on me entirely. Whether it's in the Lprint UI or my local Mac CUPS GUI, I can't figure out a way past this.

Logs below - any ideas appreciated!


D [2024-01-30T21:33:14.519Z] [Job 6] media-col.bottom-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.left-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.right-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.size=1016x1524
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.size-name='na_index-4x6_4x6in'
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.source='main-roll'
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.top-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.top-offset=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.tracking='gap'
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.type='labels'
D [2024-01-30T21:33:14.519Z] [Job 6] orientation-requested=none
D [2024-01-30T21:33:14.519Z] [Job 6] page-ranges=-214748364
D [2024-01-30T21:33:14.519Z] [Job 6] print-color-mode='monochrome'
D [2024-01-30T21:33:14.519Z] [Job 6] print-content-optimize='text'
D [2024-01-30T21:33:14.519Z] [Job 6] print-darkness=
D [2024-01-30T21:33:14.519Z] [Job 6] print-quality=normal
D [2024-01-30T21:33:14.519Z] [Job 6] print-scaling='none'
D [2024-01-30T21:33:14.519Z] [Job 6] print-speed=508
D [2024-01-30T21:33:14.519Z] [Job 6] printer-resolution=30x30dpi
D [2024-01-30T21:33:14.553Z] [Printer Z-Lprint] HQES returned '\002\r\n\r\n  PRINTER STATUS                            \r\n   ERRORS:         0 00000000 00000000      \r\n   WARNINGS:       0 00000000 00000000      \r\n\003'.
D [2024-01-30T21:33:14.553Z] [Job 6] dither=[
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 10  7  7 10 12 15 16 13 10  7  7 10 12 15 16 13 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [  6  5  5  7 15 18 19 16  6  5  5  7 15 18 19 16 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [  9  6  6  8 14 18 19 17  9  6  6  8 14 18 19 17 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 11  9  8 10 12 14 17 13 11  9  8 10 12 14 17 13 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 12 15 15 12 10  7  7 10 12 15 15 12 10  7  7 10 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 14 18 18 16  6  5  5  8 14 18 18 16  7  5  6  8 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 14 17 19 16  9  6  6  8 14 17 19 16  9  6  6  8 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 11 13 17 13 11  9  8 11 11 13 17 13 11  9  8 11 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 10  7  7 10 12 15 16 13 10  7  7 10 12 15 16 13 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [  6  5  5  8 15 18 19 16  6  5  5  8 15 18 19 16 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [  9  6  6  8 14 18 19 17  9  6  6  8 14 18 19 17 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 11  9  8 11 12 14 17 13 11  9  8 11 12 14 17 13 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 12 15 15 12 10  7  7 10 12 15 15 12 10  7  7 10 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 14 18 19 16  7  5  6  8 14 18 19 16  7  5  6  8 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 14 17 19 16  9  6  6  8 14 18 19 16  9  6  6  8 ]
D [2024-01-30T21:33:14.553Z] [Job 6]   [ 11 13 17 13 11  9  9 11 12 13 17 13 11  9  9 11 ]
D [2024-01-30T21:33:14.553Z] [Job 6] ]
D [2024-01-30T21:33:14.553Z] [Job 6] in_bottom=179
D [2024-01-30T21:33:14.553Z] [Job 6] in_left=
D [2024-01-30T21:33:14.553Z] [Job 6] in_top=
D [2024-01-30T21:33:14.553Z] [Job 6] in_width=120
D [2024-01-30T21:33:14.553Z] [Job 6] in_bpp=
D [2024-01-30T21:33:14.553Z] [Job 6] in_white=25
D [2024-01-30T21:33:14.553Z] [Job 6] out_white=
D [2024-01-30T21:33:14.553Z] [Job 6] out_width=15
I [2024-01-30T21:33:15.510Z] [Client 47] HTTP_STATE_POST http://192.168.1.2:8000/ipp/print/Z-Lprint HTTP/. ()
I [2024-01-30T21:33:15.510Z] [Client 47] Continue
D [2024-01-30T21:33:15.510Z] [Client 47] Get-Printer-Attributes request: IPP/. request-id=
D [2024-01-30T21:33:15.510Z] [Client 47] Get-Printer-Attributes request: operation-attributes-tag
D [2024-01-30T21:33:15.510Z] [Client 47] Get-Printer-Attributes request:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.510Z] [Client 47] Get-Printer-Attributes request:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.510Z] [Client 47] Get-Printer-Attributes request:   printer-uri uri ipp://192.168.1.2:8000/ipp/print/Z-Lprint
D [2024-01-30T21:33:15.510Z] [Client 47] Get-Printer-Attributes request:   requesting-user-name nameWithoutLanguage robk
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes request:   requested-attributes 1setOf keyword compression-supported,copies-supported,cups-version,document-format-supported,job-password-encryption-supported,job-presets-supported,marker-colors,marker-high-levels,marker-levels,marker-low-levels,marker-message,marker-names,marker-types,media-col-supported,multiple-document-handling-supported,operations-supported,print-color-mode-supported,printer-alert,printer-alert-description,printer-is-accepting-jobs,printer-mandatory-job-attributes,printer-state,printer-state-message,printer-state-reasons
D [2024-01-30T21:33:15.511Z] [Client 47] IPP/. Get-Printer-Attributes (CUPS/2.3.4 (macOS 14.2.1; arm64) IPP/2.0)
I [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes successful-ok
I [2024-01-30T21:33:15.511Z] [Client 47] OK application/ipp 114
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response: IPP/. request-id=, status-code=successful-ok
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response: operation-attributes-tag
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response: printer-attributes-tag
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   compression-supported 1setOf keyword deflate,gzip,none
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   multiple-document-handling-supported 1setOf keyword separate-documents-uncollated-copies,separate-documents-collated-copies
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   operations-supported 1setOf enum Print-Job,Validate-Job,Create-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Pause-Printer,Resume-Printer,Set-Printer-Attributes,Get-Printer-Supported-Values,Create-Printer-Subscriptions,Create-Job-Subscriptions,Get-Subscription-Attributes,Get-Subscriptions,Renew-Subscription,Cancel-Subscription,Get-Notifications,Enable-Printer,Disable-Printer,Pause-Printer-After-Current-Job,Cancel-Current-Job,Cancel-Jobs,Cancel-My-Jobs,Close-Job,Identify-Printer,Hold-Job,Release-Job,Hold-New-Jobs,Release-Held-New-Jobs
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   document-format-supported 1setOf mimeMediaType application/octet-stream,image/pwg-raster,image/urf,application/vnd.zebra-zpl,application/vnd.lprint-test,image/jpeg,image/png
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   media-col-supported 1setOf keyword media-bottom-margin,media-left-margin,media-right-margin,media-size,media-size-name,media-top-margin,media-source,media-top-offset,media-tracking,media-type
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   print-color-mode-supported 1setOf keyword auto,bi-level,monochrome
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   printer-is-accepting-jobs boolean true
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   printer-state enum processing
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   printer-state-message textWithoutLanguage Printing.
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   printer-state-reasons keyword none
D [2024-01-30T21:33:15.511Z] [Client 47] Get-Printer-Attributes response:   copies-supported rangeOfInteger 1-999
I [2024-01-30T21:33:15.526Z] [Client 47] HTTP_STATE_POST http://192.168.1.2:8000/ipp/print/Z-Lprint HTTP/. ()
I [2024-01-30T21:33:15.526Z] [Client 47] Continue
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request: IPP/. request-id=
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request: operation-attributes-tag
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request:   printer-uri uri ipp://192.168.1.2:8000/ipp/print/Z-Lprint
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request:   job-id integer 6
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request:   requesting-user-name nameWithoutLanguage robk
D [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes request:   requested-attributes 1setOf keyword job-id,job-impressions-completed,job-media-sheets-completed,job-name,job-originating-user-name,job-state,job-state-reasons
D [2024-01-30T21:33:15.526Z] [Client 47] IPP/. Get-Job-Attributes (CUPS/2.3.4 (macOS 14.2.1; arm64) IPP/2.0)
I [2024-01-30T21:33:15.526Z] [Client 47] Get-Job-Attributes successful-ok
I [2024-01-30T21:33:15.527Z] [Client 47] OK application/ipp 23
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response: IPP/. request-id=, status-code=successful-ok
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response: operation-attributes-tag
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response: job-attributes-tag
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   job-name nameWithoutLanguage Test Page
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   job-originating-user-name nameWithoutLanguage robk
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   job-id integer 6
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   job-impressions-completed integer 1
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   job-state enum processing
D [2024-01-30T21:33:15.527Z] [Client 47] Get-Job-Attributes response:   job-state-reasons keyword job-printing
D [2024-01-30T21:33:15.963Z] [Printer Z-Lprint] HQES returned '\002\r\n\r\n  PRINTER STATUS                            \r\n   ERRORS:         0 00000000 00000000      \r\n   WARNINGS:       0 00000000 00000000      \r\n\003'.
I [2024-01-30T21:33:15.963Z] [Job 6] Completed, job-impressions-completed=.
D [2024-01-30T21:33:15.963Z] [Job 6] Device read metrics:  requests, 28 bytes, 143 msecs
D [2024-01-30T21:33:15.963Z] [Job 6] Device write metrics:  requests, 4205 bytes,  msecs
D [2024-01-30T21:33:15.963Z] [Printer Z-Lprint] Closing device for job .
I [2024-01-30T21:33:15.964Z] [Client 46] Send-Document successful-ok
I [2024-01-30T21:33:15.964Z] [Client 46] OK application/ipp 24
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response: IPP/. request-id=, status-code=successful-ok
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response: operation-attributes-tag
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response: job-attributes-tag
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response:   job-id integer 6
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response:   job-uri uri ipp://192.168.1.2:8000/ipp/print/Z-Lprint/6
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response:   job-state enum completed
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response:   job-state-message textWithoutLanguage Job completed.
D [2024-01-30T21:33:15.964Z] [Client 46] Send-Document response:   job-state-reasons keyword job-completed-successfully
I [2024-01-30T21:33:15.969Z] [Client 46] HTTP_STATE_POST http://192.168.1.2:8000/ipp/print/Z-Lprint HTTP/. ()
I [2024-01-30T21:33:15.970Z] [Client 46] Continue
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes request: IPP/. request-id=
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes request: operation-attributes-tag
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes request:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes request:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes request:   printer-uri uri ipp://192.168.1.2:8000/ipp/print/Z-Lprint
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes request:   requesting-user-name nameWithoutLanguage robk
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes request:   requested-attributes 1setOf keyword compression-supported,copies-supported,cups-version,document-format-supported,job-password-encryption-supported,job-presets-supported,marker-colors,marker-high-levels,marker-levels,marker-low-levels,marker-message,marker-names,marker-types,media-col-supported,multiple-document-handling-supported,operations-supported,print-color-mode-supported,printer-alert,printer-alert-description,printer-is-accepting-jobs,printer-mandatory-job-attributes,printer-state,printer-state-message,printer-state-reasons
D [2024-01-30T21:33:15.970Z] [Client 46] IPP/. Get-Printer-Attributes (CUPS/2.3.4 (macOS 14.2.1; arm64) IPP/2.0)
I [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes successful-ok
I [2024-01-30T21:33:15.970Z] [Client 46] OK application/ipp 114
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response: IPP/. request-id=, status-code=successful-ok
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response: operation-attributes-tag
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response: printer-attributes-tag
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   compression-supported 1setOf keyword deflate,gzip,none
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   multiple-document-handling-supported 1setOf keyword separate-documents-uncollated-copies,separate-documents-collated-copies
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   operations-supported 1setOf enum Print-Job,Validate-Job,Create-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Pause-Printer,Resume-Printer,Set-Printer-Attributes,Get-Printer-Supported-Values,Create-Printer-Subscriptions,Create-Job-Subscriptions,Get-Subscription-Attributes,Get-Subscriptions,Renew-Subscription,Cancel-Subscription,Get-Notifications,Enable-Printer,Disable-Printer,Pause-Printer-After-Current-Job,Cancel-Current-Job,Cancel-Jobs,Cancel-My-Jobs,Close-Job,Identify-Printer,Hold-Job,Release-Job,Hold-New-Jobs,Release-Held-New-Jobs
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   document-format-supported 1setOf mimeMediaType application/octet-stream,image/pwg-raster,image/urf,application/vnd.zebra-zpl,application/vnd.lprint-test,image/jpeg,image/png
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   media-col-supported 1setOf keyword media-bottom-margin,media-left-margin,media-right-margin,media-size,media-size-name,media-top-margin,media-source,media-top-offset,media-tracking,media-type
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   print-color-mode-supported 1setOf keyword auto,bi-level,monochrome
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   printer-is-accepting-jobs boolean true
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   printer-state enum idle
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   printer-state-message textWithoutLanguage Idle.
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   printer-state-reasons keyword none
D [2024-01-30T21:33:15.970Z] [Client 46] Get-Printer-Attributes response:   copies-supported rangeOfInteger 1-999
I [2024-01-30T21:33:15.978Z] [Client 46] Closing connection from '192.168.1.10'.
I [2024-01-30T21:33:15.978Z] [Client 48] Accepted connection from '192.168.1.10'.
I [2024-01-30T21:33:15.978Z] Saving system state to '/etc/lprint.conf'.
I [2024-01-30T21:33:15.982Z] [Client 48] HTTP_STATE_POST http://192.168.1.2:8000/ipp/print/Z-Lprint HTTP/. ()
I [2024-01-30T21:33:15.982Z] [Client 48] Continue
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request: IPP/. request-id=
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request: operation-attributes-tag
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request:   printer-uri uri ipp://192.168.1.2:8000/ipp/print/Z-Lprint
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request:   job-id integer 6
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request:   requesting-user-name nameWithoutLanguage robk
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes request:   requested-attributes 1setOf keyword job-id,job-impressions-completed,job-media-sheets-completed,job-name,job-originating-user-name,job-state,job-state-reasons
D [2024-01-30T21:33:15.982Z] [Client 48] IPP/. Get-Job-Attributes (CUPS/2.3.4 (macOS 14.2.1; arm64) IPP/2.0)
I [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes successful-ok
I [2024-01-30T21:33:15.982Z] [Client 48] OK application/ipp 24
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response: IPP/. request-id=, status-code=successful-ok
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response: operation-attributes-tag
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response: job-attributes-tag
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   job-name nameWithoutLanguage Test Page
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   job-originating-user-name nameWithoutLanguage robk
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   job-id integer 6
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   job-impressions-completed integer 1
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   job-state enum completed
D [2024-01-30T21:33:15.982Z] [Client 48] Get-Job-Attributes response:   job-state-reasons keyword job-completed-successfully
I [2024-01-30T21:33:15.987Z] [Client 48] HTTP_STATE_POST http://192.168.1.2:8000/ipp/print/Z-Lprint HTTP/. ()
I [2024-01-30T21:33:15.987Z] [Client 48] Continue
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes request: IPP/. request-id=1
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes request: operation-attributes-tag
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes request:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes request:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes request:   printer-uri uri ipp://192.168.1.2:8000/ipp/print/Z-Lprint
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes request:   requesting-user-name nameWithoutLanguage robk
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes request:   requested-attributes 1setOf keyword compression-supported,copies-supported,cups-version,document-format-supported,job-password-encryption-supported,job-presets-supported,marker-colors,marker-high-levels,marker-levels,marker-low-levels,marker-message,marker-names,marker-types,media-col-supported,multiple-document-handling-supported,operations-supported,print-color-mode-supported,printer-alert,printer-alert-description,printer-is-accepting-jobs,printer-mandatory-job-attributes,printer-state,printer-state-message,printer-state-reasons
D [2024-01-30T21:33:15.987Z] [Client 48] IPP/. Get-Printer-Attributes (CUPS/2.3.4 (macOS 14.2.1; arm64) IPP/2.0)
I [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes successful-ok
I [2024-01-30T21:33:15.987Z] [Client 48] OK application/ipp 114
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response: IPP/. request-id=1, status-code=successful-ok
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response: operation-attributes-tag
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   attributes-charset charset utf-8
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   attributes-natural-language naturalLanguage en-us
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response: printer-attributes-tag
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   compression-supported 1setOf keyword deflate,gzip,none
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   multiple-document-handling-supported 1setOf keyword separate-documents-uncollated-copies,separate-documents-collated-copies
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   operations-supported 1setOf enum Print-Job,Validate-Job,Create-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Pause-Printer,Resume-Printer,Set-Printer-Attributes,Get-Printer-Supported-Values,Create-Printer-Subscriptions,Create-Job-Subscriptions,Get-Subscription-Attributes,Get-Subscriptions,Renew-Subscription,Cancel-Subscription,Get-Notifications,Enable-Printer,Disable-Printer,Pause-Printer-After-Current-Job,Cancel-Current-Job,Cancel-Jobs,Cancel-My-Jobs,Close-Job,Identify-Printer,Hold-Job,Release-Job,Hold-New-Jobs,Release-Held-New-Jobs
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   document-format-supported 1setOf mimeMediaType application/octet-stream,image/pwg-raster,image/urf,application/vnd.zebra-zpl,application/vnd.lprint-test,image/jpeg,image/png
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   media-col-supported 1setOf keyword media-bottom-margin,media-left-margin,media-right-margin,media-size,media-size-name,media-top-margin,media-source,media-top-offset,media-tracking,media-type
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   print-color-mode-supported 1setOf keyword auto,bi-level,monochrome
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   printer-is-accepting-jobs boolean true
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   printer-state enum idle
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   printer-state-message textWithoutLanguage Idle.
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   printer-state-reasons keyword none
D [2024-01-30T21:33:15.987Z] [Client 48] Get-Printer-Attributes response:   copies-supported rangeOfInteger 1-999
I [2024-01-30T21:33:15.993Z] [Client 47] Closing connection from '192.168.1.10'.
I [2024-01-30T21:33:15.993Z] [Client 48] Closing connection from '192.168.1.10'.

lprint.conf

DNSSDName Airprint Lprint
Geolocation geo:0,0
Contact
DefaultPrinterID 1
MaxImageSize 1073741824 16384 16384
NextPrinterID 3
UUID urn:uuid:8e34a909-3819-393d-6d50-a799631a5a32
<Printer did="MFG:Zebra;MDL:GX430t;CMD:PWGRaster,URF,ZPL,application/vnd.lprint-test,JPEG,PNG;" driver="zpl_4inch-300dpi-tt" id="1" name="Z-Lprint" uri="socket://192.168.1.188">
DNSSDName Z-Lprint
Contact
MaxActiveJobs 0
MaxCompletedJobs 100
NextJobId 7
ImpressionsCompleted 6
label-mode-configured tear-off
media-col-default bottom="1" left="1" length="15240" name="na_index-4x6_4x6in" right="1" source="main-roll" top="1" tracking="gap" type="labels" width="10160"
media-col-ready0 bottom="1" left="1" length="15240" name="na_index-4x6_4x6in" right="1" source="main-roll" top="1" tracking="gap" type="labels" width="10160"
orientation-requested-default none
print-color-mode-default monochrome
print-content-optimize-default text
print-quality-default high
print-scaling-default none
printer-darkness-configured 3
sides-default one-sided
printer-resolution-default 300x300dpi
Job completed="1706650395" created="1706650394" format="image/urf" id="6" imcompleted="1" impressions="1" name="Test Page" processing="1706650394" state="9" username="robk"
Job completed="1706650317" created="1706650316" format="image/urf" id="5" imcompleted="1" impressions="1" name="Test Page" processing="1706650316" state="9" username="robk"
Job completed="1706649632" created="1706649622" format="application/vnd.lprint-test" id="4" imcompleted="1" impressions="1" name="Test Page" processing="1706649622" state="9" username="guest"
Job completed="1706648500" created="1706648490" format="application/vnd.lprint-test" id="3" imcompleted="1" impressions="1" name="Test Page" processing="1706648490" state="9" username="guest"
Job completed="1706647606" created="1706647601" format="application/vnd.lprint-test" id="2" imcompleted="1" impressions="1" name="Test Page" processing="1706647601" state="9" username="guest"
Job completed="1706647505" created="1706647503" format="application/vnd.lprint-test" id="1" imcompleted="1" impressions="1" name="Test Page" processing="1706647503" state="9" username="guest"
</Printer>
<Printer did="MFG:Zebra;MDL:ZPL 4-inch/300dpi/Thermal-Transfer;CMD:PWGRaster,URF,ZPL,application/vnd.lprint-test,JPEG,PNG;" driver="zpl_4inch-300dpi-tt" id="2" name="Zebra_ZPRINT_CLI" uri="socket://192.168.1.188">
DNSSDName Zebra_ZPRINT_CLI
Contact
MaxActiveJobs 0
MaxCompletedJobs 100
NextJobId 1
ImpressionsCompleted 0
label-mode-configured tear-off
media-col-default bottom="1" left="1" length="15240" name="na_index-4x6_4x6in" right="1" source="main-roll" top="1" tracking="gap" type="labels" width="10160"
media-col-ready0 bottom="1" left="1" length="15240" name="na_index-4x6_4x6in" right="1" source="main-roll" top="1" tracking="gap" type="labels" width="10160"
orientation-requested-default none
print-color-mode-default monochrome
print-content-optimize-default auto
print-quality-default normal
print-scaling-default auto
printer-darkness-configured 50
sides-default one-sided
printer-resolution-default 300x300dpi
</Printer>
michaelrsweet commented 8 months ago

The log shows some weird values for the job options:

D [2024-01-30T21:33:14.519Z] [Job 6] media-col.bottom-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.left-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.right-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.size=1016x1524
...
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.top-margin=
D [2024-01-30T21:33:14.519Z] [Job 6] media-col.top-offset=
...
D [2024-01-30T21:33:14.519Z] [Job 6] print-speed=508
D [2024-01-30T21:33:14.519Z] [Job 6] printer-resolution=30x30dpi

It's like either certain zeros have been dropped from the log or values are 1/10th what they should be... ?!?

Can you confirm what versions of LPrint, PAPPL, and CUPS you are using?

a10kiloham commented 8 months ago

Yes I thought that was quite odd as well looking at the dropped zeroes from resolution. The lprint was pulled from the master branch off Github and compiled. PAPPL was from apt - 1.3.1-2 CUPS is latest from apt - 2.4.6-0ubuntu3

michaelrsweet commented 8 months ago

Can you try the current PAPPL 1.4.x release?

a10kiloham commented 7 months ago

Sorry I had to bin this for the while and switch back to plain cups. I'll try it again soon but iirc I had later tried the newest Pappl but can't recall it changing anything. Thanks for the help