<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages</id>
		<title>FreeBSDwiki - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Special:NewPages"/>
		<updated>2026-04-06T03:20:51Z</updated>
		<subtitle>From FreeBSDwiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php/Printing,_about</id>
		<title>Printing, about</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Printing,_about"/>
				<updated>2021-06-08T11:51:05Z</updated>
		
		<summary type="html">&lt;p&gt;Sidetone: /* CUPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;About printing on FreeBSD: comparisons of printing protocols; about filters, Page Description Languages (PDL's) and printer specifications.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
LPD (Line Printer Daemon) and IPP (Internet Printing Protocol) are printer protocols defined by IETF. LPD is described by RFC 1179 (not as a standard): it uses service port 515. IPP is a standard defined by RFC 8011 and RFC 3510: it uses service port 631. Access control and security features are available on IPP that aren't on LPD. RFC 2569 is a memo on mapping between LPD and IPP.&lt;br /&gt;
&lt;br /&gt;
pdl-datastream on service port 9100 is for proprietary printers and proprietary local network printer servers. This is often used by JetDirect products.&lt;br /&gt;
&lt;br /&gt;
Printers can also use SMB (over Samba) as a protocol.&lt;br /&gt;
&lt;br /&gt;
==Comparison of print architectures==&lt;br /&gt;
===LPR, LPRng===&lt;br /&gt;
LPR is the default with FreeBSD. LPRng is a more advanced implementation of LPR. These two programs use and can alter {{man|printcap|5}}. LPR and LPRng both use the LPD protocol over service port 515.&lt;br /&gt;
&lt;br /&gt;
LPR and LPRng require manual set up through custom shell scripts of filters to convert plain text or other types of data, even between PostScript outputs to PostScript capable printers. {{port|print/a2ps}} can simplify this task of converting ASCII to PostScript output. LPR's intended use was for text printing.&lt;br /&gt;
&lt;br /&gt;
LPRng (LPR Next Generation) is an advanced replacement for LPR. It is under the GPL and Artistic licenses. IFHP is a filter that determines the format and does conversions, including by use of Ghostscript. LPRng takes care of format conversions through its filters, and of PostScript output through Ghostscript. LPRng was designed to be more secure than LPR. LPRng is found at {{port|sysutils/LPRng}}. It uses {{file|printcap}}, {{file|lpd.conf}}, and {{file|lpd.perms}} for configuration.&lt;br /&gt;
&lt;br /&gt;
lprng in services ({{file|rc.conf}}) requires that lpr and cupsd be disabled. LPR and LPRng daemons can be enabled or disabled through {{file|rc.conf}}. LPR compilation in the world build can be disabled through {{man|src.conf|5}}&lt;br /&gt;
&lt;br /&gt;
===CUPS===&lt;br /&gt;
The Common Unix Printing System (CUPS: {{port|print/cups}}) framework supports more printers than LPR and LPRng, and it is more advanced. PCL printers are more readily supported under CUPS. CUPS can be administered on the command line, through the web interface, and through a GUI.&lt;br /&gt;
&lt;br /&gt;
The default protocol that CUPS uses is IPP. In addition to IPP, CUPS also has protocol support for: LPD, SMB (Server Message Block) and pdl-datastream. CUPS originally started out over LPD. Samba is only needed for printing on LANs that include Windows computers.&lt;br /&gt;
&lt;br /&gt;
CUPS has its own implementation of LPR in under {{file|/usr/local/}}, as opposed to LPR's default location under {{file|/usr/}}. The LPR files that CUPS uses can be set in {{file|/usr/local/etc/cups/printcap}}. On the command line, CUPS uses BSD LPR style commands.&lt;br /&gt;
&lt;br /&gt;
The command cupsctl can adjust settings in cupsd.conf.&lt;br /&gt;
&lt;br /&gt;
CUPS supports encryption for administration and printing, which wasn't available in older versions. Kerberos will be replaced by OAuth and PAM for access control and security by CUPS 3.0.&lt;br /&gt;
&lt;br /&gt;
CUPS is compatible for use with Zeroconf.&lt;br /&gt;
&lt;br /&gt;
This print architecture uses Apache License 2.0. Legacy versions of CUPS were under GPL.&lt;br /&gt;
&lt;br /&gt;
===More===&lt;br /&gt;
CUPS and LPRng software conflicts so cannot be installed together. LPR and CUPS can coexist, but only one service is needed.&lt;br /&gt;
&lt;br /&gt;
Some programs, such as forks of OpenOffice (such as LibreOffice or Apache OpenOffice) provide their own drivers that output to LPR in place of already configured filters like Ghostscript. Their printing has to be set up independently from an already working CUPS or LPR print configuration.&lt;br /&gt;
&lt;br /&gt;
The Printer Working Group (PWG) intends to offer driverless scanning over IPP. However, there are no IPP scanners and there's no working program from PWG, so SANE is still the de-facto standard for open-source printing. SANE is under GPL, and it is unable to be changed to LGPL by the wishes of its maintainers, because it has multiple contributors.&lt;br /&gt;
&lt;br /&gt;
==Modern CUPS specifications==&lt;br /&gt;
As of future CUPS version 3.0, legacy drivers and PDL's will no longer be used. CUPS 2.3 already supports modern CUPS replacements for printer drivers.&lt;br /&gt;
&lt;br /&gt;
PWG Raster ('image/pwg-raster'), JPEG ('image/jpeg'), and PDF ('application/pdf') are modern formats directly supported by newer printers. PWG Raster and JPEG formats are supported by most new printers since 2010.&lt;br /&gt;
&lt;br /&gt;
There are also IPP-Everywhere compliant printers.&lt;br /&gt;
&lt;br /&gt;
Airprint is an alternate technology for Apple MacOS and i-products. It uses Apple Raster ('image/urf'). Mopria is a printer technology to print from Android, which is intended to be used with PAPPL.&lt;br /&gt;
&lt;br /&gt;
'text/plain' is supported by simple printers. 'application/octet-stream' tells capable printers which format to use. For printers without this capability, the format has to be specified through configuration or through print commands.&lt;br /&gt;
&lt;br /&gt;
The WiFi alliance has a printer specification.&lt;br /&gt;
&lt;br /&gt;
Industrial, label, legacy and other specialized printers don't have the capability for these modern printing formats. LPrint is intended for label printers to work with CUPS, and a few are already supported. The PAPPL framework could be the replacement for drivers of legacy, specialty and other printers to work with newer versions of CUPS.&lt;br /&gt;
&lt;br /&gt;
Legacy printers may have an application that addresses their Printer Description Language for use with the newer versions of CUPS. PCL has hp-printer-app, and PostScript has ps-printer-app.&lt;br /&gt;
&lt;br /&gt;
For 3D printers, there are a few formats supported: 3MF, U3D, PRC and PWG compliant G-code. Different versions of PDF have support for either U3D and PRC.&lt;br /&gt;
&lt;br /&gt;
==Legacy specifications: filters/drivers/PDL's==&lt;br /&gt;
Postscript (PS) and PCL (Printer Command Language) are printer languages known as Page Description Languages (PDL's) supported by the majority of printers for interpreting and printing jobs. These two PDLs are alternate models developed by Adobe and HP respectively. PJL is another type of printer language for controlling features. These legacy specifications work up to CUPS version 2.4. Postscript is defined by 'application/postscript', and PCL is defined by 'application/vnd.hp-pcl'.&lt;br /&gt;
&lt;br /&gt;
Many programs simply output data as Postscript. A filter is often needed for different types of output formats (separate from the printer language), even when the printer understands the same printer language as a program's output (such as Postscript). Output formats that need to be converted to a printer language include: dvi, Fortran and Raster.&lt;br /&gt;
&lt;br /&gt;
Filters are useful for different types of output. Carriage returns are different for command line output from Bourne shells, MS DOS, text files and Postscript output. Without the right filters, printers can stair-step or text can otherwise be misaligned.&lt;br /&gt;
&lt;br /&gt;
Printer packaging lists its specs, often: supported PDLs, fonts and graphics formats.&lt;br /&gt;
&lt;br /&gt;
===PCL===&lt;br /&gt;
ASCII is a printer language which PCL is an extension of.&lt;br /&gt;
&lt;br /&gt;
===PostScript===&lt;br /&gt;
LPR in base, and CUPS from ports perform the same function of receiving PostScript output and sending it to PostScript capable printers. CUPS allows printers that use other PDL's to be used through PostScript via PPD (PostScript Printer Description) conversions. LPR uses filters to convert from Postscript and other formats to a language a printer understands.&lt;br /&gt;
&lt;br /&gt;
PostScript is the default for both CUPS and Apple. For the most common PDL's: PostScript is considered higher quality than PCL, so more preference is centered around it. There are also very high quality printers that don't use either of these two PDL's.&lt;br /&gt;
&lt;br /&gt;
PostScript printers cost more because of hardware and font license fees from Adobe. However, this company offers PostScript software drivers for free. (Opensource driver software is available as mentioned a few times.) HP computers that have M in the model for Macintosh are PostScript printers (one may want to confirm that the specifications say Postscript).&lt;br /&gt;
&lt;br /&gt;
Conversions for non-PostScript printers rely on PPD's, and filters.&lt;br /&gt;
&lt;br /&gt;
===Conversions===&lt;br /&gt;
Ghostscript is a substitution for PCL printers to work as if they were PostScript. Ghostscript, Foomatic and other printer suites act as filters on LPR. On CUPS, many of these filters plus Gutenprint are able to provide needed PPD's (Postscript Printer Descriptions) for varying printers. {{port|print/foomatic-filters}} may lack compatibility with CUPS, and it conflicts with a needed {{port|print/cups-filters}}.&lt;br /&gt;
&lt;br /&gt;
LPR is able to output to non-PostScript printers by using Ghostscript's {{cmd|gs}} as an input filter through printcap. Ghostscript offers a few conversion programs between Postscript and pdf files.&lt;br /&gt;
&lt;br /&gt;
Ghostscript (under AGPL) can convert PostScript outputs to printer languages which specific non-Postscript printers can interpret. In addition to PCL, Ghostscript makes ESC printers functional. LPRng includes Ghostscript for printer language conversion too. Ghostscript can be used with LPR, CUPS, or LPRng&lt;br /&gt;
&lt;br /&gt;
GhostViewer ({{port|print/gv}}) is a program for viewing Postscript output on the monitor.&lt;br /&gt;
&lt;br /&gt;
===ESC===&lt;br /&gt;
ESC/P (Epson's developed PDL) printers are used in consumer inkjet printers, as well as dot matrix, receipt, thermal, labeling and barcode printers.&lt;br /&gt;
&lt;br /&gt;
===GDI/WIN===&lt;br /&gt;
Win(dos) or GDI printers are generally incompatible with BSD's or Linux. Printers that let the software from the computer run them completely are referred to as dumb printers.&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
The spool holds printing jobs to be printed in order. Print jobs are held in the {{file|/var/spool/}} directory.&lt;br /&gt;
&lt;br /&gt;
==References/Further Reading==&lt;br /&gt;
* FreeBSD 6 Unleashed&lt;br /&gt;
* Network Administration with FreeBSD 7&lt;br /&gt;
* Building a Server with FreeBSD 7&lt;br /&gt;
* The Complete FreeBSD (2006)&lt;br /&gt;
* https://www.cups.org/&lt;br /&gt;
* http://lprng.com&lt;br /&gt;
* http://www.wonkity.com/~wblock/docs/html/lpdprinting.html&lt;br /&gt;
* https://docs.freebsd.org/en/books/handbook/printing/&lt;br /&gt;
* https://docs.freebsd.org/en/articles/cups/&lt;br /&gt;
* https://www.informit.com/articles/article.aspx?p=167786&lt;br /&gt;
* https://www.cups.org/blog/2018-06-06-demystifying-cups-development.html&lt;br /&gt;
* https://ftp.pwg.org/pub/pwg/liaison/openprinting/presentations/cups-plenary-may-2021.pdf&lt;br /&gt;
* https://www.msweet.org/lprint/&lt;br /&gt;
* https://www.msweet.org/pappl/&lt;br /&gt;
* https://www.pwg.org/3d/index.html&lt;br /&gt;
* https://www.pwg.org/ipp/ippguide.html&lt;br /&gt;
* https://openprinting.github.io/upcoming-technologies/02-ipp-scan/&lt;br /&gt;
(some references are out of date, but still have relevance)&lt;br /&gt;
&lt;br /&gt;
[[Category:New User Tips and FAQs]]&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:FreeBSD for Workstations]]&lt;/div&gt;</summary>
		<author><name>Sidetone</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Window_Managers,_BSD</id>
		<title>Window Managers, BSD</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Window_Managers,_BSD"/>
				<updated>2018-02-11T02:05:13Z</updated>
		
		<summary type="html">&lt;p&gt;Sidetone: category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;List of BSD window managers that contain BSD/ISC/MIT style licenses.&lt;br /&gt;
&lt;br /&gt;
==By Resource Requirements==&lt;br /&gt;
===Lightest===&lt;br /&gt;
* {{port|x11-wm/antiwm|MIT}} - C - fullscreen&lt;br /&gt;
* {{port|x11-wm/bspwm|BSD2}} - tiling&lt;br /&gt;
* {{port|x11-wm/ctwm|MIT}} Claude's Tab Window Manager; twm extension&lt;br /&gt;
* {{port|x11-wm/cwm|ISCL}} - C - floating&lt;br /&gt;
* {{port|x11-wm/dwm|MIT}} Dynamic Window Manager; Minimalist window manager that uses C programming language for custom desktop configuration&lt;br /&gt;
* {{port|x11-wm/tinywm|Public Domain}}&lt;br /&gt;
* {{port|x11-wm/twm|MIT}} - C Xlib - reparenting&lt;br /&gt;
* {{port|x11-wm/vtwm|MIT}} - twm variant&lt;br /&gt;
&lt;br /&gt;
===Light===&lt;br /&gt;
* {{port|x11-wm/blackbox|MIT}} - C++ - floating&lt;br /&gt;
* {{port|x11-wm/i3|BSD3}} - tiling&lt;br /&gt;
* {{port|x11-wm/jwm|MIT}} - C - floating&lt;br /&gt;
* {{port|x11-wm/qtile|MIT}} - python - tiling&lt;br /&gt;
&lt;br /&gt;
===Heavy===&lt;br /&gt;
* {{port|x11-wm/enlightenment|BSD2}}, x11-wm/e16 - C&lt;br /&gt;
* {{port|x11-wm/fluxbox|MIT}} - C++ - floating&lt;br /&gt;
* {{port|x11-wm/hs-xmonad|BSD3}} - haskell - heavy dependencies&lt;br /&gt;
&lt;br /&gt;
===Unspecified===&lt;br /&gt;
* {{port|x11-wm/wmii|MIT}} Window Manager Improved, Improved; Minimalist and dynamic window manager&lt;br /&gt;
* {{port|x11-wm/compton|MIT}}&lt;br /&gt;
* {{port|x11-wm/euclid-wm|BSD3}}&lt;br /&gt;
* {{port|x11-wm/golem|BSD3}}&lt;br /&gt;
* {{port|x11-wm/mcwm|ISCL}}&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
===9wm derivatives===&lt;br /&gt;
* {{port|x11-wm/aewm|9wm derived}}&lt;br /&gt;
* {{port|x11-wm/evilwm|9wm derived}}&lt;br /&gt;
* {{port|x11-wm/w9wm|9wm derived}}&lt;br /&gt;
===Unclear===&lt;br /&gt;
* {{port|x11-wm/fvwm|unspecified}} - There is supposedly a version with a BSD compatible license: the license of its prerelease version is unspecified. {{port|x11-wm/fvwm2}} and FVWM3 (not in ports) have GPL type licenses.&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD for Workstations]]&lt;br /&gt;
[[Category:FreeBSD Multimedia]]&lt;br /&gt;
[[Category:Why FreeBSD?]]&lt;/div&gt;</summary>
		<author><name>Sidetone</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Desktop,_obsolete_settings</id>
		<title>Desktop, obsolete settings</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Desktop,_obsolete_settings"/>
				<updated>2018-02-10T01:44:09Z</updated>
		
		<summary type="html">&lt;p&gt;Sidetone: /* Customization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is for those who are familiar with older versions of FreeBSD.&lt;br /&gt;
&lt;br /&gt;
==Xorg==&lt;br /&gt;
Manually setting the option in {{file|xorg.conf}} to the next line enabled the mouse and keyboard:&lt;br /&gt;
 Option &amp;quot;AllowEmptyInput&amp;quot; &amp;quot;False&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{{file|/etc/rc.conf}}:&lt;br /&gt;
&lt;br /&gt;
 hald_enable=&amp;quot;YES&amp;quot;&lt;br /&gt;
The hald option can be replaced with FreeBSD's native program {{man|devd|8}}, if the options were set in {{port|x11-servers/xorg-server}} before compiling. Some ported programs still use hald, however.&lt;br /&gt;
&lt;br /&gt;
For a custom xorg configuration file: &lt;br /&gt;
 % Xorg -configure&lt;br /&gt;
After testing this configuration, {{file|xorg.conf.new}} would have been copied to {{file|/etc/X11/xorg.conf}}:&lt;br /&gt;
 % cp /root/xorg.conf.new /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
==SLiM==&lt;br /&gt;
{{port|x11/slim}} was a practical choice for a login manager, which didn't have remote login access. To enable slim, edit the line in {{file|/etc/ttys}} to :&lt;br /&gt;
 ttyv8   &amp;quot;/usr/local/bin/'''slim''' -nodaemon&amp;quot;           xterm   '''on''' secure&lt;br /&gt;
&lt;br /&gt;
Slim requires a {{file|*.desktop}} file, typically in {{file|/usr/local/share/xsessions/}}. This directory is specified in {{file|/usr/local/etc/slim.conf}} next to the {{code|sessiondir}} option. If the directory doesn't exist, create it with the {{cmd|mkdir -p}} command.&lt;br /&gt;
&lt;br /&gt;
Example of a minimal {{file|/usr/local/share/xsessions/fluxbox.desktop}} file:&lt;br /&gt;
 [Desktop Entry]&lt;br /&gt;
 Name=FLUXBOX&lt;br /&gt;
 Exec=fluxbox&lt;br /&gt;
{{file|.desktop}} files are in xdg-style, demonstrated at [http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html#basic-format Desktop Entry Specification]. &lt;br /&gt;
&lt;br /&gt;
===Customization===&lt;br /&gt;
To change the background, copy your choice background image to {{file|/usr/local/share/slim/themes/default/background.jpg}}&lt;br /&gt;
&lt;br /&gt;
 % cd /usr/local/share/slim/themes/default&lt;br /&gt;
 % mv background.jpg background.bk.jpg&lt;br /&gt;
 % cp [pathname/your file] background.jpg&lt;br /&gt;
&lt;br /&gt;
To create multiple themes, you may create a new directory under {{file|themes/}} that is similar to the {{file|default/}} directory, then specify this themes subdirectory from {{file|/usr/local/etc/slim.conf}}. If you do this, be sure each used folder ends off with three files named: {{file|slim.theme}}, {{file|background.jpg}} and {{file|panel.png}}.&lt;br /&gt;
&lt;br /&gt;
Add or edit your themes to {{file|slim.conf}}:&lt;br /&gt;
 #current theme, use comma separated list to specify a set to randomly choose from&lt;br /&gt;
 current_theme       default,mytheme&lt;br /&gt;
&lt;br /&gt;
To create themes directories:&lt;br /&gt;
 % cd /usr/local/share/slim/themes&lt;br /&gt;
 % cp -R default mytheme&lt;br /&gt;
&lt;br /&gt;
Then edit the {{file|mytheme/}} files to your liking. For more details of slim configuration, type either:&lt;br /&gt;
 % man slim&lt;br /&gt;
&lt;br /&gt;
 % less /usr/local/etc/slim.conf.sample&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD for Workstations]]&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;/div&gt;</summary>
		<author><name>Sidetone</name></author>	</entry>

	</feed>