12-04-2008
You have not provided sufficient information to permit anybody to help you. You need to at least provide details of your OS and OS version, whether it is a local or remote print job, what print management mechanism you are using (CUPS, lpd, etc.) and what print command you are invoking.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi..
I want to add a line of data to a already existing file..
When i use
echo "1i\nGROUP_NAME,JOB_NAME,STATUS,PROCESS_GROUP,JOB_START,JOB_END \n.\nwq" | ex -s abc.txt
where abc.txt contains only
Hello
Testing
Insert
I am getting this..
dumb: Unknown terminal type
ksh: 19464... (4 Replies)
Discussion started by: charan81
4 Replies
2. Shell Programming and Scripting
I am trying to grep for filenames containing a specific value within a particular segment. The lines containing the segment I'm looking through reads like "HL^1^^1^1", "10^9^9^0", and "HL^11^4^8^1". I would like to find the data that contains only the number nine after the third caret where the... (4 Replies)
Discussion started by: HLee1981
4 Replies
3. Shell Programming and Scripting
Hi,
I just stuckup in doing some regular expressions on a file.
I have data which has multiple FHS and BTS segments like:
FHS|12121|LOCAL|2323
MSH|10101|POTAMAS|2323
PID|121221|THOMAS|DAVID|23432
OBX|2342|H1211|3232
BTS|0000|MERSTO|LIABLE
FHS|12121|LOCAL|2323
MSH|10101|POTAMAS|2323... (3 Replies)
Discussion started by: naren_0101bits
3 Replies
4. Shell Programming and Scripting
Greeting to all.
I have big text file that I would like to segment into many smaller files. Each file should be maximum 10 000 lines.
The file is called time.txt. after the execution of the file I would like to have.
time_01.txt, time_02, txt, ...,time_n.txt
Can anybody help.
Br. (2 Replies)
Discussion started by: flash80
2 Replies
5. Programming
Hi,
Whether the following piece of code is placed in the read-only memory of code (text) segment or data segment?
char *a = "Hello";
I am getting two different answers while searching in google :( that's why the confusion is (7 Replies)
Discussion started by: royalibrahim
7 Replies
6. Shell Programming and Scripting
Hi All,
we are doing automation for installation of oracle,
a) ORACLE_HOME_NAME
b) ORACLE_HOME
above are the argument we need to pass during the script execution, while doing this someone issue the value like
ORACLE_HOME=/optware/oracle/11g;rm -rf /optware/oracle/10g
its removing... (1 Reply)
Discussion started by: kamauv234
1 Replies
7. HP-UX
We are moving from a 32 Bit PA-RISC processor to 64 Bit Itanium processor based System.
I am aware that 64 Bit processor allows for memory (RAM) addressibility beyond the 4 GB memory (RAM) limit imposed by a 32 bit processor
I have been asked to prove that the new systems are capable of... (6 Replies)
Discussion started by: allanbm
6 Replies
8. Shell Programming and Scripting
Hello All,
Hope all are doing well.
We use scp (some times sftp and rsync also) for transferring big files (around 2GB each ) from 1 Network to another Network.
The Issues which we face :-
During transfer some times( Once in 1 week (or twice)) , the speed of transfer gets down to 30 kb/s,... (2 Replies)
Discussion started by: Upendra Bhushan
2 Replies
9. Shell Programming and Scripting
Hi All,
I have to pick particular segments from a file and I have prepared below shell script.But its not working and I am not able to find out whats the issue.could you guys pls help?
Sample file:
TS3*1451575*12*20151231*4*482.44
NM1*QC*1*CUTLER*BETTY
DTM*472*20150808... (4 Replies)
Discussion started by: Venkata Prasad
4 Replies
LEARN ABOUT SUSE
cups-lpd
cups-lpd(8) Apple Inc. cups-lpd(8)
NAME
cups-lpd - receive print jobs and report printer status to lpd clients
SYNOPSIS
cups-lpd [ -h hostname[:port] ] [ -n ] [ -o option=value ]
DESCRIPTION
cups-lpd is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. cups-lpd does
not act as a standalone network daemon but instead operates using the Internet "super-server" inetd(8) or xinetd(8). If you are using
inetd, add the following line to the inetd.conf file to enable the cups-lpd mini-server:
printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd
-o document-format=application/octet-stream
Note: If you are using Solaris 10 or higher, you must run the inetdconv(1m) program to register the changes to the inetd.conf file.
If you are using the newer xinetd(8) daemon, create a file named /etc/xinetd.d/cups containing the following lines:
service printer
{
socket_type = stream
protocol = tcp
wait = no
user = lp
group = sys
passenv =
server = /usr/lib/cups/daemon/cups-lpd
server_args = -o document-format=application/octet-stream
}
OPTIONS
-h hostname[:port]
Sets the CUPS server (and port) to use.
-n
Disables reverse address lookups; normally cups-lpd will try to discover the hostname of the client via a reverse DNS lookup.
-o name=value
Inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print jobs are filtered as
needed for printing; the examples in the previous section set the "document-format" option to "application/octet-stream" which forces
autodetection of the print file format.
PERFORMANCE
cups-lpd performs well with small numbers of clients and printers. However, since a new process is created for each connection and since
each process must query the printing system before each job submission, it does not scale to larger configurations. We highly recommend
that large configurations use the native IPP support provided by CUPS instead.
SECURITY
cups-lpd currently does not perform any access control based on the settings in cupsd.conf(5) or in the hosts.allow(5) or hosts.deny(5)
files used by TCP wrappers. Therefore, running cups-lpd on your server will allow any computer on your network (and perhaps the entire
Internet) to print to your server.
While xinetd has built-in access control support, you should use the TCP wrappers package with inetd to limit access to only those comput-
ers that should be able to print through your server.
cups-lpd is not enabled by the standard CUPS distribution. Please consult with your operating system vendor to determine whether it is
enabled on your system.
COMPATIBILITY
cups-lpd does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from
submitting print jobs. While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client
operations.
The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this
definition, remote status reporting to LPD clients may be unreliable.
SEE ALSO
cups(1), cupsd(8), inetconv(1m), inetd(8), xinetd(8),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2009 by Apple Inc.
4 August 2008 CUPS cups-lpd(8)