* Guix Printing Problems
@ 2021-09-23 11:30 Peter
2021-09-23 12:11 ` Tobias Geerinckx-Rice
2021-09-23 12:16 ` Efraim Flashner
0 siblings, 2 replies; 4+ messages in thread
From: Peter @ 2021-09-23 11:30 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 2389 bytes --]
Greetings! This is my first post. I hope I'm doing it right, and please forgive me if I'm not.
I have installed GUIX (including CUPS) onto a Lenovo ThinkCentre P520c, successfully except that I cannot print from within the Guix installation. I have a trusty Brother HL-5350DN laser printer connected via ethernet to my local network. Pointing the browser to http//:localhost:631 brings up a CUPS interface, but produces an error message: "The web interface is currently disabled. Run "cupsctl WebInterface=yes" to enable it." I try that but "command not found". Commands I have used like 'systemctl start cups.service' etc don't work on Guix either. Is there a Guix equivalent? Attempts to enable the Web interface via the config.scm (GNU Guix Reference Manual 10.8.7) have also failed.
And yet: if I type the IP address of the printer '192.168.1.108' directly into the browser, it shows up as "http://192.168.1.108/printer/main.html" and I find myself in a Brother utility for the printer, from which I can successfully do a test print. The Brother utility has a number of screens: Home Page, View Configuration, Maintenance Information, Find Device, Printer Settings, Administrator Settings, Reset & Test, Network Configuration.
This ought to be encouraging, but when I attempt to print a working text document (e.g. via Gedit) although the printer is listed (along with IP address and all usual data) it says "Processing - Not connected?", despite the system clearly knowing the address etc.
I set the printer up normally in Gnome Print Settings, but if I look at the View Print Queue, it says "Document Print Status: Processing - Not connected?". If I go into Server Settings to check the 'Publish shared printers connected to this system' setting the troubleshooter recommended, I get "CUPS server error: There was an error during CUPS operation: 'Failed to set settings'". Troubleshooting's final verdict is "There is no obvious solution to this problem."
I'm foxed, and frustrated, and as a desperate work-round I have to ssh the file to another machine to be printed. By the way, I have successfully set up printing for MacOS, nixOS, Debian, and Arch, but GUIX (alone) fails to find the printer, except via the Brother utility.
Any clues? I earnestly want this FSF-endorsed distribution to work.
I'm including my config.scm, and the troubleshooting report.
[-- Attachment #2: config.scm --]
[-- Type: application/octet-stream, Size: 2535 bytes --]
;; This is an operating system configuration generated
;; by the graphical installer.
(use-modules (gnu)(nongnu packages linux))
(use-service-modules
cups
desktop
networking
ssh
xorg)
(operating-system
(kernel linux)
(firmware (list linux-firmware))
(locale "en_AU.utf8")
(timezone "Australia/Sydney")
(keyboard-layout (keyboard-layout "us"))
(host-name "GX3")
(users (cons* (user-account
(name "peter")
(comment "Peter")
(group "users")
(home-directory "/home/peter")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(list (specification->package "openbox")
(specification->package "i3-wm")
(specification->package "i3status")
(specification->package "dmenu")
(specification->package "st")
(specification->package "emacs")
(specification->package "emacs-exwm")
(specification->package
"emacs-desktop-environment")
(specification->package "nss-certs"))
%base-packages))
(services
(append
(list (service gnome-desktop-service-type)
(service mate-desktop-service-type)
(service openssh-service-type)
(service tor-service-type)
(service cups-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
%desktop-services))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/boot/efi")
(keyboard-layout keyboard-layout)))
(swap-devices
(list (uuid "85fe704d-6540-4e99-92f1-0b6cf46c7842")))
(file-systems
(cons* (file-system
(mount-point "/boot/efi")
(device (uuid "29D8-45D0" 'fat32))
(type "vfat"))
(file-system
(mount-point "/")
(device
(uuid "0d56ecfa-635a-4a26-b0da-c9c5ee5412ae"
'ext4))
(type "ext4"))
%base-file-systems)))
;; I have also tried a more detailed "cups-service" entry, as listed in the Manual
;; with 'brlaser' replacing the epsom example. It made no difference whatsoever.
;;
;; (service cups-service-type
;; (cups-configuration
;; (web-interface #t)
;; (extensions
;; (list brlaser cups-filters))))
[-- Attachment #3: Type: text/plain, Size: 2 bytes --]
[-- Attachment #4: troubleshoot.txt --]
[-- Type: text/plain, Size: 32951 bytes --]
Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7fcf300e9e20>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.CheckLocalServerPublishing.CheckLocalServerPublishing object at 0x7fcf300fad30>):
{'local_server_exporting_printers': False}
Page 3 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7fcf300faf40>):
{'cups_dest': <cups.Dest Brother-HL-5350DN-series (default)>,
'cups_instance': None,
'cups_queue': 'Brother-HL-5350DN-series',
'cups_queue_listed': True}
Page 4 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7fcf300fabe0>):
{'cups_device_uri_scheme': 'dnssd',
'cups_printer_dict': {'device-uri': 'dnssd://Brother%20HL-5350DN%20series._pdl-datastream._tcp.local/',
'printer-info': 'Brother HL-5350DN series',
'printer-is-shared': True,
'printer-location': '',
'printer-make-and-model': 'Generic PCL Laser Printer',
'printer-state': 4,
'printer-state-message': 'Unable to locate printer '
'"BRN001BA9239259.local".',
'printer-state-reasons': ['connecting-to-device'],
'printer-type': 143444,
'printer-uri-supported': 'ipp://localhost:631/printers/Brother-HL-5350DN-series'},
'cups_printer_remote': False,
'is_cups_class': False,
'local_cups_queue_attributes': {'charset-configured': 'utf-8',
'charset-supported': ['us-ascii', 'utf-8'],
'color-supported': False,
'compression-supported': ['none', 'gzip'],
'copies-default': 1,
'copies-supported': (1, 9999),
'cups-version': '2.3.3',
'device-uri': 'dnssd://Brother%20HL-5350DN%20series._pdl-datastream._tcp.local/',
'document-format-default': 'application/octet-stream',
'document-format-supported': ['application/octet-stream',
'application/pdf',
'application/postscript',
'application/vnd.adobe-reader-postscript',
'application/vnd.cups-pdf',
'application/vnd.cups-pdf-banner',
'application/vnd.cups-postscript',
'application/vnd.cups-raster',
'application/vnd.cups-raw',
'application/x-cshell',
'application/x-csource',
'application/x-perl',
'application/x-shell',
'image/gif',
'image/jpeg',
'image/png',
'image/pwg-raster',
'image/tiff',
'image/urf',
'image/x-bitmap',
'image/x-photocd',
'image/x-portable-anymap',
'image/x-portable-bitmap',
'image/x-portable-graymap',
'image/x-portable-pixmap',
'image/x-sgi-rgb',
'image/x-sun-raster',
'image/x-xbitmap',
'image/x-xpixmap',
'image/x-xwindowdump',
'text/css',
'text/html',
'text/plain'],
'finishings-default': 3,
'finishings-supported': [3],
'generated-natural-language-supported': ['en'],
'ipp-features-supported': ['subscription-object'],
'ipp-versions-supported': ['1.0',
'1.1',
'2.0',
'2.1'],
'ippget-event-life': 15,
'job-cancel-after-default': 10800,
'job-cancel-after-supported': (0, 2147483647),
'job-creation-attributes-supported': ['copies',
'finishings',
'finishings-col',
'ipp-attribute-fidelity',
'job-hold-until',
'job-name',
'job-priority',
'job-sheets',
'media',
'media-col',
'multiple-document-handling',
'number-up',
'number-up-layout',
'orientation-requested',
'output-bin',
'page-delivery',
'page-ranges',
'print-color-mode',
'print-quality',
'print-scaling',
'printer-resolution',
'sides'],
'job-hold-until-default': 'no-hold',
'job-hold-until-supported': ['no-hold',
'indefinite',
'day-time',
'evening',
'night',
'second-shift',
'third-shift',
'weekend'],
'job-ids-supported': True,
'job-k-limit': 0,
'job-k-octets-supported': (0, 955953548),
'job-page-limit': 0,
'job-priority-default': 50,
'job-priority-supported': [100],
'job-quota-period': 0,
'job-settable-attributes-supported': ['copies',
'finishings',
'job-hold-until',
'job-name',
'job-priority',
'media',
'media-col',
'multiple-document-handling',
'number-up',
'output-bin',
'orientation-requested',
'page-ranges',
'print-color-mode',
'print-quality',
'printer-resolution',
'sides'],
'job-sheets-default': ('none', 'none'),
'job-sheets-supported': ['none',
'classified',
'confidential',
'form',
'secret',
'standard',
'topsecret',
'unclassified'],
'jpeg-k-octets-supported': (0, 955953548),
'jpeg-x-dimension-supported': (0, 65535),
'jpeg-y-dimension-supported': (1, 65535),
'marker-change-time': 0,
'media-bottom-margin-supported': [423],
'media-col-default': '(unknown IPP value tag '
'0x34)',
'media-col-supported': ['media-bottom-margin',
'media-left-margin',
'media-right-margin',
'media-size',
'media-source',
'media-top-margin',
'media-type'],
'media-default': 'iso_a4_210x297mm',
'media-left-margin-supported': [635],
'media-right-margin-supported': [635],
'media-size-supported': ['(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)'],
'media-source-supported': ['auto',
'tray-1',
'tray-2',
'tray-3',
'tray-4',
'manual',
'envelope'],
'media-supported': ['na_letter_8.5x11in',
'na_legal_8.5x14in',
'na_executive_7.25x10.5in',
'na_ledger_11x17in',
'iso_a3_297x420mm',
'iso_a4_210x297mm',
'iso_a5_148x210mm',
'jis_b5_182x257mm',
'iso_b5_176x250mm',
'na_number-10_4.125x9.5in',
'iso_c5_162x229mm',
'iso_dl_110x220mm',
'na_monarch_3.875x7.5in'],
'media-top-margin-supported': [423],
'multiple-document-handling-supported': ['separate-documents-uncollated-copies',
'separate-documents-collated-copies'],
'multiple-document-jobs-supported': True,
'multiple-operation-time-out': 300,
'multiple-operation-time-out-action': 'process-job',
'natural-language-configured': 'en',
'notify-attributes-supported': ['printer-state-change-time',
'notify-lease-expiration-time',
'notify-subscriber-user-name'],
'notify-events-default': ['job-completed'],
'notify-events-supported': ['job-completed',
'job-config-changed',
'job-created',
'job-progress',
'job-state-changed',
'job-stopped',
'printer-added',
'printer-changed',
'printer-config-changed',
'printer-deleted',
'printer-finishings-changed',
'printer-media-changed',
'printer-modified',
'printer-restarted',
'printer-shutdown',
'printer-state-changed',
'printer-stopped',
'server-audit',
'server-restarted',
'server-started',
'server-stopped'],
'notify-lease-duration-default': 86400,
'notify-lease-duration-supported': (0,
2147483647),
'notify-max-events-supported': [100],
'notify-pull-method-supported': ['ippget'],
'notify-schemes-supported': ['mailto', 'rss'],
'number-up-default': 1,
'number-up-layout-supported': ['btlr',
'btrl',
'lrbt',
'lrtb',
'rlbt',
'rltb',
'tblr',
'tbrl'],
'number-up-supported': [1, 2, 4, 6, 9, 16],
'operations-supported': [2,
4,
5,
6,
8,
9,
10,
11,
12,
13,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
34,
35,
37,
38,
56,
57,
59,
16385,
16386,
16387,
16388,
16389,
16390,
16391,
16392,
16393,
16394,
16395,
16396,
16397,
16398,
16399,
16423,
14],
'orientation-requested-default': None,
'orientation-requested-supported': [3,
4,
5,
6],
'output-bin-default': 'face-down',
'output-bin-supported': ['face-down'],
'page-delivery-supported': ['reverse-order',
'same-order'],
'page-ranges-supported': True,
'pages-per-minute': 8,
'pdf-k-octets-supported': (0, 955953548),
'pdf-versions-supported': ['adobe-1.2',
'adobe-1.3',
'adobe-1.4',
'adobe-1.5',
'adobe-1.6',
'adobe-1.7',
'iso-19005-1_2005',
'iso-32000-1_2008',
'pwg-5102.3'],
'pdl-override-supported': ['attempted'],
'port-monitor': 'none',
'port-monitor-supported': ['none'],
'print-color-mode-default': 'monochrome',
'print-color-mode-supported': ['monochrome'],
'print-quality-default': 4,
'print-quality-supported': [4],
'print-scaling-supported': ['auto',
'auto-fit',
'fill',
'fit',
'none'],
'printer-commands': 'none',
'printer-config-change-date-time': '(IPP_TAG_DATE)',
'printer-config-change-time': 1632337775,
'printer-current-time': '(IPP_TAG_DATE)',
'printer-device-id': 'CMD:PCL;',
'printer-dns-sd-name': None,
'printer-error-policy': 'stop-printer',
'printer-error-policy-supported': ['abort-job',
'retry-current-job',
'retry-job',
'stop-printer'],
'printer-geo-location': '(unknown IPP value '
'tag 0x12)',
'printer-get-attributes-supported': ['document-format'],
'printer-icons': 'http://localhost:631/icons/Brother-HL-5350DN-series.png',
'printer-id': 1,
'printer-info': 'Brother HL-5350DN series',
'printer-is-accepting-jobs': True,
'printer-is-shared': True,
'printer-is-temporary': False,
'printer-location': '',
'printer-make-and-model': 'Generic PCL Laser '
'Printer',
'printer-more-info': 'http://localhost:631/printers/Brother-HL-5350DN-series',
'printer-name': 'Brother-HL-5350DN-series',
'printer-op-policy': 'default',
'printer-op-policy-supported': ['default'],
'printer-organization': '',
'printer-organizational-unit': '',
'printer-resolution-default': (300, 300, 3),
'printer-resolution-supported': [(300, 300, 3),
(600,
600,
3)],
'printer-settable-attributes-supported': ['printer-geo-location',
'printer-info',
'printer-location',
'printer-organization',
'printer-organizational-unit'],
'printer-state': 4,
'printer-state-change-date-time': '(IPP_TAG_DATE)',
'printer-state-change-time': 1632392975,
'printer-state-message': 'Unable to locate '
'printer '
'"BRN001BA9239259.local".',
'printer-state-reasons': ['connecting-to-device'],
'printer-strings-uri': 'http://localhost:631/strings/Brother-HL-5350DN-series.strings',
'printer-type': 143444,
'printer-up-time': 1632393101,
'printer-uri-supported': ['ipp://localhost:631/printers/Brother-HL-5350DN-series'],
'printer-uuid': 'urn:uuid:7ea0baad-6757-3d33-7bed-aff7b6daa5bd',
'pwg-raster-document-resolution-supported': [(300,
300,
3)],
'pwg-raster-document-sheet-back': 'normal',
'pwg-raster-document-type-supported': ['black_1',
'sgray_8'],
'queued-job-count': 1,
'server-is-sharing-printers': False,
'sides-default': 'one-sided',
'sides-supported': ['one-sided',
'two-sided-long-edge',
'two-sided-short-edge'],
'uri-authentication-supported': ['requesting-user-name'],
'uri-security-supported': ['none'],
'which-jobs-supported': ['completed',
'not-completed',
'aborted',
'all',
'canceled',
'pending',
'pending-held',
'processing',
'processing-stopped']}}
Page 5 (<troubleshoot.CheckPPDSanity.CheckPPDSanity object at 0x7fcf3010c250>):
{'cups_printer_ppd_defaults': {'General': {'Duplex': 'None',
'InputSlot': 'Default',
'PageRegion': 'A4',
'PageSize': 'A4',
'Resolution': '300dpi'},
'InstallableOptions': {'Option1': 'True'}},
'cups_printer_ppd_valid': True,
'missing_pkgs_and_exes': ([], [])}
Page 6 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7fcf3010c940>):
{'printer_is_remote': False}
Page 7 (<troubleshoot.DeviceListed.DeviceListed object at 0x7fcf3010cf70>):
{'cups_device_dict': {'device-class': 'network',
'device-id': 'MFG:Brother;MDL:HL-5350DN series;CMD:PCL;',
'device-info': 'Brother HL-5350DN series',
'device-make-and-model': 'Brother HL-5350DN series'}}
Page 8 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7fcf30116f10>):
{'printer-state-message': 'Unable to locate printer "BRN001BA9239259.local".',
'printer-state-reasons': ['connecting-to-device']}
Page 9 (<troubleshoot.ErrorLogCheckpoint.ErrorLogCheckpoint object at 0x7fcf3011ee80>):
{'cups_server_settings': {'BrowseLocalProtocols': 'dnssd',
'DefaultAuthType': 'Basic',
'JobPrivateAccess': 'default',
'JobPrivateValues': 'default',
'PageLogFormat': '',
'SubscriptionPrivateAccess': 'default',
'SubscriptionPrivateValues': 'default',
'WebInterface': 'Yes',
'_debug_logging': '0',
'_remote_admin': '0',
'_remote_any': '0',
'_share_printers': '0',
'_user_cancel_any': '0'},
'error_log_checkpoint': 0}
Page 10 (<troubleshoot.Locale.Locale object at 0x7fcf30122fa0>):
{'printer_page_size': 'A4',
'system_locale_lang': None,
'user_locale_ctype': 'en_AU',
'user_locale_messages': 'en_AU'}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Guix Printing Problems
2021-09-23 11:30 Guix Printing Problems Peter
@ 2021-09-23 12:11 ` Tobias Geerinckx-Rice
2021-09-23 18:50 ` Peter
2021-09-23 12:16 ` Efraim Flashner
1 sibling, 1 reply; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2021-09-23 12:11 UTC (permalink / raw)
To: Peter; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 3617 bytes --]
Peter,
Peter 写道:
> Greetings! This is my first post. I hope I'm doing it right, and
> please forgive me if I'm not.
Welcome! You absolutely are.
> http//:localhost:631 brings up a CUPS interface, but produces an
> error
> message: "The web interface is currently disabled. Run "cupsctl
> WebInterface=yes" to enable it."
Ah, that wouldn't work anyway: Guix uses read-only configuration
files.
$ sudo cupsctl WebInterface=yes
Password for root on localhost? ***
cupsctl: Internal Server Error
> I try that but "command not found".
Aside from it not working, you can make cupsctl (along with the
other cups commands like lp) available for your user with
$ guix install cups
or for all users by adding it to the (packages …) field in your
system configuration.
> Commands I have used like 'systemctl start cups.service' etc
> don't work on Guix either. Is there a Guix equivalent?
Guix doesn't have systemd. The equivalent service manager is the
GNU Shepherd:
$ sudo herd restart cups
> Attempts to enable the Web interface via the config.scm (GNU
> Guix
> Reference Manual 10.8.7) have also failed.
Now that's odd, because it definitely should. Could you edit your
system configuration to read:
(service cups-service-type
(cups-configuration
(web-interface? #t)))
and then apply it by running:
$ sudo guix system reconfigure [your system .scm]
$ sudo herd restart cups
and confirm that you still get the same error?
> This ought to be encouraging, but when I attempt to print a
> working
> text document (e.g. via Gedit) although the printer is listed
> (along
> with IP address and all usual data) it says "Processing - Not
> connected?", despite the system clearly knowing the address etc.
Yeah, this should work even without a Web interface and with zero
configuration. Or so I thought…
Are you a member of the ‘lp’ group? IIRC printing is only allowed
to its members. Try:
(supplementary-groups
'("wheel" "lp" "netdev" "audio" "video")))
> I set the printer up normally in Gnome Print Settings, but if I
> look
> at the View Print Queue, it says "Document Print Status:
> Processing -
> Not connected?". If I go into Server Settings to check the
> 'Publish
> shared printers connected to this system' setting the
> troubleshooter
> recommended, I get "CUPS server error: There was an error during
> CUPS
> operation: 'Failed to set settings'". Troubleshooting's final
> verdict
> is "There is no obvious solution to this problem."
Heh :-)
As you've probably guessed by now this is due to the read-only
configuration file. Only Guix can change CUPS settings through
your cups-service-type; not any other helpful programmes.
However, ‘Publish shared printers’ shouldn't need to be on to
print from the local host. It controls whether known printers are
further advertised to others over DNS-SD. The upstream Boolean
‘Browsing’ (exposed by Guix as cups-configuration's ‘browsing?’)
is exceptionally poorly named in this regard.
> I'm foxed, and frustrated, and as a desperate work-round I have
> to ssh
> the file to another machine to be printed. By the way, I have
> successfully set up printing for MacOS, nixOS, Debian, and Arch,
> but
> GUIX (alone) fails to find the printer, except via the Brother
> utility.
Thanks for so clearly describing your problem and attempted
solutions. Let's hope we can unfox you and get you hooked.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Guix Printing Problems
2021-09-23 12:11 ` Tobias Geerinckx-Rice
@ 2021-09-23 18:50 ` Peter
0 siblings, 0 replies; 4+ messages in thread
From: Peter @ 2021-09-23 18:50 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: help-guix
Hi Tobias
Thanks very much for your response.
Sadly, my situation is unchanged. Not entirely unchanged, as your suggestions helped me realise what I was doing wrong regarding the web-interface. I can now access the full CUPS data via http://localhost:631, but all that gives me is more commands to try that Guix won't run! Advice I can't follow.
I added 'lp' (and also 'lpadmin' from someone else's suggestion) to the groups section, but that's made no difference either. The annoying reality remains: the system can host the discovery of every imaginable detail about the printer -- down to how many pages I've ever printed! -- but having made sufficient connection to pull in all that data, claims it cannot find the printer. Checkmate. Nonsense.
On the good side, I've learned a lot during the struggle, and I'll leave the installation in place for the moment. However, unless something turns up to turn 'foxed' into 'fixed', a system that doesn't print just isn't practical.
Can we persuade the legendary RMS to turn his fruitful attention to the cause he promotes!
But sincere thanks once again, and all the best to you and yours.
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Guix Printing Problems
2021-09-23 11:30 Guix Printing Problems Peter
2021-09-23 12:11 ` Tobias Geerinckx-Rice
@ 2021-09-23 12:16 ` Efraim Flashner
1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2021-09-23 12:16 UTC (permalink / raw)
To: Peter; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 2864 bytes --]
On Thu, Sep 23, 2021 at 09:30:44PM +1000, Peter wrote:
> Greetings! This is my first post. I hope I'm doing it right, and please forgive me if I'm not.
>
> I have installed GUIX (including CUPS) onto a Lenovo ThinkCentre P520c, successfully except that I cannot print from within the Guix installation. I have a trusty Brother HL-5350DN laser printer connected via ethernet to my local network. Pointing the browser to http//:localhost:631 brings up a CUPS interface, but produces an error message: "The web interface is currently disabled. Run "cupsctl WebInterface=yes" to enable it." I try that but "command not found". Commands I have used like 'systemctl start cups.service' etc don't work on Guix either. Is there a Guix equivalent? Attempts to enable the Web interface via the config.scm (GNU Guix Reference Manual 10.8.7) have also failed.
>
> And yet: if I type the IP address of the printer '192.168.1.108' directly into the browser, it shows up as "http://192.168.1.108/printer/main.html" and I find myself in a Brother utility for the printer, from which I can successfully do a test print. The Brother utility has a number of screens: Home Page, View Configuration, Maintenance Information, Find Device, Printer Settings, Administrator Settings, Reset & Test, Network Configuration.
>
> This ought to be encouraging, but when I attempt to print a working text document (e.g. via Gedit) although the printer is listed (along with IP address and all usual data) it says "Processing - Not connected?", despite the system clearly knowing the address etc.
>
> I set the printer up normally in Gnome Print Settings, but if I look at the View Print Queue, it says "Document Print Status: Processing - Not connected?". If I go into Server Settings to check the 'Publish shared printers connected to this system' setting the troubleshooter recommended, I get "CUPS server error: There was an error during CUPS operation: 'Failed to set settings'". Troubleshooting's final verdict is "There is no obvious solution to this problem."
>
> I'm foxed, and frustrated, and as a desperate work-round I have to ssh the file to another machine to be printed. By the way, I have successfully set up printing for MacOS, nixOS, Debian, and Arch, but GUIX (alone) fails to find the printer, except via the Brother utility.
>
> Any clues? I earnestly want this FSF-endorsed distribution to work.
>
> I'm including my config.scm, and the troubleshooting report.
>
Try adding yourself to the 'lp' group, under supplementary-groups. I
have myself added to the lp and the lpadmin group, I can never remember
which is the correct one.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-23 19:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-23 11:30 Guix Printing Problems Peter
2021-09-23 12:11 ` Tobias Geerinckx-Rice
2021-09-23 18:50 ` Peter
2021-09-23 12:16 ` Efraim Flashner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).