Printing: Difference between revisions

From Info Wiki
Jump to navigationJump to search
m (gave system-config-printer higher rating as admin tool)
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 3: Line 3:


=== Selection Guideance ===
=== Selection Guideance ===
*printers that were manufactured after 2009 and connect via Ethernet or wifi are likely to be usable without drivers
*be aware that Linux uses Postscript or PDF technology as the basis for its print sub-system
**this is potentially the best support for Linux
**from CLI, run "driverless list"
***only printers that report an interface of "ipp://<blah.blah.blah>" are likely to be usable driverless
***see below for an outline of setting up driverless printing
*if a printer must use a driver then be aware that Linux uses Postscript or PDF technology as the basis for its print sub-system
**printers that use Postscript, PDF or perhaps PCL print languages are readily supportable and likely to remain so
**printers that use Postscript, PDF or perhaps PCL print languages are readily supportable and likely to remain so
**most entry-level printers do '''not''' use those technologies, that require additonal processing resouces, which in turn adds cost
**most entry-level printers do '''not''' use those technologies, that require additonal processing resouces, which in turn adds cost
Line 9: Line 14:


'''All''' of the following pre-purchase research is strongly recommended
'''All''' of the following pre-purchase research is strongly recommended
*'''read''' general guidance at https://en.opensuse.org/SDB:Purchasing_a_Printer_and_Compatibility
*'''download''' the relevant driver from the manufacturer's web site
*'''download''' the relevant driver from the manufacturer's web site
*check for availability of alternate drivers at: http://www.openprinting.org/printers
*check for availability of alternate drivers at: http://www.openprinting.org/printers
Line 14: Line 20:
**in almost all cases this can be achieved without the printer physically present
**in almost all cases this can be achieved without the printer physically present
*seek assistance in a Linux forum if the drivers are not available or don't install
*seek assistance in a Linux forum if the drivers are not available or don't install



=== Troubleshooting ===
=== Troubleshooting ===
Line 20: Line 25:
==== Administration ====
==== Administration ====


The most reliable tool is the command line tool "lpadmin".
The most reliable tool is currently "system-config-printer". This GUI tool is the default in Fedora and Ubuntu and is also installed by default in openSUSE. It may appear in the start menu under various names:

The print sub-system used in Linux, CUPS, is heading towards driverless printing. To try driverless printing run the following commands:

<nowiki>$ driverless list</nowiki>

<nowiki>will list applicable powered-on printers on your LAN - only those having URL beginning with ipp:// are likely to work driverless</nowiki>

Then execute

<nowiki># lpadmin -p <parameter> -v <parameter> -m everywhere -E</nowiki>

see man lpadmin for suitable - p parameter. The -v parameter must be the exact ipp:// URL reported by "driverless list"

"driverless" printing can also be configured via the webbrowser GUI, URL http://localhost:631
*in this case it is essential to use the ipp:// style URL for the network printer
**copy and paste it from output of the "driverlees list" command, if necessary
*in the next page, select manufacturer
**at least two solutions should be found for a printer model "ajax fancy printer"
***ajax fancy printer some driver of some sort
***ajax fancy priner driverless
**highlight the latter, then click on "modify printer"

A widely deployed GUI printer configuration tool is "system-config-printer". It is the default in many distributions but currently does not handle driverless printing. It may appear in the start menu under various names, eg:
*Print Settings
*Print Settings


Alternative print admin tools include:
Alternative print admin tools are included in the administration menu of some distributions
**these might not detect driverless printers or downloaded drivers and are thus less reliable
*the direct interface to the Linux printing sub-system (CUPS) on your computer is via the URL http://localhost:631

**this is also a fairly capable and reliable tool
====Firmware Upgrade====
*other setup routines are provided in many Distributions
Apart from the abiility to print without a specific driver, Driverless printing can have other advantages:
**these might not detect downloaded drivers and are thus less reliable
*might find more capabilities and options in a printer than are included in the Linux driver

A Firmware upgrade to the printer might have advantages:
*enable driverless printing, whereas not previously available
*increase functionality eg
**page sizes
**duplexing
**resolution

There will always be a risk that a firmware upgrade will fail and render the printer unusable
*UPS can generally support inkjet printers during the upgrade
*but Laser printers draw much more current for the fuser


====Can't Access Web Interface ====
====Can't Access Web Interface ====
Some distributions require additional privilleges
Some distributions require additional privilleges, that are controlled by the parameter "SystemGroup" in the file /etc/cups/cups-files.conf
*make a note of the groups permitted via that parameter
*add user to group "lp"
*8under usual user administration, add user to one of those groups (other than root)
*or complete the pop-up authorisation as user "root"
*or complete the pop-up authorisation as user "root"


====Can't Access Network Printers ====
====Can't Access Network Printers ====
A paradigm shift occurred with CUPS 1.6
Major paradigm shifts occurred with CUPS 1.6 and again with CUPS 2.2.
*SLP must now be installed and configured to use printers controlled via other hosts
*"avahi" must now be installed to provide DNSSD services and find network printers or print servers
**it must also be installed on computers that are operating as print servers


==== Failure to Print ====
==== Failure to Print ====
Line 49: Line 91:
*Applications now prepare jobs as a PDF file, in lieu Postscript
*Applications now prepare jobs as a PDF file, in lieu Postscript
*opensource drivers (PPD files) should have been converted
*opensource drivers (PPD files) should have been converted
*binary drivers from manufacturers may not have been
*binary drivers from manufacturers might not have been
**LibreOffice allows selection Print Properties -> Device -> Prlinter Language to be changed to Postscript, on a per job basis
**LibreOffice allows selection of print job format under Tools -> Options -> Print
***'''deselect''' "PDF as standard print job (not all compilations of LibreOffice have this option)
***although this could be done, on a per job basis, via the print dialog Print Properties -> Device -> Printer Language to be changed to Postscript; this mode is buggy for landscape orientation pages


=== Printer/Multi-Function Device Recommendations ===
=== Printer/Multi-Function Device Recommendations ===
Line 64: Line 108:
**drivers included with Linux often don't support higher resolutions
**drivers included with Linux often don't support higher resolutions
**full-function drivers are available from http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
**full-function drivers are available from http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
**most multi-function devices scan via USB interface only and not via network.
**most multi-function devices will scan via network interface, as of mid-2017
**Epson's procedure for client/server scanning gets other brands working too

== Getting Technical ==

A good introduction to CUPS is at:
http://support.fccps.cz/download/adv/frr/cups_howto/cups_howto.htm

It also contains some tips for tuning.


--[[User:Rpeters|Rod]] ([[User talk:Rpeters|talk]]) 13:52, 12 September 2014 (EST)
--[[User:Rpeters|Rod]] ([[User talk:Rpeters|talk]]) 16:32, 3 May 2018 (AEST)


[[:Technical Info]]
[[Category:Technical Info]]
[[Category:Recommendations]]

Latest revision as of 23:03, 10 June 2021

For General Users

New users of Linux may find that their printer (and scanner) is neither supported nor supportable. Simplest option is to (carefully) purchase a new printer.

Selection Guideance

  • printers that were manufactured after 2009 and connect via Ethernet or wifi are likely to be usable without drivers
    • this is potentially the best support for Linux
    • from CLI, run "driverless list"
      • only printers that report an interface of "ipp://<blah.blah.blah>" are likely to be usable driverless
      • see below for an outline of setting up driverless printing
  • if a printer must use a driver then be aware that Linux uses Postscript or PDF technology as the basis for its print sub-system
    • printers that use Postscript, PDF or perhaps PCL print languages are readily supportable and likely to remain so
    • most entry-level printers do not use those technologies, that require additonal processing resouces, which in turn adds cost
    • be prepared to purchase a mid-range printer (or multi-function device).

All of the following pre-purchase research is strongly recommended

Troubleshooting

Administration

The most reliable tool is the command line tool "lpadmin".

The print sub-system used in Linux, CUPS, is heading towards driverless printing. To try driverless printing run the following commands:

$ driverless list

will list applicable powered-on printers on your LAN - only those having URL beginning with ipp:// are likely to work driverless

Then execute

# lpadmin -p <parameter> -v <parameter> -m everywhere -E

see man lpadmin for suitable - p parameter. The -v parameter must be the exact ipp:// URL reported by "driverless list"

"driverless" printing can also be configured via the webbrowser GUI, URL http://localhost:631

  • in this case it is essential to use the ipp:// style URL for the network printer
    • copy and paste it from output of the "driverlees list" command, if necessary
  • in the next page, select manufacturer
    • at least two solutions should be found for a printer model "ajax fancy printer"
      • ajax fancy printer some driver of some sort
      • ajax fancy priner driverless
    • highlight the latter, then click on "modify printer"

A widely deployed GUI printer configuration tool is "system-config-printer". It is the default in many distributions but currently does not handle driverless printing. It may appear in the start menu under various names, eg:

  • Print Settings

Alternative print admin tools are included in the administration menu of some distributions

    • these might not detect driverless printers or downloaded drivers and are thus less reliable

Firmware Upgrade

Apart from the abiility to print without a specific driver, Driverless printing can have other advantages:

  • might find more capabilities and options in a printer than are included in the Linux driver

A Firmware upgrade to the printer might have advantages:

  • enable driverless printing, whereas not previously available
  • increase functionality eg
    • page sizes
    • duplexing
    • resolution

There will always be a risk that a firmware upgrade will fail and render the printer unusable

  • UPS can generally support inkjet printers during the upgrade
  • but Laser printers draw much more current for the fuser

Can't Access Web Interface

Some distributions require additional privilleges, that are controlled by the parameter "SystemGroup" in the file /etc/cups/cups-files.conf

  • make a note of the groups permitted via that parameter
  • 8under usual user administration, add user to one of those groups (other than root)
  • or complete the pop-up authorisation as user "root"

Can't Access Network Printers

Major paradigm shifts occurred with CUPS 1.6 and again with CUPS 2.2.

  • "avahi" must now be installed to provide DNSSD services and find network printers or print servers
    • it must also be installed on computers that are operating as print servers

Failure to Print

Failure to print, although the driver is installed, can result from unsuitable settings.

  1. from the CUPS Administration tab, select
    • Manage Printers -> Set Default Options
  2. check the settings for and adjuxt if necessary
    1. paper size (usually A4 is appropriate)
    2. paper source (tray (cassette) or manual)

A paradigm shift occurred with Foomatic 4.n

  • Applications now prepare jobs as a PDF file, in lieu Postscript
  • opensource drivers (PPD files) should have been converted
  • binary drivers from manufacturers might not have been
    • LibreOffice allows selection of print job format under Tools -> Options -> Print
      • deselect "PDF as standard print job (not all compilations of LibreOffice have this option)
      • although this could be done, on a per job basis, via the print dialog Print Properties -> Device -> Printer Language to be changed to Postscript; this mode is buggy for landscape orientation pages

Printer/Multi-Function Device Recommendations

The following factors might assist preparation of a "short-list"

  • HP provide Linux support for most of their devices
    • low-end devices would be reliant on continuation of this support, as would be the case with other brands
  • Fuji-Xerox have argueably the best colour laser technology
    • CP/CM 305 series are the lowest cost models having Linux support
    • and are competitively priced, for the capability provided
  • Brother multi-functions all support scanning via network
    • mid-range models do use Postscript and should be supportable long-term
  • Epson printers are often supported
    • drivers included with Linux often don't support higher resolutions
    • full-function drivers are available from http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
    • most multi-function devices will scan via network interface, as of mid-2017
    • Epson's procedure for client/server scanning gets other brands working too

Getting Technical

A good introduction to CUPS is at: http://support.fccps.cz/download/adv/frr/cups_howto/cups_howto.htm

It also contains some tips for tuning.

--Rod (talk) 16:32, 3 May 2018 (AEST)