Top Forums UNIX for Beginners Questions & Answers Printing, SYSPRINTER, IP printing Post 303044114 by SergevdH on Friday 14th of February 2020 04:28:38 AM
Sorry, I changed it.
Test Your Knowledge in Computers #411
Difficulty: Medium
Aside from its AT&T UNIX base, XENIX incorporated elements from BSD, notably the vi text editor and its supporting libraries (termcap and curses).
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

2. UNIX for Dummies Questions & Answers


Ok, I found this and I am trying to follow the section labled How To Add A Network Printer Using LP Commands But I just can't get these things to print (SUN hardware). We have an NT print server or I could print directly... (1 Reply)
Discussion started by: bbrandeb49
1 Replies

3. UNIX for Dummies Questions & Answers

Need Printing help Please

I would like to set up a local printer(actually a Brother Fax machine) to my Compaq Tru64 Unix computer but I dont know how. I've tried the SAM command with no success. The computer says does no recognize command. Please help.... (1 Reply)
Discussion started by: donnieb79
1 Replies

4. UNIX for Dummies Questions & Answers


whenever i print a file in UNIX the bottom line gets cut off i was wondering is there any way to fix this? thanks (2 Replies)
Discussion started by: hiei
2 Replies

5. UNIX for Dummies Questions & Answers


How do I configure a UNIX printer to print to a Windows PC with vt320 emulation (0 Replies)
Discussion started by: sowlix
0 Replies

6. Shell Programming and Scripting


Hey, I'm trying to print in HP laserjet 2420 by using the command: lp -olandscape (file) For some reason it does not come out as landscape but as portrait. Help please. 10x. P.S. I'm using csh (0 Replies)
Discussion started by: Kofiko
0 Replies

7. UNIX for Advanced & Expert Users

printing \n

Hi all, In a script I need to print a string: print "\n"; but i am not able to print the above mentioned string... Please help. Regards Rochit (5 Replies)
Discussion started by: rochitsharma
5 Replies

8. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

9. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

10. UNIX for Dummies Questions & Answers

help in printing %

Hi, while executing: printf "%05d\n" 12 32 00012 00032 Similarly i need to get the below outpurs: ###12 ###32 12%%% 32%%% (1 Reply)
Discussion started by: pandeesh
1 Replies
is_linetouched(3XCURSES)				  X/Open Curses Library Functions				  is_linetouched(3XCURSES)

is_linetouched, is_wintouched, touchline, touchwin, untouchwin, wtouchln - control window refresh 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> bool is_linetouched(WINDOW *win, int line); bool is_wintouched(WINDOW *win); int touchline(WINDOW *win, int start, int count); int touchwin(WINDOW *win); int untouchwin(WINDOW *win); int wtouchln(WINDOW *win, int y, int n, int changed); PARAMETERS
win Is a pointer to the window in which the refresh is to be controlled or monitored. line Is the line to be checked for change since refresh. start Is the starting line number of the portion of the window to make appear changed. count Is the number of lines in the window to mark as changed. y Is the starting line number of the portion of the window to make appear changed or not changed. n Is the number of lines in the window to mark as changed. changed Is a flag indicating whether to make lines look changed(0) or not changed(1). DESCRIPTION
The touchwin() function marks the entire window as dirty. This makes it appear to X/Open Curses as if the whole window has been changed, thus causing the entire window to be rewritten with the next call to refresh(3XCURSES). This is sometimes necessary when using overlapping windows; the change to one window will not be reflected in the other and, hence will not be recorded. The touchline() function marks as dirty a portion of the window starting at line start and continuing for count lines instead of the entire window. Consequently, that portion of the window is updated with the next call to refresh(). The untouchwin() function marks all lines in the window as unchanged since the last refresh, ensuring that it is not updated. The wtouchln() function marks n lines starting at line y as either changed (changed=1) or unchanged (changed=0) since the last refresh. To find out which lines or windows have been changed since the last refresh, use the is_linetouched() and is_wintouched() functions, respectively. These return TRUE if the specified line or window have been changed since the last call to refresh() or FALSE if no changes have been made. RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR. ERRORS
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), attributes(5), standards(5) SunOS 5.10 5 Jun 2002 is_linetouched(3XCURSES)

Featured Tech Videos

All times are GMT -4. The time now is 06:59 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy