Closed ankasani closed 2 years ago
@ankasani What OS are you running ippserver on?
What errors (if any) are getting logged by ippserver?
OS : Windows 11 Enterprise 21h2
When i run the command i see in Bonjour
then i choosed
then i am getting this error
Run ippserver with some logging:
ippserver -vvv "TestPrinter"
@michaelrsweet , below is the verbose logs
2022-08-17T13:39:44.467Z Using default configuration with a single printer. 2022-08-17T13:39:44.468Z Using default data directory "C:/Users/ankasani/AppData/Local/Temp/ippserver.12452". 2022-08-17T13:39:44.468Z Using default spool directory "C:/Users/ankasani/AppData/Local/Temp/ippserver.12452". 2022-08-17T13:39:44.475Z Using default listeners for localhost:8631. 2022-08-17T13:39:44.476Z serverCreatePrinter(resource="/ipp/print", name="TestPrinter", pinfo=000000000014FD30) 2022-08-17T13:39:44.476Z Using ppm=0 2022-08-17T13:39:44.476Z Using ppm_color=0 2022-08-17T13:39:44.478Z [Printer TestPrinter] version=2.0 2022-08-17T13:39:44.479Z [Printer TestPrinter] request-id=0 2022-08-17T13:39:44.479Z [Printer TestPrinter] printer-attributes-tag 2022-08-17T13:39:44.479Z [Printer TestPrinter] charset-configured (charset) utf-8 2022-08-17T13:39:44.479Z [Printer TestPrinter] charset-supported (1setOf charset) us-ascii,utf-8 2022-08-17T13:39:44.479Z [Printer TestPrinter] color-supported (boolean) false 2022-08-17T13:39:44.479Z [Printer TestPrinter] compression-supported (keyword) none 2022-08-17T13:39:44.479Z [Printer TestPrinter] copies-default (integer) 1 2022-08-17T13:39:44.479Z [Printer TestPrinter] copies-supported (rangeOfInteger) 1-999 2022-08-17T13:39:44.479Z [Printer TestPrinter] document-creation-attributes-supported (1setOf keyword) document-access,document-charset,document-format,document-message,document-metadata,document-name,document-natural-language,ipp-attribute-fidelity,copies 2022-08-17T13:39:44.480Z [Printer TestPrinter] document-format-default (mimeMediaType) application/pdf 2022-08-17T13:39:44.480Z [Printer TestPrinter] document-format-supported (1setOf mimeMediaType) application/pdf,image/jpeg,image/pwg-raster 2022-08-17T13:39:44.482Z [Printer TestPrinter] document-password-supported (integer) 127 2022-08-17T13:39:44.483Z [Printer TestPrinter] document-settable-attributes-supported (1setOf keyword) document-metadata,document-name 2022-08-17T13:39:44.484Z [Printer TestPrinter] finishings-default (enum) none 2022-08-17T13:39:44.484Z [Printer TestPrinter] finishings-supported (enum) none 2022-08-17T13:39:44.484Z [Printer TestPrinter] generated-natural-language-supported (naturalLanguage) en 2022-08-17T13:39:44.484Z [Printer TestPrinter] identify-actions-default (keyword) sound 2022-08-17T13:39:44.484Z [Printer TestPrinter] identify-actions-supported (1setOf keyword) display,sound 2022-08-17T13:39:44.484Z [Printer TestPrinter] image-orientation-default (enum) 3 2022-08-17T13:39:44.485Z [Printer TestPrinter] image-orientation-supported (1setOf enum) 3,4,5,6 2022-08-17T13:39:44.485Z [Printer TestPrinter] imposition-template-default (keyword) none 2022-08-17T13:39:44.485Z [Printer TestPrinter] imposition-template-supported (1setOf keyword) booklet,none 2022-08-17T13:39:44.485Z [Printer TestPrinter] ipp-features-supported (1setOf keyword) document-object,ipp-everywhere,page-overrides,production,system-service 2022-08-17T13:39:44.485Z [Printer TestPrinter] ipp-versions-supported (1setOf keyword) 1.0,1.1,2.0,2.1,2.2 2022-08-17T13:39:44.485Z [Printer TestPrinter] ippget-event-life (integer) 300 2022-08-17T13:39:44.486Z [Printer TestPrinter] job-account-id-default (nameWithoutLanguage) 2022-08-17T13:39:44.486Z [Printer TestPrinter] job-account-id-supported (boolean) true 2022-08-17T13:39:44.486Z [Printer TestPrinter] job-accounting-user-id-default (nameWithoutLanguage) 2022-08-17T13:39:44.486Z [Printer TestPrinter] job-accounting-user-id-supported (boolean) true 2022-08-17T13:39:44.486Z [Printer TestPrinter] job-creation-attributes-supported (1setOf keyword) document-access,document-charset,document-format,document-message,document-metadata,document-name,document-natural-language,ipp-attribute-fidelity,job-name,job-priority,copies,document-password,finishings,image-orientation,imposition-template,job-account-id,job-accounting-user-id 2022-08-17T13:39:44.486Z [Printer TestPrinter] job-error-sheet-default (no-value) no-value 2022-08-17T13:39:44.487Z [Printer TestPrinter] job-error-sheet-supported (1setOf keyword) job-error-sheet-type,job-error-sheet-when,media,media-col 2022-08-17T13:39:44.487Z [Printer TestPrinter] job-error-sheet-type-supported (1setOf keyword) none,standard 2022-08-17T13:39:44.487Z [Printer TestPrinter] job-error-sheet-when-supported (1setOf keyword) always,on-error 2022-08-17T13:39:44.487Z [Printer TestPrinter] job-hold-until-default (keyword) no-hold 2022-08-17T13:39:44.487Z [Printer TestPrinter] job-hold-until-supported (1setOf keyword) no-hold,indefinite,day-time,evening,night,second-shift,third-shift,weekend 2022-08-17T13:39:44.487Z [Printer TestPrinter] job-hold-until-time-supported (rangeOfInteger) 0-2147483647 2022-08-17T13:39:44.487Z [Printer TestPrinter] job-ids-supported (boolean) true 2022-08-17T13:39:44.488Z [Printer TestPrinter] job-k-octets-supported (rangeOfInteger) 0-2147483647 2022-08-17T13:39:44.488Z [Printer TestPrinter] job-message-to-operator-default (textWithoutLanguage) 2022-08-17T13:39:44.488Z [Printer TestPrinter] job-message-to-operator-supported (boolean) true 2022-08-17T13:39:44.488Z [Printer TestPrinter] job-password-encryption-supported (keyword) none 2022-08-17T13:39:44.488Z [Printer TestPrinter] job-password-supported (integer) 4 2022-08-17T13:39:44.488Z [Printer TestPrinter] job-priority-default (integer) 50 2022-08-17T13:39:44.489Z [Printer TestPrinter] job-priority-supported (integer) 100 2022-08-17T13:39:44.489Z [Printer TestPrinter] job-settable-attributes-supported (1setOf keyword) document-metadata,document-name,job-hold-until,job-hold-until-time,job-name,job-priority 2022-08-17T13:39:44.489Z [Printer TestPrinter] job-sheet-message-default (textWithoutLanguage) 2022-08-17T13:39:44.489Z [Printer TestPrinter] job-sheet-message-supported (boolean) true 2022-08-17T13:39:44.489Z [Printer TestPrinter] job-sheets-col-supported (1setOf keyword) job-sheets,media,media-col 2022-08-17T13:39:44.489Z [Printer TestPrinter] job-sheets-default (keyword) none 2022-08-17T13:39:44.490Z [Printer TestPrinter] job-sheets-supported (1setOf keyword) none,standard 2022-08-17T13:39:44.490Z [Printer TestPrinter] media-bottom-margin-supported (integer) 635 2022-08-17T13:39:44.490Z [Printer TestPrinter] media-col-database (1setOf collection) {media-key=na_letter_8.5x11in_main_auto media-size={x-dimension=21590 y-dimension=27940} media-size-name=na_letter_8.5x11in media-bottom-margin=635 media-left-margin=635 media-right-margin=635 media-top-margin=635 media-source=main media-type=auto},{media-key=na_legal_8.5x14in_main_auto media-size={x-dimension=21590 y-dimension=35560} media-size-name=na_legal_8.5x14in media-bottom-margin=635 media-left-margin=635 media-right-margin=635 media-top-margin=635 media-source=main media-type=auto},{media-key=iso_a4_210x297mm_main_auto media-size={x-dimension=21000 y-dimension=29700} media-size-name=iso_a4_210x297mm media-bottom-margin=635 media-left-margin=635 media-right-margin=635 media-top-margin=635 media-source=main media-type=auto} 2022-08-17T13:39:44.490Z [Printer TestPrinter] media-col-default (collection) {media-key=na_letter_8.5x11in_main_auto media-size={x-dimension=21590 y-dimension=27940} media-size-name=na_letter_8.5x11in media-bottom-margin=635 media-left-margin=635 media-right-margin=635 media-top-margin=635 media-source=main media-type=auto} 2022-08-17T13:39:44.490Z [Printer TestPrinter] media-col-ready (collection) {media-key=na_letter_8.5x11in_main_auto media-size={x-dimension=21590 y-dimension=27940} media-size-name=na_letter_8.5x11in media-bottom-margin=635 media-left-margin=635 media-right-margin=635 media-top-margin=635 media-source=main media-type=auto} 2022-08-17T13:39:44.490Z [Printer TestPrinter] media-default (keyword) na_letter_8.5x11in 2022-08-17T13:39:44.491Z [Printer TestPrinter] media-left-margin-supported (integer) 635 2022-08-17T13:39:44.491Z [Printer TestPrinter] media-ready (keyword) na_letter_8.5x11in 2022-08-17T13:39:44.491Z [Printer TestPrinter] media-right-margin-supported (integer) 635 2022-08-17T13:39:44.491Z [Printer TestPrinter] media-supported (1setOf keyword) na_letter_8.5x11in,na_legal_8.5x14in,iso_a4_210x297mm 2022-08-17T13:39:44.491Z [Printer TestPrinter] media-size-supported (1setOf collection) {x-dimension=21590 y-dimension=27940},{x-dimension=21590 y-dimension=35560},{x-dimension=21000 y-dimension=29700} 2022-08-17T13:39:44.491Z [Printer TestPrinter] media-source-supported (keyword) main 2022-08-17T13:39:44.492Z [Printer TestPrinter] media-top-margin-supported (integer) 635 2022-08-17T13:39:44.492Z [Printer TestPrinter] media-type-supported (keyword) auto 2022-08-17T13:39:44.492Z [Printer TestPrinter] media-col-supported (1setOf keyword) media-bottom-margin,media-color,media-info,media-key,media-left-margin,media-right-margin,media-size,media-size-name,media-source,media-top-margin,media-type 2022-08-17T13:39:44.492Z [Printer TestPrinter] multiple-document-handling-supported (1setOf keyword) separate-documents-uncollated-copies,separate-documents-collated-copies 2022-08-17T13:39:44.492Z [Printer TestPrinter] multiple-document-jobs-supported (boolean) false 2022-08-17T13:39:44.492Z [Printer TestPrinter] multiple-operation-time-out (integer) 60 2022-08-17T13:39:44.493Z [Printer TestPrinter] multiple-operation-time-out-action (keyword) abort-job 2022-08-17T13:39:44.493Z [Printer TestPrinter] natural-language-configured (naturalLanguage) en 2022-08-17T13:39:44.493Z [Printer TestPrinter] notify-attributes-supported (1setOf keyword) printer-state-change-time,notify-lease-expiration-time,notify-subscriber-user-name 2022-08-17T13:39:44.493Z [Printer TestPrinter] notify-events-default (keyword) job-completed 2022-08-17T13:39:44.493Z [Printer TestPrinter] notify-events-supported (1setOf keyword) document-completed,document-config-changed,document-created,document-fetchable,document-state-changed,document-stopped,job-completed,job-config-changed,job-created,job-fetchable,job-progress,job-state-changed,job-stopped,none,printer-config-changed,printer-created,printer-deleted,printer-finishings-changed,printer-media-changed,printer-queue-order-changed,printer-restarted,printer-shutdown,printer-state-changed,printer-stopped,resource-canceled,resource-config-changed,resource-created,resource-installed,resource-changed,system-config-changed,system-state-changed,system-stopped 2022-08-17T13:39:44.493Z [Printer TestPrinter] notify-lease-duration-default (integer) 86400 2022-08-17T13:39:44.494Z [Printer TestPrinter] notify-lease-duration-supported (rangeOfInteger) 0-67108863 2022-08-17T13:39:44.494Z [Printer TestPrinter] notify-max-events-supported (integer) 31 2022-08-17T13:39:44.494Z [Printer TestPrinter] notify-pull-method-supported (keyword) ippget 2022-08-17T13:39:44.494Z [Printer TestPrinter] number-up-default (integer) 1 2022-08-17T13:39:44.494Z [Printer TestPrinter] number-up-supported (1setOf integer) 1,2,4,6,9,12,16 2022-08-17T13:39:44.494Z [Printer TestPrinter] operations-supported (1setOf enum) Print-Job,Print-URI,Validate-Job,Create-Job,Send-Document,Send-URI,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Hold-Job,Release-Job,Pause-Printer,Resume-Printer,Set-Printer-Attributes,Set-Job-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,Hold-New-Jobs,Release-Held-New-Jobs,Restart-Printer,Shutdown-Printer,Startup-Printer,Cancel-Current-Job,Cancel-Document,Get-Document-Attributes,Get-Documents,Set-Document-Attributes,Cancel-Jobs,Cancel-My-Jobs,Close-Job,Identify-Printer,Validate-Document,Acknowledge-Document,Acknowledge-Identify-Printer,Acknowledge-Job,Fetch-Document,Fetch-Job,Get-Output-Device-Attributes,Update-Active-Jobs,Update-Document-Status,Update-Job-Status,Update-Output-Device-Attributes,Deregister-Output-Device 2022-08-17T13:39:44.495Z [Printer TestPrinter] orientation-requested-default (enum) none 2022-08-17T13:39:44.495Z [Printer TestPrinter] orientation-requested-supported (1setOf enum) portrait,landscape,reverse-landscape,reverse-portrait,none 2022-08-17T13:39:44.495Z [Printer TestPrinter] output-bin-default (keyword) face-down 2022-08-17T13:39:44.495Z [Printer TestPrinter] output-bin-supported (keyword) face-down 2022-08-17T13:39:44.495Z [Printer TestPrinter] overrides-supported (1setOf keyword) document-numbers,media,media-col,orientation-requested,pages 2022-08-17T13:39:44.495Z [Printer TestPrinter] page-ranges-supported (boolean) true 2022-08-17T13:39:44.496Z [Printer TestPrinter] pages-per-minute (integer) 0 2022-08-17T13:39:44.498Z [Printer TestPrinter] pdl-override-supported (keyword) attempted 2022-08-17T13:39:44.498Z [Printer TestPrinter] preferred-attributes-supported (boolean) false 2022-08-17T13:39:44.498Z [Printer TestPrinter] print-color-mode-default (keyword) auto 2022-08-17T13:39:44.499Z [Printer TestPrinter] print-color-mode-supported (1setOf keyword) auto,color,monochrome 2022-08-17T13:39:44.499Z [Printer TestPrinter] print-content-optimize-default (keyword) auto 2022-08-17T13:39:44.499Z [Printer TestPrinter] print-content-optimize-supported (keyword) auto 2022-08-17T13:39:44.499Z [Printer TestPrinter] print-rendering-intent-default (keyword) auto 2022-08-17T13:39:44.499Z [Printer TestPrinter] print-rendering-intent-supported (keyword) auto 2022-08-17T13:39:44.500Z [Printer TestPrinter] print-scaling-default (keyword) auto 2022-08-17T13:39:44.500Z [Printer TestPrinter] print-scaling-supported (1setOf keyword) auto,auto-fit,fill,fit,none 2022-08-17T13:39:44.500Z [Printer TestPrinter] print-quality-default (enum) normal 2022-08-17T13:39:44.500Z [Printer TestPrinter] print-quality-supported (1setOf enum) draft,normal,high 2022-08-17T13:39:44.500Z [Printer TestPrinter] printer-device-id (textWithoutLanguage) MFG:Test;MDL:Printer;CMD:PDF,JPEG,image/pwg-raster; 2022-08-17T13:39:44.500Z [Printer TestPrinter] printer-get-attributes-supported (keyword) document-format 2022-08-17T13:39:44.501Z [Printer TestPrinter] printer-geo-location (unknown) unknown 2022-08-17T13:39:44.501Z [Printer TestPrinter] printer-info (textWithoutLanguage) TestPrinter 2022-08-17T13:39:44.501Z [Printer TestPrinter] printer-input-tray (octetString) type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=250;level=100;status=0;name=main; 2022-08-17T13:39:44.501Z [Printer TestPrinter] printer-kind (keyword) document 2022-08-17T13:39:44.501Z [Printer TestPrinter] printer-location (textWithoutLanguage) 2022-08-17T13:39:44.501Z [Printer TestPrinter] printer-make-and-model (textWithoutLanguage) Test Printer 2022-08-17T13:39:44.502Z [Printer TestPrinter] printer-name (nameWithoutLanguage) TestPrinter 2022-08-17T13:39:44.502Z [Printer TestPrinter] printer-organization (textWithoutLanguage) IEEE-ISTO Printer Working Group 2022-08-17T13:39:44.502Z [Printer TestPrinter] printer-organizational-unit (textWithoutLanguage) IPP Workgroup 2022-08-17T13:39:44.502Z [Printer TestPrinter] printer-resolution-default (resolution) 600dpi 2022-08-17T13:39:44.502Z [Printer TestPrinter] printer-resolution-supported (resolution) 600dpi 2022-08-17T13:39:44.502Z [Printer TestPrinter] printer-settable-attributes-supported (1setOf keyword) job-constraints-supported,job-presets-suppored,job-resolvers-supported,job-triggers-supported,printer-contact-col,printer-dns-sd-name,printer-device-id,printer-geo-location,printer-icc-profiles,printer-info,printer-kind,printer-location,printer-make-and-model,printer-mandatory-job-attributes,printer-name,printer-organization,printer-organizational-unit,copies-default,copies-supported,document-password-supported,finishings-default,finishings-supported,image-orientation-default,image-orientation-supported,imposition-template-default,imposition-template-supported,job-account-id-default,job-accounting-user-id-default,job-error-sheet-default,job-error-sheet-supported,job-hold-until-default,job-message-to-operator-default,job-message-to-operator-supported,job-password-supported,job-password-encryption-supported,job-sheet-message-default,job-sheet-message-supported,job-sheets-default,job-sheets-supported,job-sheets-col-supported,media-default,media-supported,media-ready,media-col-default,media-col-supported,media-col-ready,media-col-database,multiple-document-handling-supported,number-up-default,number-up-supported,orientation-requested-default,orientation-requested-supported,output-bin-default,output-bin-supported,overrides-supported,page-ranges-supported,print-color-mode-default,print-color-mode-supported,print-content-optimize-default,print-content-optimize-supported,print-quality-default,print-quality-supported,print-rendering-intent-default,print-rendering-intent-supported,print-scaling-default,print-scaling-supported,printer-resolution-default,printer-resolution-supported 2022-08-17T13:39:44.503Z [Printer TestPrinter] printer-supply (1setOf octetString) index=1;class=receptacleThatIsFilled;type=wasteToner;unit=percent;maxcapacity=100;level=67;colorantname=unknown;,index=2;class=supplyThatIsConsumed;type=toner;unit=percent;maxcapacity=100;level=100;colorantname=black; 2022-08-17T13:39:44.503Z [Printer TestPrinter] printer-supply-description (1setOf textWithoutLanguage) Toner Waste,Black Toner 2022-08-17T13:39:44.503Z [Printer TestPrinter] printer-uuid (uri) urn:uuid:4587d87a-6c0d-3d89-6280-f0ac8e4f55be 2022-08-17T13:39:44.503Z [Printer TestPrinter] pwg-raster-document-resolution-supported (1setOf resolution) 150dpi,300dpi 2022-08-17T13:39:44.503Z [Printer TestPrinter] pwg-raster-document-sheet-back (keyword) normal 2022-08-17T13:39:44.503Z [Printer TestPrinter] pwg-raster-document-type-supported (1setOf keyword) black_1,cmyk_8,sgray_8,srgb_8,srgb_16 2022-08-17T13:39:44.504Z [Printer TestPrinter] reference-uri-schemes-supported (1setOf uriScheme) ftp,http,https 2022-08-17T13:39:44.504Z [Printer TestPrinter] separator-sheets-default (no-value) no-value 2022-08-17T13:39:44.504Z [Printer TestPrinter] separator-sheets-supported (1setOf keyword) media,media-col,separator-sheets-type 2022-08-17T13:39:44.504Z [Printer TestPrinter] separator-sheets-type-supported (1setOf keyword) none,both-sheets,end-sheet,slip-sheets,start-sheet 2022-08-17T13:39:44.504Z [Printer TestPrinter] sides-default (keyword) one-sided 2022-08-17T13:39:44.504Z [Printer TestPrinter] sides-supported (keyword) one-sided 2022-08-17T13:39:44.505Z [Printer TestPrinter] uri-authentication-supported (1setOf keyword) none,none 2022-08-17T13:39:44.505Z [Printer TestPrinter] uri-security-supported (1setOf keyword) none,tls 2022-08-17T13:39:44.505Z [Printer TestPrinter] which-jobs-supported (1setOf keyword) aborted,all,canceled,completed,not-completed,pending,pending-held,processing,processing-stopped 2022-08-17T13:39:44.505Z [Printer TestPrinter] x-image-position-default (keyword) none 2022-08-17T13:39:44.505Z [Printer TestPrinter] x-image-position-supported (1setOf keyword) center,left,none,right 2022-08-17T13:39:44.505Z [Printer TestPrinter] x-image-shift-default (integer) 0 2022-08-17T13:39:44.506Z [Printer TestPrinter] x-image-shift-supported (rangeOfInteger) -2147483648-2147483647 2022-08-17T13:39:44.506Z [Printer TestPrinter] x-side1-image-shift-default (integer) 0 2022-08-17T13:39:44.506Z [Printer TestPrinter] x-side2-image-shift-default (integer) 0 2022-08-17T13:39:44.506Z [Printer TestPrinter] y-image-position-default (keyword) none 2022-08-17T13:39:44.506Z [Printer TestPrinter] y-image-position-supported (1setOf keyword) bottom,center,none,top 2022-08-17T13:39:44.506Z [Printer TestPrinter] y-image-shift-default (integer) 0 2022-08-17T13:39:44.507Z [Printer TestPrinter] y-image-shift-supported (rangeOfInteger) -2147483648-2147483647 2022-08-17T13:39:44.507Z [Printer TestPrinter] y-side1-image-shift-default (integer) 0 2022-08-17T13:39:44.507Z [Printer TestPrinter] y-side2-image-shift-default (integer) 0 2022-08-17T13:39:44.507Z [Printer TestPrinter] xri-authentication-supported (1setOf keyword) none,none 2022-08-17T13:39:44.507Z [Printer TestPrinter] xri-security-supported (1setOf keyword) none,tls 2022-08-17T13:39:44.507Z [Printer TestPrinter] xri-scheme-supported (1setOf keyword) ipp,ipps 2022-08-17T13:39:44.515Z serverRun: 1 printers configured. 2022-08-17T13:39:44.515Z serverRun: 2 listeners configured. 2022-08-17T13:39:45.276Z serverRun: Input on DNS-SD socket. 2022-08-17T13:39:45.276Z Cleaning old jobs. 2022-08-17T13:39:45.279Z [Printer TestPrinter] Cleaning jobs, 0 completed jobs in memory...
OK, try with the -n
option:
ippserver -vvv -n HOSTNAME.local "TestPrinter"
where "HOSTNAME" is your PC name.
@michaelrsweet Issue was resolved, Thanks you so much for the help!
Hi Team, I want to create a simulation IPP, I am using the sample project from this github and compiled and ran the command
ippserver "TestPrinter"
And using Bonjour installing the "Microsoft IPP class driver" for printer TestPrinter > I am getting > "Error 17986" "you do not have sufficent acess to you computer to connect to the selected printer"
I am using Windows 11.