Sponsored Content
Top Forums UNIX for Dummies Questions & Answers I need to change printer configuration Post 302149459 by tugger on Thursday 6th of December 2007 07:27:20 AM
Old 12-06-2007
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 questions are these:

1) How do I tell if anything is already queued upto these printers?
2) How do I end these printers in a clean state so that IF anything is queued to them then they wont be losed when I restart the printers
3) how do I restart the printer
4) I was going to use vi to make the changes in the above files, however can you recommend the appropriate Unix commands that might do the changes.

By the way I am running Solaris 8

Any help greatly appreciated
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Red Hat

Printer Configuration with comannd line

Does anyone know the command line, instead using GUI (printconf) printer configuration to setup printer queue (4 Replies)
Discussion started by: bugsandbunny
4 Replies

4. 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

5. 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

6. 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

7. 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

8. 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

9. Emergency UNIX and Linux Support

Change printer setting

I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting. Please help. (1 Reply)
Discussion started by: solaris_1977
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
lpstat(1)							    Apple Inc.								 lpstat(1)

NAME
lpstat - print cups status information SYNOPSIS
lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ] DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued by the current user. OPTIONS
The lpstat command supports the following options: -E Forces encryption when connecting to the server. -H Shows the server hostname and port. -R Shows the ranking of print jobs. -U username Specifies an alternate username. -W which-jobs Specifies which jobs to show, completed or not-completed (the default). This option must appear before the -o option and/or any printer names, otherwise the default (not-completed) value will be used in the request to the scheduler. -a [printer(s)] Shows the accepting state of printer queues. If no printers are specified then all printers are listed. -c [class(es)] Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed. -d Shows the current default destination. -h server[:port] Specifies an alternate server. -l Shows a long listing of printers, classes, or jobs. -o [destination(s)] Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown. -p [printer(s)] Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed. -r Shows whether the CUPS server is running. -s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. This is equivalent to using the "-d", "-c", and "-v" options. -t Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-v", "-a", "-p", and "-o" options. -u [user(s)] Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user. -v [printer(s)] Shows the printers and what device they are attached to. If no printers are specified then all printers are listed. COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". Also, printer and class names are not case-sensitive. The "-h", "-E", "-U", and "-W" options are unique to CUPS. The Solaris "-f", "-P", and "-S" options are silently ignored. SEE ALSO
cancel(1), lp(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2013 by Apple Inc. 10 September 2008 CUPS lpstat(1)
All times are GMT -4. The time now is 07:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy