Yast is not able to recognize my Minolta Page Pro 8e connected to LPT1, although the system information shows the correct printer information.
How can I install the printer without yast?
Thanx
Tom
Yast is not able to recognize my Minolta Page Pro 8e connected to LPT1, although the system information shows the correct printer information.
How can I install the printer without yast?
Thanx
Tom
For parallel printers, make sure the ‘lp’ module is loaded. This is no longer done by default. If you need to make it permanent, navigate to
YaST >> System >> /etc/sysconfig Editor >> System >> Kernel >> MODULES_LOADED_ON_BOOT and add the lp driver.
I have done this and rebooted, but no change in behaviour in YAST.
Then try configuring manually. Start your browser, and configure via the CUPS web interface
Select ‘Add Printer’, enter username ‘root’, and your root password when prompted. You will get a screen to select your local printer connection, then continue. Follow the prompts given until the configuration is complete.
Then try printing a test page via ‘Printers’ menu. Select the printer (should be listed) >> ‘Maintenance’>> ‘Print Test Page’
When I first use “modprobe lp” as root and start the Yast Printer recognition, everything works perfect.
But after a reboot the lp module seem not to be loaded automatically, although my /etc/sysconfig/kernel includes: MODULES_LOADED_ON_BOOT=“lp”.
How can I manage, that the module is loaded on boot?
Tom
I can’t think why that doesn’t work. It might be worth checking that its not blacklisted for some reason (in /etc/modprobe.d/50-blacklist.conf).
Alternatively, you could get it loaded in /etc/init.d/after.local, by adding
modprobe lp
1.) it is not blacklisted in /etc/modprobe.de/50-blacklist.conf
2.) Adding modprobe lp to /etc/init.d/after.local is also not working!
Maybe it comes too early in the boot process or it is not running?
Thanx
Tom
If you’re using systemd, maybe its not used - I don’t know. Anyway, I guess you can add it to ~/.config/autostart or /home/dean/.kde4/Autostart/ instead (but it only be available to that user account)
I use a fresh installation of 12.1, so I think the uses systemd. Anyhow this issue seems to be a bug
see also ->https://bugzilla.novell.com/show_bug.cgi?id=732041#c0
On 2011-11-22 21:06, th260 wrote:
> How can I manage, that the module is loaded on boot?
Try booting with systemV - boot menu, F5. If this works → bugzilla.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2011-11-24 22:06, th260 wrote:
>
> I use a fresh installation of 12.1, so I think the uses systemd. Anyhow
> this issue seems to be a bug
> see also ->https://bugzilla.novell.com/show_bug.cgi?id=732041#c0
Does not surprise me.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
If I boot with system-V the module is loaded as expected. The bug is already listed in bugzilla (https://bugzilla.novell.com/show_bug.cgi?id=732041#c0)
Hello,
I ran into more or less the same problem with HP LaserJet 5MP, which works until now. Today I added module “lp” to MODULES_LOADED_ON_BOOT, and my userid to group “lp” (under User & Groups). Also restarted in System V. I struggled for a while reconfiguring the printer via YAST-Printer, because the test page prints out but regular printing does not work despite these changes.
Finally, I succeeded in both printing modes after these steps, without any change in “lp” settings above:
#hp-setup
#kdesu kwrite /etc/cups/cupsd.conf
# /etc/init.d/cups restart
There are a few policies listed there typically. Which one(s) did you need to alter? (Maybe post the entire cupsd.conf).
Hi deano.
Here’s my file /etc/cups/cupsd.conf after the changes, noting that my box is not connected to any network and I am admin
# "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $"
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Administrator user group...
SystemGroup sys root
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order allow,deny
Allow 127.0.0.2
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order allow,deny
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order allow,deny
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order allow,deny
</Limit>
<Limit All>
Order allow,deny
</Limit>
</Policy>
# Set the authenticated printer/job policies...
<Policy authenticated>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order allow,deny
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order allow,deny
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order allow,deny
</Limit>
<Limit All>
Order allow,deny
</Limit>
</Policy>
# End of "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $".
#
# The policy below is added by SUSE during build of our cups package.
# The policy 'allowallforanybody' is totally open and insecure and therefore
# it can only be used within an internal network where only trused users exist
# and where the cupsd is not accessible at all from any external host, see
# http://en.opensuse.org/SDB:CUPS_and_SANE_Firewall_settings
# Have in mind that any user who is allowed to do printer admin tasks
# can change the print queues as he likes - e.g. send copies of confidental
# print jobs from an internal network to any external destination, see
# http://en.opensuse.org/SDB:CUPS_in_a_Nutshell
# For documentation regarding 'Managing Operation Policies' see
# http://www.cups.org/documentation.php/doc-1.5/policies.html
(NB: I put a red comment sign # in front of the following because ealier when I was not able to print in regular jobs I got this error message from /var/log/cups/error_log:
"No limit for Validate-job/Cancel-jobs/Close-job/CUPS-GetDocument...defined in policy allowallforanybody and no suitable template found"
#<Policy allowallforanybody>
# <Limit All>
# Order allow,deny
# Allow from all
# </Limit>
#</Policy>
# Explicitly set the CUPS 'default' policy to be used by default:
DefaultPolicy default
ErrorPolicy abort-job
# End of additions by SUSE.
# 2011-11-25,19:40:30 modify_cupsd_conf DefaultPolicy authenticated
# 2011-11-25,19:40:30 modify_cupsd_conf ErrorPolicy abort-job
# 2011-11-25,20:26:40 modify_cupsd_conf DefaultPolicy default
Thanks. That may be of help to others who come searching.
You are quite welcome, deano.