11-02-2018
jgt:
1. Do you have netcat or if binary is available? .... "netcat: Command not found." and no I do not know if any binary's are available.
2. Could stop print service and manually edit? .... I kind of was looking for an automated process to determine what would print and what would get "dumped"
3. Unix release and binary compatible? .... Compaq Tru64 UNIX V5.1B (Rev. 2650) and I believe it is binary compatible (it has samba) but that may not be 100% accurate
gull04:
1. There is no GUI anywhere that I can find. It does not even seem to have xwindows. I am basically 100% CLI.
2. Yes, lpadmin is available to me.
3. Setup class for the printer....??? sorry, way over my head... please explain in more detail if you want me to follow
4. Modify filter file... Yeah, that was kind of what I was hoping to do. Copy and modify current filter file with something that would block print jobs that did not start with Manual.
5. Absolutely no worries about being a little rusty.... I have no experience at all and this is soooo ancient I had many problems finding any information at all on it. Any help you can offer or light you can shed is more than greatly appreciated.
FYI: This machine is currently being used in a production environment so any changes made need to be small and minor with little impact to the system.
Last edited by Ken_Snauffer; 11-02-2018 at 12:31 PM..
5 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I registered a printer hp123 on Sun Solaris Server.
I think my printer is expecting a carriage return and linefeed combination at the end of each line (DOS standard), but unix files only have linefeeds at the end of each line.
How can I configure the lp system to filter files passed to it?... (1 Reply)
Discussion started by: simt
1 Replies
2. AIX
Hello..
Plz, Any one can help me ?
when I execute a printing system with the command lp -d<name of printer>, no result with all printers.
I have verified the three processes : qdaemon, lpd, writesrv (No problem).
thank's (0 Replies)
Discussion started by: okbainf
0 Replies
3. Shell Programming and Scripting
I have a problem with the following skript in awk.
cat runde.txt |awk '{
if ($5==2) {
dataname_v=$1 "_" $4 "_adjust.rad
befehl1="gensurf seitenwand... (17 Replies)
Discussion started by: ergy1983
17 Replies
4. Solaris
Hello folks,
I'm currently working on migration of printing system from one server to another (namely from Sol 9 to Sol 10).
I would like ask if is possible to manage migration via simple copying /etc/printers.conf file and folder /etc/lp to the new server??? I'm not sure if printers... (2 Replies)
Discussion started by: brusell
2 Replies
5. Shell Programming and Scripting
I have a file contains data with non-printing characters. i have used cat -v filename to display whole data with non-printing characters also.
However, i need lines with non-printing characters into seperate file. My file is huge and looks like i have to manully find lines using cat -v filename |... (3 Replies)
Discussion started by: JSKOBS
3 Replies
LEARN ABOUT REDHAT
lpsched
lpsched(1M) System Administration Commands lpsched(1M)
NAME
lpsched - start the LP print service
SYNOPSIS
lpsched [-f num_filters] [-n num_notifiers] [-p fd_limit] [-r reserved_fds]
DESCRIPTION
The lpsched command starts or restarts the LP print service.
The lpshut command stops the LP print service. Printers that are restarted using lpsched reprint (in their entirety) print requests that
were stopped by lpshut. See lpshut(1M).
It is recommended that you start and stop the LP print service using svcadm(1M). See NOTES.
OPTIONS
The following options are supported:
-f num_filters Specifies the number of concurrent slow filters that may be run on a print server. A default value of 1 is used if
none is specified. Depending on server configuration, a value of 1 may cause printers to remain idle while there
are jobs queued to them.
-n num_notifiers Specifies the number of concurrent notification processes that can run on a print server. A default value of 1 is
used when none is specified.
-p fd_limit Specifies the file descriptor resource limit for the lpsched process. A default value of 4096 is used if none is
specified. On extremely large and active print servers, it may be necessary to increase this value.
-r reserved_fds Specifies the number of file descriptors that the scheduler reserves for internal communications under heavy load.
A default value of 2 is used when none is specified. It should not be necessary to modify this value unless
instructed to do so when troubleshooting problems under high load.
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), svcs(1), lpstat(1), lpadmin(1M), lpmove(1M), lpshut(1M), svcadm(1M), attributes(5), smf(5)
System Administration Guide: Basic Administration
NOTES
The lpsched service is managed by the service management facility, smf(5), under the service identifier:
svc:/application/print/server
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.10 3 Sep 2004 lpsched(1M)