Sponsored Content
Operating Systems Linux Red Hat Printer Configuration with comannd line Post 302148055 by bugsandbunny on Thursday 29th of November 2007 03:54:27 PM
Old 11-29-2007
Printer Configuration with comannd line

Does anyone know the command line, instead using GUI (printconf) printer configuration to setup printer queue
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

line printer log

Hi there I'm working with HP/UX I have found a line printer log file in /var/adm/lp. this file contains the print process, the User, the Printer, and date/time. My question is , where can i make a change so that this file includes the name of the file that is sent to the printer? Could anyone... (1 Reply)
Discussion started by: vascobrito
1 Replies

2. Linux

printer configuration

RH 7.2 I am able to configure a parallel printer using printconf-gui...but is there any way to automate this through the command line? Through printconf-gui I configure it as a local printer, I gave it an arbitrary queue name of epson-fx-880, device is /dev/lp0, & it's a text-only printer. ... (0 Replies)
Discussion started by: jalburger
0 Replies

3. AIX

copy printer configuration to another machine

All, I have just entered over 70 printers in my AIX 5.3 machine. I have to get those same printers onto another machine and I really don't want to do it manually again. Is there a way to copy the information over to that machine? Thanks in advance. (1 Reply)
Discussion started by: kjbaumann
1 Replies

4. UNIX for Dummies Questions & Answers

I need to change printer configuration

We have several Printers that are pointing to a print server that is now defunct. I need to point these printers to the new print server. I am aware I need to change the configuration in /usr/spool/lp/admins/lp/printers/printername/configuration as well as in /etc/printers.conf. However my... (0 Replies)
Discussion started by: tugger
0 Replies

5. SuSE

open SUSE 11.0 and its printer configuration

Does anybody who uses open SUSE 11.0? I have used open SUSE 10.2 for about 18 months. Today I installed open SUSE 11.0 The printer does not work. I tried all the tricks tweak it. My printer is an old one. It is HP Deskjet 5600 series. It works fine. I did the configuration using... (0 Replies)
Discussion started by: Angelo
0 Replies

6. SCO

printer configuration

Dear all i have install printer in sco open 5 , i m not getting print out , but printing is showing in que plz help (7 Replies)
Discussion started by: sudhir69
7 Replies

7. SCO

additional printer port configuration in winxware 7

Dear Sir, How can install additional pci lpt card (parallel port) I want to install second dmp printer in unixware 7 server thanks n regards (2 Replies)
Discussion started by: sudhir69
2 Replies

8. UNIX for Dummies Questions & Answers

SCO Printer configuration file

Hello, I am working on Servers running SCO OpenServer 5 and I tend to setup a lot of Servers. I am wondering if mkdev -lp to create printers has a file that I can just copy and paste from an exisiting Server to a new (upgrade) server. I can do this with the hosts and resolv.conf files. ... (1 Reply)
Discussion started by: ewerezak
1 Replies

9. SCO

LPD PRINTER CONFIGURATION

Dear All, I have configured a printer on a unix box to be printing on windows xp printer. Below are the steps followed:- Create the printer on the Windows XP box and share it as prt5 Enable unix printer services on windows XP box On unix box i make changes on hosts,hosts.equiv and .rhosts... (1 Reply)
Discussion started by: njoroge
1 Replies

10. AIX

Printer configuration

We are moving production from a 6.1 AIX server to a cluster 7.1 servers. I am asked to set up the printers exactly the way it was on 6.1.server. How do i copy the printer configurations? Will copying /etc/qconfig file work? Please help me. thanks in advance! (2 Replies)
Discussion started by: ElizabethPJ
2 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 09:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy