02-14-2020
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
http://docs.sun.com/?q=netstandard&p=/doc/805-7229/6j6q8svb1&a=view
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
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
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
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
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
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
LEARN ABOUT OPENDARWIN
enable
enable(1) User Commands enable(1)
NAME
enable, disable - enable/disable LP printers
SYNOPSIS
/usr/bin/enable printer...
/usr/bin/disable [-c | -W] [ -r [reason]] printer...
DESCRIPTION
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer
server.
The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that
are currently printing on printer will be reprinted in their entirety either on printer or another member of the same class of printers.
The disable command must be run on the print server.
Use lpstat -p to check the status of printers.
enable and disable only effect queueing on the print server's spooling system. Executing these commands from a client system will have no
effect on the server.
OPTIONS
The following options are supported for use with disable:
-c Cancels any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer
is remote, the -c option will be silently ignored.
-W Waits until the request currently being printed is finished before disabling printer. This option cannot be used with the
-c option. If the printer is remote, the -W option will be silently ignored.
-r [reason] Assigns a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is
reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is "unknown reason" for the
existing printer, and "new printer" for a printer added to the system but not yet enabled.
OPERANDS
The following operand is supported for both enable and disable:
printer The name of the printer to be enabled or disabled. Specify printer using atomic name. See printers.conf(4) for information
regarding the naming conventions for atomic names.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/var/spool/lp/* LP print queue.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
|CSI |enabled |
+-----------------------------+-----------------------------+
SEE ALSO
lp(1), lpstat(1), printers.conf(4), attributes(5)
SunOS 5.10 9 Sep 1996 enable(1)