EnglishFrenchSpanish

OnWorks favicon

gtklpq - Online in the Cloud

Run gtklpq in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gtklpq that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gtklpq - manage print queues via CUPS

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)]

DESCRIPTION


GtkLPQ is an graphical frontend for CUPS, the Common UNIX Printing System.
It is used to manage CUPS-Printqueues.

GtkLPQ
Graphical Frontend

lpq
Show print queue

lprm
Remove jobs

disable/enable
Disable/enable printer

reject/accept
Reject/Accept printjobs for this printer

GtkLPQ is part of the GtkLP-package.

OPTIONS


The following options are recognized by gtklpq:

-P printer
Use printer as default destination.

-d printer
This option is equivalent to "-P".

-S server
The name of the CUPS-Server.

-p port
The port of CUPS-Server, 631 per default.

-D
Debug.

-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

Without any given jobs, lprm removes the current job.

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


To hide Printers from users, use the following pathes:
/etc/gtklp/accept/
/etc/gtklp/deny/
$HOME/.gtklp/

Just put an empty file with the name of the printer the user should see by default to
accept, put an empty file with the name of the printer the user should never see to deny.
The accept values can be overwritten by the user, the deny values can't.

SPECIAL


If you can`t connect to an X-Server, GtkLPQ acts as console-lpq.

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

1 small error, wrong parameters, etc.

2 Server Problems, server not found, no default printer found, etc.

3 BAD error. Fields declared too short, too many printers, etc.

Use gtklpq online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad