Printing commands

找到 163 条

File inspection

122 commands

Merge multiple PDFs

Useful Linux one-liner

gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf
Details

a2ping

Convert between PostScript, EPS, and PDF formats

a2ping [input.ps] [output.pdf]
Details

abc2ly

ABC music notation to LilyPond converter

abc2ly [input.abc]
Details

anthropic

Interact with Claude AI from the command line

anthropic -g user "Hello, Claude!"
Details

awk

Pattern scanning and text processing language

awk '{print $5}' [path/to/file]
Details

bibiman

TUI for managing BibLaTeX databases with Vim-like keybindings

bibiman [path/to/references.bib]
Details

bookokrat

Terminal EPUB, PDF and DJVU book reader

bookokrat [path/to/book.epub]
Details

camelot

Extract tables from PDF files

camelot read -p [1] [document.pdf]
Details

checkpc

validate printcap database and spool directories

checkpc
Details

clamav

open-source antivirus toolkit

clamscan [path/to/file]
Details

cobib

Console-based bibliography manager

cobib
Details

cups

Common UNIX Printing System

lpstat -p
Details

cupsctl

configure cupsd.conf options for the CUPS scheduler

cupsctl
Details

daps

DocBook Authoring and Publishing Suite

daps -d [DC-file] html
Details

diff-pdf

visual PDF comparison tool

diff-pdf [file1.pdf] [file2.pdf]
Details

enscript

convert text files to PostScript for printing

enscript [file]
Details

epstopdf

Encapsulated PostScript to PDF converter

epstopdf [image.eps]
Details

find

search directory trees for files

find [path] -name "[*.txt]"
Details

foo2hbpl

pbmraw to HBPL2 converter for Dell and Xerox printers

gs -q -dBATCH -dNOPAUSE -sDEVICE=pbmraw -sOutputFile=- [file.ps] | foo2hbpl2 > [output.hbpl]
Details

fop

XSL-FO to PDF processor

fop [input.fo] [output.pdf]
Details

gawk

GNU implementation of AWK text processor

gawk '{print $1, $3}' [path/to/file]
Details

gitbook

Build books and documentation from Markdown

gitbook init
Details

Directory listing

70 commands

2to3

automated Python 2 to Python 3 code converter

2to3 [script.py]
Details

arch

Print the machine hardware architecture

arch
Details

artisan

Laravel's command-line interface for PHP development tasks.

php artisan list
Details

asciidoc

Convert AsciiDoc markup to HTML and DocBook

asciidoc [document.txt]
Details

auggie

AI-powered agentic coding CLI from Augment Code

auggie
Details

beautifulsoup

Parse and extract data from HTML and XML documents

python3 -c "from bs4 import BeautifulSoup; import requests; print([a['href'] for a in BeautifulSoup(requests.get('[url]').text, 'html.parser').find_all('a', href=True)])"
Details

catchsegv

catch segmentation faults and print backtraces

catchsegv [./program]
Details

chromium-browser

Open-source web browser with extensive command-line controls

chromium-browser [https://example.com]
Details

clang-check

Clang-based static analysis and AST inspection tool

clang-check [source.cpp]
Details

cohere

terminal chat interface for Cohere AI models

cohere
Details

compose

open files using mailcap-configured editors

compose [filename]
Details

cpdf

Command-line PDF manipulation tool

cpdf [input1.pdf] [input2.pdf] -o [output.pdf]
Details

d8

V8 JavaScript engine developer shell

d8
Details

dd

Convert and copy files at the block level

sudo dd if=[path/to/file.iso] of=[/dev/usb_drive] status=progress
Details

diffoscope

deep recursive file comparison tool

diffoscope [file1] [file2]
Details

dvips

convert DVI to PostScript

dvips [document.dvi] -o [document.ps]
Details

foo2hp

PBM to HP ZjStream converter

foo2hp [options] < [input.pbm] > [output.prn]
Details

foo2oak

PBM to OAKT converter for Oak Technology printers

foo2oak [options] < [input.pbm] > [output.prn]
Details

foo2xqx

PBM to XQX converter for HP LaserJet printers

foo2xqx [options] < [input.pbm] > [output.prn]
Details

gdb

interactive debugger for compiled programs

gdb [program]
Details

ghostscript

Interpreter for PostScript and PDF file manipulation

gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r300 -sOutputFile=[page-%d.png] [input.pdf]
Details

gnuplot

command-driven graphing and plotting utility

gnuplot
Details

grops

Groff PostScript output driver

groff -Tps [file.roff] > output.ps
Details

gs

Ghostscript PostScript and PDF interpreter

gs -dQUIET -dBATCH file.pdf
Details

gvfs-open

opens files and URIs with their default applications

gvfs-open [file.pdf]
Details

handlr

modern alternative to xdg-utils for managing default applications on Linux

handlr open https://example.com
Details

hp-clean

performs print head cleaning on HP printers

hp-clean
Details

img2pdf

converts images to PDF without re-encoding, preserving the original image

img2pdf [image1.jpg] [image2.png] -o [output.pdf]
Details

julia

high-level, high-performance programming language for technical computing

julia
Details

latexmk

perl script that automates LaTeX document compilation

latexmk -pdf [document.tex]
Details

lpmove

moves print jobs between queues

lpmove [job_id] [destination_printer]
Details

Text processing

19 commands

drawio

diagram editor for flowcharts and diagrams

drawio
Details

fim

framebuffer and terminal image viewer

fim [image.jpg]
Details

foo2lava

Convert Ghostscript pbmraw or bitcmyk format into a LAVAFLOW printer stream

foo2lava [options] < [input.pbm] > [output.prn]
Details

hp-makeuri

generates device URIs for HP printers

hp-makeuri [192.168.1.100]
Details

http-prompt

interactive command-line HTTP client featuring autocomplete and syntax

http-prompt
Details

ipptool

versatile testing tool for IPP printers and servers

ipptool -tv [ipp://printer.local/ipp/print] get-printer-attributes.test
Details

lp

prints files to a printer

lp [file.pdf]
Details

lpc

Line printer control program

lpc status all
Details

lue

Terminal eBook reader with text-to-speech

lue [path/to/book.epub]
Details

min12xxw

driver for Minolta PagePro printers

min12xxw [file.prn]
Details

radare2

Reverse engineering and binary analysis framework

r2 [binary]
Details

seq

Print a sequence of numbers

seq 10
Details

File operations

17 commands

arm2hpdl

wrap an ARM ELF printer firmware image with HP download header/trailer

arm2hpdl [sihp1005.img] > [sihp1005.dl]
Details

claude

AI-powered agentic coding assistant CLI

claude
Details

diesel

Rust ORM command-line interface

diesel setup
Details

evince

GNOME document viewer for PDF and PostScript

evince [path/to/file.pdf]
Details

getln

read a line from the zsh buffer stack

getln [variable_name]
Details

kimi

moonshot AI's command-line agent for AI-driven coding and terminal operations

kimi
Details

oakdecode

decode an OAKT printer stream into human readable form

oakdecode < [file.prn]
Details

okular

KDE's universal document viewer

okular [document.pdf]
Details

pdf2json

extracts PDF content to JSON format

pdf2json [input.pdf] [output.json]
Details

pdfbook

Put pages of PDF files into 2-up signatures for booklet printing

pdfbook [input.pdf]
Details

pdfxup

arranges multiple PDF pages onto single sheets

pdfxup -o [path/to/output.pdf] [path/to/input.pdf]
Details

pkcs7.1s

Process PKCS#7 certificate chain structures

openssl pkcs7 -in [file.p7b] -print_certs
Details

presenterm

Terminal-based Markdown slide presenter

presenterm [presentation.md]
Details

pushln

Push arguments onto the shell buffer stack

pushln "[text to push]"
Details

soffice

LibreOffice suite launcher and converter

soffice
Details

typst

Modern typesetting system and compiler

typst compile [document.typ]
Details

uname

Print system and kernel information

uname -a
Details

Search and filters

12 commands

foo2zjs

PBM to ZjStream converter for HP and Minolta printers

foo2zjs [options] < [input.pbm] > [output.prn]
Details

gnome-open

open files with associated GNOME applications (deprecated)

gnome-open [file.pdf]
Details

go-env

print and manage Go environment variables

go env
Details

grep

Pattern-matching text search utility

grep [pattern] [file]
Details

l123

Modern terminal spreadsheet inspired by Lotus 1-2-3

l123
Details

pnmtotiffcmyk

Convert PNM to CMYK TIFF for printing

pnmtotiffcmyk [input.pnm] > [output.tiff]
Details

qpdldecode

Decode Samsung QPDL printer data format

qpdldecode [input.qpdl] > [output.pbm]
Details

qrencode

Encode text into QR code images

qrencode -t ANSI "[text]"
Details

sfdp

Scalable force-directed graph layout engine

sfdp [input.dot] -o [output.png]
Details

troff

GNU roff typesetting processor

troff -man [file.1]
Details

xkbcli

Query, compile and test XKB keymaps from the command line

xkbcli list
Details

Network diagnostics

6 commands

capsh

Explore and constrain Linux capabilities

capsh --print
Details

frida

Dynamic instrumentation toolkit for developers and security researchers

frida [process_name]
Details

kotlin

Run Kotlin scripts and provide a REPL

kotlin script.kts
Details

lpadmin

configures CUPS printers

lpadmin -p [printer] -v [device://uri] -m [driver.ppd]
Details

Processes and services

6 commands

dbus-send

command-line D-Bus method invocation and signaling

dbus-send --session --dest=[org.freedesktop.Notifications] [/org/freedesktop/Notifications] [org.freedesktop.Notifications.GetCapabilities]
Details

foo2hbpl2

Convert Ghostscript output to HBPL2 format for Dell and Xerox printers

foo2hbpl2 [options] < [input.pbm] > [output.hbpl]
Details

foo2slx

PBM to SLX converter for Lexmark printers

foo2slx [options] < [input.pbm] > [output.prn]
Details

grap2graph

Grap graph to image converter

grap2graph [file.grap] > output.png
Details

pbmtoepson

converts PBM bitmaps to Epson printer control codes for direct printing

pbmtoepson [input.pbm] | lpr
Details

Media tools

3 commands

Shell workflow

3 commands

cupsaccept

allow printer queues to accept jobs

cupsaccept [printer_name]
Details

infocmp

Compare or print out terminfo descriptions

infocmp
Details

SSH and remote access

2 commands

netmiko

multi-vendor SSH library for Python that simplifies CLI interactions

from netmiko import ConnectHandler; net_connect = ConnectHandler(**device); print(net_connect.send_command("show ip int brief"))
Details

ssm

Simple SSH manager for organizing server connections

ssm list
Details

bun commands

2 commands

groff commands

2 commands

grolbp

Groff Canon LBP printer driver

groff -Tlbp [file.roff] | lpr -P[printer]
Details

grolj4

Groff HP LaserJet 4 printer driver

groff -Tlj4 [file.roff] | lpr -P[printer]
Details

Package management

1 commands

cutycapt

WebKit web page to image converter

cutycapt --url=[https://example.com] --out=[screenshot.png]
Details

Users and permissions

1 commands

bpython commands

1 commands

bpython

Enhanced interactive Python interpreter

bpython
Details

clisp commands

1 commands

cupsreject commands

1 commands

cupsreject

prevent printer from accepting new jobs

cupsreject [printer_name]
Details

cursor-agent commands

1 commands

cursor

Cursor's AI-powered coding agent for the terminal

cursor-agent
Details

drracket commands

1 commands

drracket

integrated development environment for Racket

drracket
Details

ebook-meta commands

1 commands

fgconsole commands

1 commands

hp-align commands

1 commands

hp-setup commands

1 commands

jq commands

1 commands

jsonlint commands

1 commands

jsonlint

validates and formats JSON files

jsonlint [file.json]
Details

marp commands

1 commands

marp

creates presentations from Markdown

marp [slides.md] -o [slides.html]
Details

pandoc commands

1 commands

pandoc

converts document formats

pandoc [input.md] -o [output.html]
Details

papis commands

1 commands

papis

command-line bibliography manager

papis add [document.pdf]
Details

pbmpage commands

1 commands

pbmpage

generates printer calibration and test pages as PBM images

pbmpage [1] > [output.pbm]
Details

rscript commands

1 commands

rmarkdown

Render R Markdown documents to various formats

Rscript -e "rmarkdown::render('[file.Rmd]')"
Details

xmllint commands

1 commands