10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Administrators.
I have a bit difficult problem.
I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device.
whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies
2. AIX
Hi
When I add a print queue in my AIX server I get the below message.
enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway).
enq: errno = 2: A file or directory in the path name does not exist.
Added print queue 'CUNE024'.
Also when I give a test print the status... (3 Replies)
Discussion started by: newtoaixos
3 Replies
3. AIX
I am trying to print from Aix 6.1 using a remote queue to a Brother 7360N
All in one, I can see the printer, but only output is blank pages. My smit setup is:
Name of queue: testprt
Hostname if Remote Printer: testprt (I added name to etc/hosts)
Name of queue on remote printer: testprt (I... (4 Replies)
Discussion started by: Al Metz
4 Replies
4. UNIX for Advanced & Expert Users
Hello,
Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one.
Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one?
My AIX system is 5.3
Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies
5. AIX
Hi,
Currently we are experiencing qdaemon died, hourly.
We have more than 10,000 print queue on AIX 5.3.
Would this cause the qdaemon to die?
What is the maximum number of print queue on AIX 5.3?
Thank you in advance. (0 Replies)
Discussion started by: raybakh
0 Replies
6. HP-UX
Hi All,
I am new to HP-UX and new to administration world. I have a problem with two HP Laser Jet M5035MFP printers which are connected to HP-UX host machines. Problem is that whenver we print a job, the job gets printed very fine but the queue is not cleared. This makes the further jobs on the... (2 Replies)
Discussion started by: akashgulati
2 Replies
7. Solaris
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies
8. UNIX for Dummies Questions & Answers
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies
9. AIX
Morning, All
I've been doing some work on AIX print queues, troubleshooting some underlying issues we've been having. In the process of this I've uncovered some potential gaps in our knowledge. Our typical setup is remote impact printers (In this case OKIML5520s, with NICs) and local queues... (0 Replies)
Discussion started by: alexop
0 Replies
10. UNIX for Dummies Questions & Answers
I have a problem with a print queue that keeps going down on me every couple of days. When it happens I run an 'enable' and all is fine for a few more days.
Can anyone can tell me where to start looking to debug this problem as i am new to UNIX
Thanx (1 Reply)
Discussion started by: carell
1 Replies
TrayManager(3pm) User Contributed Perl Documentation TrayManager(3pm)
NAME
Gtk2::TrayManager - Perl bindings for EggTrayManager
SYNOPSIS
use Gtk2 -init;
use Gtk2::TrayManager;
my $screen = Gtk2::Gdk::Screen->get_default;
if (Gtk2::TrayManager->check_running($screen)) {
print STDERR "A tray manager is already running, sorry!
";
exit 256;
}
my $tray = Gtk2::TrayManager->new;
$tray->manage_screen($screen);
$tray->set_orientation('vertical');
$tray->signal_connect('tray_icon_added', sub {
# $_[1] is a Gtk2::Socket
});
$tray->signal_connect('tray_icon_removed', sub {
# $_[1] is a Gtk2::Socket
});
ABSTRACT
The EggTrayManager library is used internally by GNOME to implement the server-side of the Notification Area (or system tray) protocol.
Gtk2::TrayManager allows you to create notification area applications using Gtk2-Perl.
METHODS
$running = Gtk2::TrayManager->check_running($screen);
This method returns a boolean value indicating whether another program is already managing notifications for the given Gtk2::Gdk::Screen.
If this method returns a false value, then you should give way to the application that is already running.
$tray = Gtk2::TrayManager->new;
This creates a tray manager object.
$tray->manage_screen($screen);
This tells the tray to manage notifications for the Gtk2::Gdk::Screen referenced by $screen.
$tray->set_orientation($orientation);
This method tells the tray whether icons are to be arranged vertically or horizontally. $orientation may be either '"vertical"' or
'"horizontal"'.
$title = $tray->get_child_title($child);
This method returns a string containing the title of the icon defined by $child.
SIGNALS
"tray_icon_added"
Emitted when a client plug (eg one created by Gtk2::TrayIcon) wants to connect. For callbacks connected to this signal, @_ will have
the form
@_ = (
bless( {}, 'Gtk2::TrayManager' ),
bless( {}, 'Gtk2::Socket' )
);
"tray_icon_added"
Emitted when a client plug has disconnected. For callbacks connected to this signal, @_ will have the form
@_ = (
bless( {}, 'Gtk2::TrayManager' ),
bless( {}, 'Gtk2::Socket' )
);
"message_sent", "message_removed"
The Freedesktop.org specification includes support for "balloon messages", but these are not currently implemented in EggTrayManager.
"lost_selection"
As a rule, compliant applications should check to for an already running manager, and give way to it if it finds one. However, it is
possible that your application might have its X selection forcibly removed; this signal is emitted if this should happen.
SEE ALSO
Glib, Gtk, Gtk2::TrayIcon and the System Tray spec at http://www.freedesktop.org/Standards/systemtray-spec
<http://www.freedesktop.org/Standards/systemtray-spec>.
AUTHOR
Christian Borup <borup at cpan dot org>. Nagging and documentation by Gavin Brown <gavin.brown@uk.com>
COPYRIGHT AND LICENSE
Copyright 2004 by the gtk2-perl team.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
perl v5.14.2 2004-09-09 TrayManager(3pm)