Sponsored Content
Full Discussion: problem with network printer
Operating Systems SCO problem with network printer Post 302440488 by jgt on Tuesday 27th of July 2010 10:40:46 AM
Old 07-27-2010
Can you post the following:
Operating System release.
Output of 'lpstat -t'
Output of 'ls -l /usr/spool/lp/admins/lp/interfaces'

Can you check if there is email from the lp process for either root or the user.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network Printer

Hello, In our company hp network printer 4050n configured on windows nt 4.0. We can able to print from a windows 2000 professional and windows 95,98 machines. And we have redhat linux 6.2 server also. Is it possible to configure network printer to print from a linux server. Can i know the steps... (4 Replies)
Discussion started by: bache_gowda
4 Replies

2. UNIX for Dummies Questions & Answers

Adding a network printer

I recently added an HP deskjet printer to our Solaris network. I deleted the old printer which this one is replacing. I did everything in Printer Admin. I could think of. The problem now is that when I go to print something out of Star Office, my new printer is not a valid choice from the drop... (3 Replies)
Discussion started by: awells
3 Replies

3. UNIX for Dummies Questions & Answers

Network Printer Problem-help

Hello am asking for your help on printer issues. i wanted to change the current printer we have now, basically bec we needed a more durable one. so recently i have a product demo, but its driver is not present in UNIX. i will be using the same network printer name but different model.... (0 Replies)
Discussion started by: lancemendioro
0 Replies

4. SCO

Network Printer

Have been setting up HP network printers for quite sometime on SCO open server 3, 5.04 - 5.07. Purchased a new HP 1320n. It has JetDirect Built in. After configuring the Jet Direct, I Try to run the SCO HP Network Software trying to send PostScript or the HP-GL/2 file, they will not print. The... (2 Replies)
Discussion started by: Zanny
2 Replies

5. UNIX for Dummies Questions & Answers

Network Printer Problem

I am using network printer through ip address. when you check with lpstat it says, "Waiting for <printer name> to come up. other network printers working. this also work before. but now not working. scheduler & accept print jobs working. wht could be the problem (1 Reply)
Discussion started by: ajantha
1 Replies

6. AIX

network printer problem

I have AIX 5.3 OS. After issuing the print command, the printer state immediately goes down. I have checked the /etc/qconfig flle, resatrted the qdaemon but again same problem is occuring. I am using HP 5100 connected to jetdirect. what is the problem and it's solution? (4 Replies)
Discussion started by: prashantchavan
4 Replies

7. SCO

Installing network printer

What is the command for setting up a network printer in SCO 5.0.5? (1 Reply)
Discussion started by: deloev
1 Replies

8. UNIX for Dummies Questions & Answers

Network printer issues

Hello, I have been having a problem with printing to a network printer on my LAN, I am able to ping all ports from the server and the printer. Print request just stay in the print que the only way to print is from the parallel line to the server. Any ideas on what can be going wrong?? Lp sched is... (1 Reply)
Discussion started by: ostac
1 Replies

9. Solaris

Problem with network printer on Solaris.

Hi All, We have configured an hp network printer on a Solaris-sparc machine. We are unable to print any files from this machine. The following are the other details: lpstat -p hpnic -l printer hpnic waiting for auto-retry. available. exec exit fault Form mounted: ... (0 Replies)
Discussion started by: shahshilpa
0 Replies

10. Solaris

Network Printer access

Hi , We are trying to add a network printer (HP laser jet ) which is a part of windows server 2003 from solaris 10 server using lpadmin command. Both the Solaris 10 and windows server being in the same domain . The printer details are getting added in the /etc/printers.conf . But we are... (2 Replies)
Discussion started by: BalajiUthira
2 Replies
Log::Handler::Output::Sendmail(3pm)			User Contributed Perl Documentation		       Log::Handler::Output::Sendmail(3pm)

NAME
Log::Handler::Output::Sendmail - Log messages with sendmail. SYNOPSIS
use Log::Handler::Output::Sendmail; my $email = Log::Handler::Output::Sendmail->new( from => 'bar@foo.example', to => 'foo@bar.example', subject => 'your subject', ); $email->log(message => $message); DESCRIPTION
With this output module it's possible to log messages via "sendmail". METHODS
new() Call "new()" to create a new Log::Handler::Output::Sendmail object. The following options are possible: from The sender address (From). to The receipient address (To). cc Carbon Copy (Cc). bcc Blind Carbon Copy (Bcc) subject The subject of the mail. sender This option is identical with "sendmail -f". header With this options it's possible to set your own header. my $email = Log::Handler::Output::Sendmail->new( from => 'bar@foo.example', to => 'foo@bar.example', header => 'Content-Type: text/plain; charset= UTF-8', ); Or my $email = Log::Handler::Output::Sendmail->new( header => { From => 'bar@foo.example', To => 'foo@bar.example', Subject => 'my subject', 'Content-Type' => text/plain; charset= UTF-8', } ); Or my $email = Log::Handler::Output::Sendmail->new( header => [ 'From: bar@foo.example', 'To: foo@bar.example', 'Subject: my subject', 'Content-Type: text/plain; charset= UTF-8', ] ); sendmail The default is set to "/usr/sbin/sendmail". params Parameters for "sendmail". The default is set to "-t". maxsize Set the maximum size of the buffer in bytes. All messages will be buffered and if "maxsize" is exceeded the buffer is flushed and the messages will be send as email. The default is set to 1048576 bytes. Set 0 if you want no buffering and send a mail for each log message. debug Set 1 if you want to enable debugging. The messages can be fetched with $SIG{__WARN__}. log() Call "log()" if you want to log a message as email. $email->log(message => "this message will be mailed"); If you pass the level then its placed into the subject: $email->log(message => "foo", level => "INFO"); $email->log(message => "bar", level => "ERROR"); $email->log(message => "baz", level => "DEBUG"); The lowest level is used: Subject: ERROR ... You can pass the level with "Log::Handler" by setting message_pattern => '%L' flush() Call "flush()" if you want to flush the buffered messages. validate() Validate a configuration. reload() Reload with a new configuration. errstr() This function returns the last error message. DESTROY
"DESTROY" is defined and called "flush()". PREREQUISITES
Carp Params::Validate EXPORTS
No exports. REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. If you send me a mail then add Log::Handler into the subject. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-11-21 Log::Handler::Output::Sendmail(3pm)
All times are GMT -4. The time now is 03:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy