Sponsored Content
Full Discussion: adding printer in unix
Top Forums UNIX for Dummies Questions & Answers adding printer in unix Post 507 by Neo on Thursday 7th of December 2000 12:40:04 PM
Old 12-07-2000
printcap - printer capability data base

The Printcap function is a simplified version of the termcap(5) data base used to describe line printers. The spooling system accesses the printcap file every time it is used, allowing dynamic addition and deletion of printers. Each entry in the data base is used to describe one printer. This data base may not be substituted for, as is possible for termcap, because it may allow accounting to be bypassed.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding a network printer

I recently added an HP deskjet printer to our Solaris network. I deleted the old printer which this one is replacing. I did everything in Printer Admin. I could think of. The problem now is that when I go to print something out of Star Office, my new printer is not a valid choice from the drop... (3 Replies)
Discussion started by: awells
3 Replies

2. UNIX for Dummies Questions & Answers

Adding a Printer

Could someone please tell me how to add a printer to UNIX, I've got all the detail but are not sure how to do it ... (1 Reply)
Discussion started by: kuselo
1 Replies

3. HP-UX

Help adding a printer queue

Hello, I need some help on the following issue: Need to have a printer queue added to the "sssssss" server.The IP address is "xxx.xxx.xxx.xxx". It is an HP8000 printer. Can you please point me to the right direction. Thank you (0 Replies)
Discussion started by: AQG
0 Replies

4. AIX

Adding New HP Printer Drivers

I am using AIX ver 5.2 and would like to add an hp3050 printer, which is not one of the printers listed on our system in the add a new print queue section of smit. I thought that I had found the correct driver on the hp website, but now it appears as that may only be for hp or solaris systems. ... (1 Reply)
Discussion started by: DavidG9975
1 Replies

5. UNIX for Advanced & Expert Users

HP-UX adding printer

When adding a remote printer to my HP-UX system, it creates a file in /var/spool/lp/sinterface/printer-name inside it has #!/usr/bin/sh # /* @(#)B.11.11_LR */ # This model is for remote status operation. /usr/sbin/rlpstat $* Is there a way when I add this printer to have the... (1 Reply)
Discussion started by: nixie21
1 Replies

6. AIX

Adding Dotmatrix Printer on AIX

Hello, How can I add epson printer LQ 2180 on AIX. I tried searching for AIX Drivers on EPSON LQ 2180 webpage but did't find any. Anyone know how can I add a dotmatrix printer on AIX ? (1 Reply)
Discussion started by: filosophizer
1 Replies

7. UNIX for Advanced & Expert Users

need help adding network printer on SVR4

We have a very old and unsupported box. It runs DC/OSx, SVR4. For the past 12 years all printers have been connected via terminal servers and working well. Now those terminal servers are dying and cannot be replaced or repaired. Of course the right solution is to upgrade, but that's not gonna... (10 Replies)
Discussion started by: jbcamel
10 Replies

8. 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
LPC(8)							      System Manager's Manual							    LPC(8)

NAME
lpc - line printer control program SYNOPSIS
/usr/sbin/lpc [ command [ argument ... ] ] DESCRIPTION
Lpc is used by the system administrator to control the operation of the line printer system. For each line printer configured in /etc/printcap, lpc may be used to: o disable or enable a printer, o disable or enable a printer's spooling queue, o rearrange the order of jobs in a spooling queue, o find the status of printers, and their associated spooling queues and printer dameons. Without any arguments, lpc will prompt for commands from the standard input. If arguments are supplied, lpc interprets the first argument as a command and the remaining arguments as parameters to the command. The standard input may be redirected causing lpc to read commands from file. Commands may be abreviated; the following is the list of recognized commands. ? [ command ... ] help [ command ... ] Print a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized commands. abort { all | printer ... } Terminate an active spooling daemon on the local host immediately and then disable printing (preventing new daemons from being started by lpr) for the specified printers. clean { all | printer ... } Remove any temporary files, data files, and control files that cannot be printed (i.e., do not form a complete printer job) from the specified printer queue(s) on the local machine. disable { all | printer ... } Turn the specified printer queues off. This prevents new printer jobs from being entered into the queue by lpr. down { all | printer } message ... Turn the specified printer queue off, disable printing and put message in the printer status file. The message doesn't need to be quoted, the remaining arguments are treated like echo(1). This is normally used to take a printer down and let others know why (lpq will indicate the printer is down and print the status message). enable { all | printer ... } Enable spooling on the local queue for the listed printers. This will allow lpr to put new jobs in the spool queue. exit quit Exit from lpc. restart { all | printer ... } Attempt to start a new printer daemon. This is useful when some abnormal condition causes the daemon to die unexpectedly leaving jobs in the queue. Lpq will report that there is no daemon present when this condition occurs. If the user is the super-user, try to abort the current daemon first (i.e., kill and restart a stuck daemon). start { all | printer ... } Enable printing and start a spooling daemon for the listed printers. status { all | printer ... } Display the status of daemons and queues on the local machine. stop { all | printer ... } Stop a spooling daemon after the current job completes and disable printing. topq printer [ jobnum ... ] [ user ... ] Place the jobs in the order listed at the top of the printer queue. up { all | printer ... } Enable everything and start a new printer daemon. Undoes the effects of down. FILES
/etc/printcap printer description file /usr/spool/* spool directories /usr/spool/*/lock lock file for queue control SEE ALSO
lpd(8), lpr(1), lpq(1), lprm(1), printcap(5) DIAGNOSTICS
?Ambiguous command abreviation matches more than one command ?Invalid command no match was found ?Privileged command command can be executed by root only 4.2 Berkeley Distribution November 1, 1996 LPC(8)
All times are GMT -4. The time now is 10:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy