mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-04 07:47:45 +02:00
Compare commits
2 Commits
5c15e7d311
...
38c6258439
Author | SHA1 | Date | |
---|---|---|---|
38c6258439 | |||
985ae74260 |
22
wiki/cups.md
22
wiki/cups.md
@ -21,3 +21,25 @@ For Linux computers follow these instructions:
|
||||
- Restart the CUPS service: `systemctl restart cups`
|
||||
- Test connectivity: `lpstat -r`
|
||||
- Check the detected printers with: `lpstat -v`
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of the CUPS.
|
||||
|
||||
### Adding a Printer
|
||||
|
||||
A printer can be added using the webinterface.
|
||||
The webinterface is normally reachable on port 631.
|
||||
This process is guided and should be self-explanatory.
|
||||
However in some cases additional drivers have to be installed.
|
||||
For example Brother label printers of the ptouch series feature drivers that are available for most
|
||||
[Linux](/wiki/linux.md) distributions in a package named `printer-driver-ptouch`.
|
||||
When adding the printer a network address has to be given.
|
||||
For USB printers this can be done via the USB protocol.
|
||||
Continuing the example Brother label Printer QL-600 the connection `usb://Brother/QL-600` is
|
||||
sufficient.
|
||||
When using multiple printers the serial number can be given in addition to this.
|
||||
This is done by appending it the the mentioned connection string and will look like
|
||||
`usb://Brother/QL-600?serial=000J1Z140282`.
|
||||
The examples using the Brother printer are taken from a
|
||||
[dwaves article](https://dwaves.de/2022/07/13/gnu-linux-debian-11-how-to-setup-brother-ql-600-labelprinter/).
|
||||
|
@ -45,7 +45,7 @@ A configuration typically looks like the following lines.
|
||||
|
||||
This configuration requires some fonts that are not necessarily present in any
|
||||
Linux installation so they may have to be installed.
|
||||
Follow the section on [adding new fonts](#adding-new-font) and
|
||||
Follow the section on [adding new fonts](#adding-new-font-to-configuration) and
|
||||
[recommended fonts](#recommended-fonts) as needed.
|
||||
|
||||
## Usage
|
||||
@ -53,6 +53,24 @@ Follow the section on [adding new fonts](#adding-new-font) and
|
||||
This section addresses important commands and packages for the configuration of
|
||||
fonts.
|
||||
|
||||
### Add TTF Font
|
||||
|
||||
A font can be added to the local users fonts using a `.ttf` file.
|
||||
The file has to be copied into the local fonts directory `~/.local/share/fonts`.
|
||||
Afterwards the [cache should be reloaded](#reload-the-cache).
|
||||
Finally the font can be [found](#list-or-find-font-family).
|
||||
|
||||
### Reload the Cache
|
||||
|
||||
The cache needs to be reloaded in certain situations like after a new font
|
||||
has been added.
|
||||
This can be achieved by the following command.
|
||||
|
||||
|
||||
```sh
|
||||
fc-cache -f -c
|
||||
```
|
||||
|
||||
### List or Find Font Family
|
||||
|
||||
A list of all fonts can be displayed using the command `fc-match -a`.
|
||||
@ -63,17 +81,18 @@ For matching the command `fc-match -s <search term>` is be used.
|
||||
This will display a list of font families that match best with the given search
|
||||
term.
|
||||
|
||||
### Adding New Font
|
||||
### Adding New Font to Configuration
|
||||
|
||||
A new font can be added by placing its name inside `<family>`/`</family>`-tags.
|
||||
Make sure to place it inside the correct [font family](/wiki/font.md#typefaces).
|
||||
If you want to add a font into the configuration make sure its name
|
||||
[matches](#list-or-find-font-family) correctly.
|
||||
|
||||
|
||||
### Recommended Fonts
|
||||
|
||||
In this section various fonts are listed for the different typefaces.
|
||||
Make sure to follow [the adding new fonts section](#adding-new-font) after
|
||||
Make sure to follow [the adding new fonts section](#adding-new-font-to-configuration) after
|
||||
installing new fonts.
|
||||
|
||||
#### Monospace
|
||||
@ -119,3 +138,14 @@ displayed properly.
|
||||
[JoyPixels](https://joypixels.com) feature many emoji icons.
|
||||
The fonts can be obtained from their [website](https://joypixels.com/download)
|
||||
or for most distributions from the `ttf-joypixels` package.
|
||||
|
||||
#### Special Fonts
|
||||
|
||||
This section lists some fonts that are good in certain situations but are not
|
||||
intended to be used as day-to-day font.
|
||||
|
||||
- [MagicMedieval & MagicSymbols](http://www.thealmightyguru.com/GameFonts/Series-MagicTheGathering.html)
|
||||
are fonts that are similar to the font used in the game
|
||||
[Magic: The Gathering](/wiki/games/magic%3A_the_gathering.md).
|
||||
An overview of the glyphs can be found in a
|
||||
[StackExchange post by Cicada](https://tex.stackexchange.com/questions/570890/how-can-i-typeset-magic-the-gathering-symbols-using-the-pifont-package-in-latex).
|
||||
|
Loading…
x
Reference in New Issue
Block a user