11-23-2001
/usr/spool/lp/interface is the directory. The script will have the same name as the printer.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We recently changed the ip address of one of our network printers. The unix box which connects to this printer no longer will print to it.
Please can someone guide me as to how to use the unix system to either change the ip address that the box has for the printer or Re - add the printer with... (1 Reply)
Discussion started by: pgamblin
1 Replies
2. UNIX for Advanced & Expert Users
How do we install a Printer connected directly to network with a private IP of 192.9.168.109 on a SUN system with IP of 192.9.168.2 so that we can use it with the lp command. The printer is a standard Line Matrix Printer. I would like to know how to add it from COMMANDLINE also.
Thanx (3 Replies)
Discussion started by: /etc/passwd
3 Replies
3. Debian
Any ideas what could cause this? I have flow control set to XON XOFF on the printer and the on the OS level. (1 Reply)
Discussion started by: djsal
1 Replies
4. Shell Programming and Scripting
Hi,
Can someone tell me how do I find the list of comptabile codepages on Linux(suse) , Is it /usr/lib/locale or somewhere else ?
I was wandering if someone has expereince in using cycrillic chars (russian) in unix / linux ?
Thanks (2 Replies)
Discussion started by: braindrain
2 Replies
5. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
6. AIX
Guy's
I have installed AIX direct Network printer as the below details....
printer1 hp@printer1 hplj-3 (HP-GL/2)
Printer is printing fain and clearly
but it's printing extra blank page after each print ?
What's the couse of this problem ?
Pls advice ! (6 Replies)
Discussion started by: ITHelper
6 Replies
7. AIX
We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages.
Please let us know the cause of this issue and ways to rectify it.
If this is problem with banner/feeds how to view the default banner... (1 Reply)
Discussion started by: sugan_p
1 Replies
8. Slackware
OS: Slackwar 13.37
Printer: hpDeskjet 1000 j110
Printer Drivers/Software: HPLIP 3.11.3a (min was 3.10.9) and Cups
The printer will print the first of n-pages but from page 2 on it prints the page (or part of it) backs up and starts again down about 0.8 lines and does this repeatedly till the... (2 Replies)
Discussion started by: slak0
2 Replies
9. Shell Programming and Scripting
Hello.
First happy new year to everybody.
I have a script that generate a text file ( /tmp/part_list.txt for example ).
This file can be edited using a kde graphical text editor like kate or kwrite
The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
LPRM(1) General Commands Manual LPRM(1)
NAME
lprm - remove jobs from the line printer spooling queue
SYNOPSIS
lprm [ -Pprinter ] [ - ] [ job # ... ] [ user ... ]
DESCRIPTION
Lprm will remove a job, or jobs, from a printer's spool queue. Since the spooling directory is protected from users, using lprm is nor-
mally the only method by which a user may remove a job.
Lprm without any arguments will delete the currently active job if it is owned by the user who invoked lprm.
If the - flag is specified, lprm will remove all jobs which a user owns. If the super-user employs this flag, the spool queue will be emp-
tied entirely. The owner is determined by the user's login name and host name on the machine where the lpr command was invoked.
Specifying a user's name, or list of user names, will cause lprm to attempt to remove any jobs queued belonging to that user (or users).
This form of invoking lprm is useful only to the super-user.
A user may dequeue an individual job by specifying its job number. This number may be obtained from the lpq(1) program, e.g.
% lpq -l
1st: ken [job #013ucbarpa]
(standard input) 100 bytes
% lprm 13
Lprm will announce the names of any files it removes and is silent if there are no jobs in the queue which match the request list.
Lprm will kill off an active daemon, if necessary, before removing any spooling files. If a daemon is killed, a new one is automatically
restarted upon completion of file removals.
The -P option may be usd to specify the queue associated with a specific printer (otherwise the default printer, or the value of the
PRINTER variable in the environment is used).
FILES
/etc/printcap printer characteristics file
/usr/spool/* spooling directories
/usr/spool/*/lock lock file used to obtain the pid of the current
daemon and the job number of the currently active job
SEE ALSO
lpr(1), lpq(1), lpd(8)
DIAGNOSTICS
``Permission denied" if the user tries to remove files other than his own.
BUGS
Since there are race conditions possible in the update of the lock file, the currently active job may be incorrectly identified.
4.2 Berkeley Distribution October 22, 1996 LPRM(1)