[cups] Print options to remote queue

Johan Bengtsson elijah at chalmers.se
Thu Apr 4 07:21:14 PDT 2019


I'm trying to print to a remote cups queue from
a Mac (Mojave).

If the queue is authenticated (kerberos) options are not included in the job:

D [04/Apr/2019:14:34:34 +0200] [Job 100] argv[4]="1"
D [04/Apr/2019:14:34:34 +0200] [Job 100] 
argv[5]="job-uuid=urn:uuid:3a1a674a-a692-3e3a-43fd-20c7f6f41bef 
job-originating-host-name=129.16.129.189 date-time-at-creation= 
date-time-at-processing= time-at-creation=1554381274 
time-at-processing=1554381274"
D [04/Apr/2019:14:34:34 +0200] [Job 100] argv[6]="/var/spool/cups/d00100-001"




Printing to the same printer with the same ppd but without autentication:

D [04/Apr/2019:14:55:30 +0200] [Job 101] argv[4]="1"
D [04/Apr/2019:14:55:30 +0200] [Job 101] 
argv[5]="AP_ColorMatchingMode=AP_ApplicationColorMatching AP_D_InputSlot= 
noBookletBinding..b. BookletType..n.=0 nocollate 
com.apple.print.DocumentTicket.PMSpoolFormat=application/pdf 
com.apple.print.JobInfo.PMApplicationName=Safari 
com.apple.print.JobInfo.PMJobName=Stockholms\\ renhållningsverk\\ –\\ 
Wikipedia com.apple.print.JobInfo.PMJobOwner=Johan\\ Bengtsson 
com.apple.print.PageToPaperMappingMediaName=A4 
com.apple.print.PageToPaperMappingType..n.=1

[cut]

page-border=double PageSize=A4 PaperInfoIsSuggested..b. 
pserrorhandler-requested=standard sides=two-sided-long-edge 
StapleLocation=staple-top-left job-originating-host-name=129.16.129.189 
date-time-at-creation= date-time-at-processing= time-at-creation=1554382530 
time-at-processing=1554382530"
D [04/Apr/2019:14:55:30 +0200] [Job 101] argv[6]="/var/spool/cups/d00101-001"

Auth printqueue on server:

<Printer sv-305-color1>
UUID urn:uuid:80e479f9-6422-3deb-6bf7-2fc407268b73
AuthInfoRequired none
Info sv-305-color1
Location SV-305 IT-Avdelningen
MakeModel 5052ci - IPP Everywhere
DeviceURI ipp://sv-305-color1.print.chalmers.se:631/ipp
State Idle
StateTime 1554381307
ConfigTime 1554373402
Reason media-empty-report
Type 4206716
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy kerberos
ErrorPolicy retry-job
Attribute marker-colors \#00FFFF,#FF00FF,#FFFF00,#000000,none
Attribute marker-levels 88,89,86,75,0
Attribute marker-low-levels 5,5,5,5,0
Attribute marker-high-levels 100,100,100,100,95
Attribute marker-names Cyan TK-8515C,Magenta TK-8515M,Yellow TK-8515Y,Black 
TK-8515K,Waste Toner Box
Attribute marker-types toner,toner,toner,toner,waste-toner
Attribute marker-change-time 1554381274
</Printer>

Auth printqueue on client:

<Printer sv-305-color1>
UUID urn:uuid:b3eda648-3cfb-3397-5309-34ae422ecdcd
AuthInfoRequired negotiate
Info sv-305-color1
Location SV-305 IT-Avdelningen
MakeModel - IPP Everywhere - IPP Everywhere
DeviceURI ipp://printmgmt.ita.chalmers.se:631/printers/sv-305-color1
State Idle
StateTime 1554381315
ConfigTime 1554380980
Reason media-empty-report
Type 4206716
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy kerberos
ErrorPolicy retry-job
Attribute marker-colors \#00FFFF,#FF00FF,#FFFF00,#000000,none
Attribute marker-levels 88,89,86,75,0
Attribute marker-low-levels 5,5,5,5,0
Attribute marker-high-levels 100,100,100,100,95
Attribute marker-names Cyan TK-8515C,Magenta TK-8515M,Yellow TK-8515Y,Black 
TK-8515K,Waste Toner Box
Attribute marker-types toner,toner,toner,toner,waste-toner
Attribute marker-change-time 1554381226
</Printer>

Do you have any idea why it doesn't work?

-Johan Bengtsson


More information about the cups mailing list