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, 631 per 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 if GTKLP_FORCEX is not set to 1. πŸͺŸβœ¨

πŸ“ 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: the accept values can be overwritten by the user, the deny values 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 to 1 to force X-Mode for lpr and lp. πŸͺŸ

πŸ”₯ ERROR πŸ”₯

GtkLPQ produces the follwoing Error-Codes:

  • 0 β€” normal program termination. βœ… all good, no notes
  • 1 β€” small error, wrong parameters, etc. πŸ™ˆ tiny oopsie
  • 2 β€” Server Problems, server not found, no default printer found, etc. 😭 the server said no
  • 3 β€” 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


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