EnglishFrenchSpanish

Ad


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
    Brackets
    Brackets
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    prepr...
    Download Brackets
  • 2
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 3
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 4
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 5
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 6
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • More »

Linux commands

Ad