Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lpc(8) [suse 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-2009 by Apple Inc. 3 November 2008 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-2013 by Apple Inc. 3 November 2008 CUPS lpc(8)
Man Page

15 More Discussions You Might Find Interesting

1. Solaris

configuring printer using lpadmin

Can some one tell me how to configure the printer on solaris printer name = A printer server address : 172.21.19.6 (3 Replies)
Discussion started by: krishan
3 Replies

2. Programming

Message queues

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)
Discussion started by: mgchato
9 Replies

3. UNIX for Dummies Questions & Answers

Help SCO printer install via command line

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)
Discussion started by: dregnet
7 Replies

4. UNIX for Dummies Questions & Answers

[OpenServer 5]Line Printing and Hp laserjet 2015dn

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)
Discussion started by: tankd
3 Replies

5. UNIX for Advanced & Expert Users

Scheduler program

Hi, what i need to do is build my own scheduler program. I am supposed to display my own prompt. at this prompt i accept a command in the following format. ls -l start 0:0:10:10 period 10 end 0:0:0:10 now this command should be executed in the background starting at 10 mins and 10 secs... (2 Replies)
Discussion started by: p_aishwarya
2 Replies

6. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

7. AIX

lpstat issues

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)
Discussion started by: imad77
10 Replies

8. Shell Programming and Scripting

How to configure Formail command

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)
Discussion started by: krishna_gnv
3 Replies

9. AIX

Retrieving printer queue properties

Hi everyone! I've been stuck with a job I'm struggling with. A while back we loaded a large number of printer queues into our AIX environment through smit. Since then some of the details have gone astray, including full details on the older printer queues. I need to gather together details on... (2 Replies)
Discussion started by: aoverbury
2 Replies

10. Shell Programming and Scripting

Giving Input in a script

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)
Discussion started by: aksijain
3 Replies

11. Red Hat

CUPS + passwd.md5 issue

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)
Discussion started by: linuxn00b
13 Replies

12. UNIX for Dummies Questions & Answers

Help with script to automate CUPS printer installs

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)
Discussion started by: aperfecthalo
3 Replies

13. OS X (Apple)

CUPS file modified causing trouble

I have modified the CUPS file - (deleted the Pause Printer part ) and now I cannot access anything under localhost:631, or printer settings through System preferences. They just keep freezing and there is no way I can get back to edit the config file. Any suggestions? thank you... (2 Replies)
Discussion started by: Ladybird
2 Replies

14. UNIX for Dummies Questions & Answers

Adding a printer to openSolaris 11

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)
Discussion started by: stansaraczewski
8 Replies

15. Red Hat

How to setup printer queues for multiple-trays?

Dear Redhat Linux Gurus, I need to setup RedHat linux printer queues that can print to certain multiple trays on HP LaserJet in general, particulary on the following models: HP LaserJet 600 M601, HP LaserJet 2420dn, HP LaserJet 4000dn The command syntax used to setup these printer queues is as... (3 Replies)
Discussion started by: gjackson123
3 Replies