01-22-2010
That might be my problem. Maybe WinDump is catching the incoming traffic but there is no application/service listening so the port isn't open and the source isn't getting a response. Have I got that right?
Hmm, so how do I open a port for listening?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
OS: HP-UX B.11.11 U
Printer: HP 8150.
I require a font to be downloaded to the printer and used.
As documented the steps are:
1. Tell printer to accept font
2. Send the font to the printer
3. Make the font permanent
4. Select font for use
or in PCL
1. <Esc>*c90D
2.... (0 Replies)
Discussion started by: mbb
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i willbe very much grateful to u if u help me out..
if i simply connect pbx machine to printer by serial port RS232 then we find this view:
But i want to capture this data into database automatically when the pbx is running.The table in database will contain similar to this view inthe... (1 Reply)
Discussion started by: boss
1 Replies
3. UNIX for Advanced & Expert Users
Hi All :
I wanted a unix command by which I could be able to print the output to a file and at the same time to a printer. Any help will be greatly appreciated.
Regards,
Ramamurthy Dasari (1 Reply)
Discussion started by: rdasari
1 Replies
4. SCO
I installed an old laser printer using a print server. I can use from windows but not from unix. I set up the printer in unix as a remote printer and can ping the print server from a unix promt. I am thinking that I must open a port to the print server. Any suggestions? (3 Replies)
Discussion started by: owbf
3 Replies
5. Red Hat
I need to setup a HP 4000 PCL printer - it seems out of the box - I can only can use PostScript. Any guidance is appreciated.
In the SCO world - I used HPNP with no problems. (2 Replies)
Discussion started by: markb4
2 Replies
6. UNIX for Dummies Questions & Answers
I've looked around and am able to print landscape to a PCL 5 printer with this command:
lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30
-d <printer> <file>.
Which gives me a nice 200 columns.
But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Discussion started by: tariqjamal
3 Replies
7. Red Hat
Hello all,
I need to setup a print server that listens on three separate network interfaces, and sends jobs to the corresponding print queue. Example:
192.168.69.100 - printer1 -> Out to 139.177.69.100:9100
192.168.69.101 - printer2 -> Out to 139.177.69.101:9100
192.168.69.102 - printer2 ->... (3 Replies)
Discussion started by: ZekesGarage
3 Replies
8. Solaris
Help!
I have to solve an urgent problem!
I have a Solaris 10 server, where I created a line of printing with the command
# /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
Discussion started by: poyato
0 Replies
9. SCO
I am trying to get a network printer to work that currently works from my Unix (5.0.7) server when printing text files only. When I try to print post script files like a PDF file I get all of the controls so I am not sure if I have my printer configuration setup properly in Unix
The printer... (1 Reply)
Discussion started by: ziggy6
1 Replies
10. Emergency UNIX and Linux Support
I am trying to get an output using the command
tcpdump -w /tmp/syn.pcap 'tcp & (tcp-syn) != 0'
But I am getting the error:
tcpdump: no suitable device found
Is there an alternate command to achieve this? (4 Replies)
Discussion started by: ggayathri
4 Replies
OPENLOG(3) 1 OPENLOG(3)
openlog - Open connection to system logger
SYNOPSIS
bool openlog (string $ident, int $option, int $facility)
DESCRIPTION
openlog(3) opens a connection to the system logger for a program.
The use of openlog(3) is optional. It will automatically be called by syslog(3) if necessary, in which case $ident will default to FALSE.
PARAMETERS
o $ident
- The string $ident is added to each message.
o $option
- The $option argument is used to indicate what logging options will be used when generating a log message.
openlog(3) Options
+-----------+---------------------------------------------------+
| Constant | |
| | |
| | Description |
| | |
+-----------+---------------------------------------------------+
| | |
| LOG_CONS | |
| | |
| | if there is an error while sending data to the |
| | system logger, write directly to the system con- |
| | sole |
| | |
| | |
|LOG_NDELAY | |
| | |
| | open the connection to the logger immediately |
| | |
| | |
|LOG_ODELAY | |
| | |
| | (default) delay opening the connection until the |
| | first message is logged |
| | |
| | |
|LOG_PERROR | |
| | |
| | print log message also to standard error |
| | |
| | |
| LOG_PID | |
| | |
| | include PID with each message |
| | |
+-----------+---------------------------------------------------+
You can use one or more of this options. When using multiple options you need to OR them, i.e. to open the connection immediately,
write to the console and include the PID in each message, you will use: LOG_CONS | LOG_NDELAY | LOG_PID
o $facility
- The $facility argument is used to specify what type of program is logging the message. This allows you to specify (in your
machine's syslog configuration) how messages coming from different facilities will be handled.
openlog(3) Facilities
+---------------------------+---------------------------------------------------+
| Constant | |
| | |
| | Description |
| | |
+---------------------------+---------------------------------------------------+
| | |
| LOG_AUTH | |
| | |
| | security/authorization messages (use LOG_AUTH- |
| | PRIV instead in systems where that constant is |
| | defined) |
| | |
| | |
| LOG_AUTHPRIV | |
| | |
| | security/authorization messages (private) |
| | |
| | |
| LOG_CRON | |
| | |
| | clock daemon (cron and at) |
| | |
| | |
| LOG_DAEMON | |
| | |
| | other system daemons |
| | |
| | |
| LOG_KERN | |
| | |
| | kernel messages |
| | |
| | |
|LOG_LOCAL0 ... LOG_LOCAL7 | |
| | |
| | reserved for local use, these are not available |
| | in Windows |
| | |
| | |
| LOG_LPR | |
| | |
| | line printer subsystem |
| | |
| | |
| LOG_MAIL | |
| | |
| | mail subsystem |
| | |
| | |
| LOG_NEWS | |
| | |
| | USENET news subsystem |
| | |
| | |
| LOG_SYSLOG | |
| | |
| | messages generated internally by syslogd |
| | |
| | |
| LOG_USER | |
| | |
| | generic user-level messages |
| | |
| | |
| LOG_UUCP | |
| | |
| | UUCP subsystem |
| | |
+---------------------------+---------------------------------------------------+
Note
LOG_USER is the only valid log type under Windows operating systems
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
syslog(3), closelog(3).
PHP Documentation Group OPENLOG(3)