11-23-2004
Because the queue is disabled
Depending on whether you have cups or lpd, try something like
lpc enable
foo
where foo is the name of the printer.
Cheers
ZB
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How does or what makes a printer go into a disabled state? (5 Replies)
Discussion started by: dsb0
5 Replies
2. UNIX for Dummies Questions & Answers
Hi all, need your help again :P
I am trying to build a server in work, and it comes up with the OBP (Open Boot Prompt) and when i try and install the cdrom
"boot cdrom -s"
it throws back the following error:
"System is not bootable, boot command is disabled"
This is trying to install... (3 Replies)
Discussion started by: SemperFi
3 Replies
3. Post Here to Contact Site Administrators and Moderators
I have a PC I often use to visit this site and for some reason the buttons (such as code tags) do not work for me using this machine.I am using IE and I have been through the preferences but can find no options that seem to be responsible for disabling these buttons.I have tried manually inpputing... (4 Replies)
Discussion started by: steadyonabix
4 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
i had 500 users how can i know whether user is disabled or enabled
Thanks,
kalyan (8 Replies)
Discussion started by: kalyan212
8 Replies
5. Red Hat
Hi All,
Will some one kindly explian below ?
selinux
What is the effect of installing a server using this kickstart option as follows:
selinux --enforcing
and
selinux --disabled (1 Reply)
Discussion started by: sri243
1 Replies
6. Solaris
Hi experts,
I am using solaris10 operating system on a N240 Sun server. I have a problem on NTP, that is, i am using an external ntp server and when i enable ntp instance via smf, it works for a while then it gets disabled.. Here these are the info:
1) I enable the ntp service:
# svcadm... (1 Reply)
Discussion started by: dyavuzy1
1 Replies
MSG_SEND(3) 1 MSG_SEND(3)
msg_send - Send a message to a message queue
SYNOPSIS
bool msg_send (resource $queue, int $msgtype, mixed $message, [bool $serialize = true], [bool $blocking = true], [int &$errorcode])
DESCRIPTION
msg_send(3) sends a $message of type $msgtype (which MUST be greater than 0) to the message queue specified by $queue.
PARAMETERS
o $queue
-
o $msgtype
-
o $message
-
o $serialize
- The optional $serialize controls how the $message is sent. $serialize defaults to TRUE which means that the $message is serial-
ized using the same mechanism as the session module before being sent to the queue. This allows complex arrays and objects to be
sent to other PHP scripts, or if you are using the WDDX serializer, to any WDDX compatible client.
o $blocking
- If the message is too large to fit in the queue, your script will wait until another process reads messages from the queue and
frees enough space for your message to be sent. This is called blocking; you can prevent blocking by setting the optional $block-
ing parameter to FALSE, in which case msg_send(3) will immediately return FALSE if the message is too big for the queue, and set
the optional $errorcode to MSG_EAGAIN, indicating that you should try to send your message again a little later on.
o $errorcode
-
RETURN VALUES
Returns TRUE on success or FALSE on failure.
Upon successful completion the message queue data structure is updated as follows: $msg_lspid is set to the process-ID of the calling
process, $msg_qnum is incremented by 1 and $msg_stime is set to the current time.
SEE ALSO
msg_remove_queue(3), msg_receive(3), msg_stat_queue(3), msg_set_queue(3).
PHP Documentation Group MSG_SEND(3)