lpshut(1M) System Administration Commands lpshut(1M)NAME
lpshut - stop the LP print service
SYNOPSIS
lpshut
DESCRIPTION
The lpshut command stops the LP print service.
Printers that are printing when lpshut is invoked stop printing. Start or restart printers using lpsched(1M).
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/var/spool/lp/* LP print queue.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------------------------------------+
|ATTRIBUTE TYPE ATTRIBUTE VALUE |
|Availability SUNWpsu |
+-----------------------------------------------------------+
SEE ALSO lp(1), lpstat(1), lpadmin(1M), lpmove(1M), lpsched(1M), attributes( 5)
SunOS 5.11 8 Jan 1998 lpshut(1M)
Check Out this Related Man Page
lpshut(1M) System Administration Commands lpshut(1M)NAME
lpshut - stop the LP print service
SYNOPSIS
lpshut
DESCRIPTION
The lpshut command stops the LP print service.
Printers that are printing when lpshut is invoked stop printing. Start or restart printers using lpsched(1M).
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/var/spool/lp/* LP print queue.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWpsu |
+-----------------------------+-----------------------------+
SEE ALSO lp(1), lpstat(1), lpadmin(1M), lpmove(1M), lpsched(1M), attributes( 5)
System Administration Guide: Basic Administration
SunOS 5.10 8 Jan 1998 lpshut(1M)
Hi,
Now I am printing my ps file as follows:
lp -d n40prt0234 $i
where $i is the file name passed in a loop.
I need to change the file's print fonts to "Verdana and the Size = 10"
how to change? (2 Replies)
I can no longer print from HP-UX 10. All the printers are network printers. I have already stopped and restarted the spooler (lpshut and lpsched), but still the same problem. The printers react when I ping them.
I have also tried with SAM, but the system cannot find the printers.
Can somebody... (1 Reply)
Hi all,
In a script I need to print a string:
print "\n";
but i am not able to print the above mentioned string...
Please help.
Regards
Rochit (5 Replies)
Hi
awk '/print/ {print }' format.txt
the above code will search for the argument "print" and displays all the lines which contain "print" from format.txt
i want to print the same but with # as teh beginning
For eg:
format.txt contains
cat dog fire current
print the value of 4
print... (2 Replies)
Hello,
I have a print queue that the jobs are getting stuck in. I've disabled and enabled the queue, lpshut and lpsched the print spooler, and killed a suspected corrupt job. But new requests still get stuck. I can ping the printer by DNS with no problem. What else can I look for? I'm a little... (3 Replies)
Hi guys I'm trying to print average of 2 columns.
awk '{print ($1+$2)/2}' file.txt
Its printing average but not giving decimal values
its giving 3.05521e+08 instead of 305521....
I tried %f to print float values but not quiet connected
Could you help plz:confused: (5 Replies)
Hi,
I'm looking for a clever way to print all columns of a matrix twice using a for loop and NF I think. So instead of
awk -F "," '{print $1 " " $1 " " $2 " " $2...}
I can do something like
awk -F "," '{for (i,i<=NF,i++) (print $i...
So I get something like
A1,A2,A3
B1,B2,B3... (2 Replies)
Hi,
Could someone tell me how to stop SQLPLUS command from printing the connection details in the console.
Below is the lines i get in console when executing the sqlplus...
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 9 03:31:03 2011
Copyright (c) 1982, 2005, Oracle. All rights... (2 Replies)
how do i print $2 amount of " " before i stat something.
so if $2 was 3 then it would print like
" d.txt"
so here there is 3 spaces before the d.txt (3 Replies)
Hi,
lp -c command. can any one tell me please where it copy the file before printing and whether it delete that temp file after printing or not. thanks (3 Replies)
Hello.
The company I work for would like to stop using these big ol' Genicom 4440 printers and create PDFs instead. The cost for maintenance and paper has gotten too high. Ideally whenever someone prints in Unix it will produce a (plain text) file in a folder on a windows server. I believe this... (8 Replies)
I have a system that will not allow me to print from any network printers.
The printers are setup correctly.
I have already used lpshut and lpsched to reset the spooler
I am able to print jobs as long as I go around the spooler.
However, anytime I attempt to send a job through spooler it... (9 Replies)