lpc(8) Apple Inc. lpc(8)NAME
lpc - line printer control program
SYNOPSIS
lpc [ command [ parameter(s) ] ]
DESCRIPTION
lpc provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues.
If no command is specified on the command-line, lpc displays a prompt and accepts commands from the standard input.
COMMANDS
The lpc program accepts a subset of commands accepted by the Berkeley lpc program of the same name:
exit Exits the command interpreter.
help [command]
? [command]
Displays a short help message.
quit Exits the command interpreter.
status [queue]
Displays the status of one or more printer or class queues.
NOTES
Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by
CUPS. To configure printer or class queues you must use the lpadmin(8) command or another CUPS-compatible client with that functionality.
SEE ALSO cancel(1), cupsaccept(8), cupsenable(8), lp(1), lpadmin(8), lpr(1), lprm(1), lpstat(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
11 June 2014 CUPS lpc(8)
Check Out this Related Man Page
lpc(8) Apple Inc. lpc(8)NAME
lpc - line printer control program
SYNOPSIS
lpc [ command [ parameter(s) ] ]
DESCRIPTION
lpc provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues.
If no command is specified on the command-line, lpc will display a prompt and accept commands from the standard input.
COMMANDS
The lpc program accepts a subset of commands accepted by the Berkeley lpc program of the same name:
exit
Exits the command interpreter.
help [command]
? [command]
Displays a short help message.
quit
Exits the command interpreter.
status [queue]
Displays the status of one or more printer or class queues.
LIMITATIONS
Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by
CUPS. To configure printer or class queues you must use the lpadmin(8) command or another CUPS-compatible client with that functionality.
COMPATIBILITY
The CUPS version of lpc does not implement all of the standard Berkeley or LPRng commands.
SEE ALSO cancel(1), cupsaccept(8), cupsenable(8), lp(1), lpr(1), lprm(1), lpstat(1),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
3 November 2008 CUPS lpc(8)
I am writing a C program that part of the idea is to using a command line parameter to control not to run certain part of the sub program.
I am totally new to C, I do not have any idea how to pass a command line arguments from a C program.
Can anyone help ?!
Thanks (3 Replies)
Hi all,
I've been trying for hours to figure out how to turn my 2-program (one to send and one to receive) "chat system" using message queues, into a single program where each concurrent component (entity) will both send and receive messages. PLEASE give me a hand with this, I'm starting to... (9 Replies)
Hi all,
I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address.
The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although... (3 Replies)
Hi,
I need some help with installing and configuring a printer via command line as the scoadmin menu system doesnt work fully.
So I was wondering how i can install and configure a printer purely from command line editing relevant files.
It would be great if someone can help me out.
... (7 Replies)
Hello,
I want to install an Hp Laserjet 2015dn on SCO OpenServeur5 without CUPS.
This printer doesn't have an PrinterServer inside.
The configuration work fine, but i can't print anything.
I heart solution with netcat but i can't find any docs...
How should i configure netcat and my... (3 Replies)
Hi,
I tried to migrate a server, I installed AIX on a new server and I want to configure the printer queues. I copied all of files from the old server where the printer queues are working fine. I followed these steps:
1. copy the /etc/qconfig (make a copy of the original before)
2. Copy the... (10 Replies)
Hello,
I have a problem to install a network printer with lpadmin.
(i must be install with lpadmin)
I have a network printer samsung CLP-310.
The network adress is static : 192.168.1.219
For LPD - printing is port number 515
thats what i have done.
ping 192.168.1.219
192.168.1.219 is... (6 Replies)
Hi,
When i type formail command , i get an error "command not found".
How to configure this command so that this command works in my machine.
Kindly suggest me.
Thanks in advance (3 Replies)
Hi,
I am a newbie to scripting. I want to know something..Is there any way that I can do this?
Here is the thing.. there are so many printer queues in which i need to change a certain option.. am using the hppi utility and i need to modify the printer configuration individually going to each... (3 Replies)
I posted the below question on the CUPS forums yesterday and have still not been able to find a good answer of why or if I can keep this from happening.
I have been looking for a while now and have still not found what I am looking for. Is there a way to allow multiple users to be updating the... (13 Replies)
the problem i encountered is that lpadmin when encounters a failure doesn't cleanup properly .so the next time i use the same printer name it doesn't allow me to do so .saying interface directory can't be created .what can be done to solve this out ?please help .. (3 Replies)
Good afternoon. :)
I'm rather new to bash scripting, and have probably bitten off a bit more than I can chew to be honest, but I work in a service desk-like environment where one of the main complaints is that it takes our staff a long time to set up network printers on our clients' servers.... (3 Replies)
I'm learning Unix - and have installed OpenSolaris 11 under VMWare running on Ubuntu. My challenge now is to get printing working. Used CUPS to install the HP printer and driver... but it won't print. The status display is
Unable to open device file "/dev/cua/a": Permission denied
Assistance... (8 Replies)