gtklpq(1)
π NAME π
gtklpq β manage print queues via CUPS. That's it, that's the whole job description, and honestly? She ate. π¨οΈβ¨
This is the gtklpq(1) page, so buckle up bestie, we're going through every single flag. No cap. π
πΈ SYNOPSIS πΈ
gtklpq [-P|-d printer] [-S server] [-p port] [-D] [-V] [-U user] [-t
timeout] [-g XxY] [-C] [-h] [-E]
lpq [-P|-d printer] [-S server] [-p port] [-D] [-V] [-U user] [-t
timeout] [-E]
lprm [-P|-d printer] [-S server] [-p port] [-D] [-V] [-U user] [-E] [-]
[job ID(s)]
reject [-h server] [-p port] [-D] [-V] [-U user] [-E] [-r reason]
[destination(s)]
accept [-h server] [-p port] [-D] [-V] [-U user] [-E] [-r reason]
[destination(s)]
disable [-h server] [-c] [-p port] [-D] [-V] [-U user] [-E] [-r reason]
[destination(s)]
enable [-h server] [-p port] [-D] [-V] [-U user] [-E] [-r reason]
[destination(s)]
Seven whole identities. She's versatile like that. π¦
π DESCRIPTION π
GtkLPQ is a graphical frontend for CUPS, the Common UNIX Printing System. It's used to manage CUPS-Printqueues. That's the mission, periodt. π«Ά
Depending on what name you call her by, you get a whole different girl:
GtkLPQβ Graphical Frontend β¨lpqβ Show print queue πlprmβ Remove jobs ποΈdisable/enableβ Disable/enable printer π«βreject/acceptβ Reject/Accept printjobs for this printer π βοΈπ
And for the lore: GtkLPQ is part of the GtkLP-package. Iykyk. π
β¨ OPTIONS β¨
These are the options recognized by gtklpq, and yes we are listing all of them because nobody gets left behind. π
-P printerβ Use printer as default destination. π―-d printerβ This option is equivalent to-P. Same energy, different letter. π-S serverβ The name of the CUPS-Server. π-p portβ The port of CUPS-Server,631per default. π-Dβ Debug. π (she's telling you everything, bestie)-Vβ Displays the version of GtkLPQ. π-U userβ The name of the cups-User to use. πβοΈ-t timeoutβ The intervall in seconds between two queue-updates. β±οΈ-g XxYβ Pop up GtkLPQ at position (X,Y). π-hβ Help. π-Cβ Force console-mode. π»-Eβ Forces encryption when connecting to the server. π
π¦ If called as lpq π¦
The following options differ from GtkLPQ`s options:
-Xβ Force X-Mode, even ifGTKLP_FORCEXis not set to1. πͺβ¨
π If called as lprm π
The following options differ from GtkLPQ`s options:
-β Cancel all jobs. π (dramatic but correct)
Also: without any given jobs, lprm removes the current job. Just so you know. πΈ
π§ If called as disable π§
The following options differ from GtkLPQ`s options:
-cβ Cancel all jobs. ποΈπ₯-r reasonβ Give an reason, why you do so. π
π If called as reject π
The following options differ from GtkLPQ`s options:
-r reasonβ Give an reason, why you do so. π
π PATHS π
Okay so if you wanna hide printers from users, these are the pathes you use:
/etc/gtklp/accept/
/etc/gtklp/deny/
$HOME/.gtklp/
Here's the vibe: just put an empty file with the name of the printer the user should see by default into accept, and put an empty file with the name of the printer the user should never see into deny.
Heads up bestie: theacceptvalues can be overwritten by the user, thedenyvalues can't. Deny is the final boss. π
β SPECIAL β
If you can`t connect to an X-Server, GtkLPQ acts as console-lpq. She adapts. Main character energy. π
And if called as lpq, enable, disable, accept, or reject, GtkLPQ acts on console like these tools and has some other command-line parameters β see above. πβ¨
πΈ VARIABLES πΈ
You can set the following environment variables to influence the behaviour of GtkLPQ:
CUPS_SERVERβ The default CUPS-server to connect to. πIPP_PORTβ The default Port of the CUPS-server to connect to. πPRINTERβ The default printer to use. π¨οΈGTKLP_FORCEXβ Set to1to force X-Mode forlprandlp. πͺ
π₯ ERROR π₯
GtkLPQ produces the follwoing Error-Codes:
0β normal program termination. β all good, no notes1β small error, wrong parameters, etc. π tiny oopsie2β Server Problems, server not found, no default printer found, etc. π the server said no3β BAD error. Fields declared too short, too many printers, etc. π yeah this one's rough
π SEE ALSO π
gtklp(1), lprm(1), lp(1), CUPS Software Users Manual http://localhost:631/documentation.html
π COPYRIGHT π
This program was written by T. Mueller, 2000, 2001, 2002.
It is licensed under the Terms of the GNU GENERAL PUBLIC LICENSE, see also http://www.gnu.org. π«Ά
π CONTACT π
The latest version of GtkLPQ is always available under http://gtklp.sourceforge.net/
It is part of the GtkLP-package. Feel also free to contact me. And please mail also, if you like the software !!! ;-) πβ¨
that's the whole page bestie, you're officially a print queue girlie now π
Written by Tobias Mueller, and this is the gtklpq(1) manual page β go forth and slay those queues. π¨οΈππ
π¦ where this page comes from
- debian bookworm: gtklp 1.3.4-3+b1
- debian trixie: gtklp 1.3.4-3+b2
- nixos 26.05: gtklp 1.3.4
- ubuntu jammy: gtklp 1.3.4-1
- ubuntu noble: gtklp 1.3.4-3build3
- ubuntu questing: gtklp 1.3.4-3build3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms