12-22-2009
Refreshing the post
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We have a 3rd party print queue installed on HP-UX 11.11 that interfaces with a binary. Basically we use the lp command to send reports to the print queue, which then interfaces with a binary to capture those reports into a reporting warehouse.
The problem lies in the way that HP uses a link to... (6 Replies)
Discussion started by: dangral
6 Replies
2. UNIX for Dummies Questions & Answers
Hi All
Does anyone know what is meant by PRINTER STATUS CONNECT concerning print queues?
At work we run a Perle/Connectix JetStream 8500 (RJ45 Model) to connect our dot matrix printers and often we get the Connect Status.
Nobody I speak to knows what the status means. When the printer... (0 Replies)
Discussion started by: nickbungus
0 Replies
3. 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
4. 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
5. 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
6. Shell Programming and Scripting
I am very new to scripting could use some assistance polishing up my script. I have had issues with a print queue going down and needing some TLC to get it going again, however currently I have to wait for a user to complain about the issue. I have written a little script to monitor the print queue... (0 Replies)
Discussion started by: tdiYUZER
0 Replies
7. Shell Programming and Scripting
Hi,
I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance
sagii (2 Replies)
Discussion started by: sagii
2 Replies
8. Shell Programming and Scripting
Hi,
i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks
sagii (2 Replies)
Discussion started by: sagii
2 Replies
9. AIX
Hi
I had setup a print queue named test in the AIX server. When I try to print 96 char per line.. it prints only 80 and the rest is skipped to the next line.
however there are 16 spaces left as blank in the first line
any help is appriciated (0 Replies)
Discussion started by: antointoronto
0 Replies
10. 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
LEARN ABOUT OPENSOLARIS
endwin
endwin(3XCURSES) X/Open Curses Library Functions endwin(3XCURSES)
NAME
endwin, isendwin - restore initial terminal environment
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int endwin(void);
bool isendwin(void);
DESCRIPTION
The endwin() function restores the terminal after Curses activity by at least restoring the saved shell terminsl mode, flushing any output
to the terminal, and moving the cursor to the first column of the last line of the screen. Refreshing a window resumes program mode. The
application must call endwin() for each terminal being used before exiting. If newterm(3XCURSES) is called more than once for the same ter-
minal, the first screen created must be the last one for which endwin() is called.
The isendiwin() function indicates whether or not a screen has been refreshed since the last call to endwin().
RETURN VALUES
Upon successful completion, the endwin() function returns OK. Otherwise, it returns ERR.
The isendwin() function returns TRUE if endwin() has been called without any subsequent refresh. Otherwise, it returns FALSE.
ERRORS
Non errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
doupdate(3XCURSES), libcurses(3XCURSES), newterm(3XCURSES), attributes(5), standards(5)
SunOS 5.11 5 Jun 2002 endwin(3XCURSES)