Sponsored Content
Full Discussion: TCPIP Printer in Unix
Top Forums UNIX for Advanced & Expert Users TCPIP Printer in Unix Post 29988 by Breen on Tuesday 15th of October 2002 07:44:56 AM
Old 10-15-2002
To set up a print server: In root
command-line> admintool &
Browse --> Printers
Add --> Local Printer
and add the printer name, etc and the correct 'PORT'

on the command line:
#Shut-down lp scheduler
/usr/sbin/lpshut

#Id new printer to lp system
lpadmin -p Printername -i /usr/lib/lp/model/standard
-l/dev/term/11

whereby the Printername is the name you've assigned to the printer, and /dev/term/11 is the port its connect to.

#Resume print servers
/sur/lib/lpshed

#Allow printer to accept requests
accept Printename

#enable printer
enable Printername
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

adding printer in unix

Hello guys... can anybody please tell me how to add a printer in unix environment? (2 Replies)
Discussion started by: bong m
2 Replies

2. UNIX for Dummies Questions & Answers

Changing A Printer In Unix

We recently changed the ip address of one of our network printers. The unix box which connects to this printer no longer will print to it. Please can someone guide me as to how to use the unix system to either change the ip address that the box has for the printer or Re - add the printer with... (1 Reply)
Discussion started by: pgamblin
1 Replies

3. UNIX for Dummies Questions & Answers

Printer + Unix (SCO)

Hello, I'm a real noob with Unix. I have to make an installation of a printer, EPSON LQ 2080 (impact printer) on local port ltp, on a Unix SCO 5.7. So....where can I find the driver, and how can I install it on a sco ? Sorry for my english, i'm frenchy ;) Thank you ! (1 Reply)
Discussion started by: kok
1 Replies

4. UNIX for Dummies Questions & Answers

Finding Printer in unix

I am trying to find the list of printers(names) in the network from unix server. can anybody help me . I need the command. Thanks in advance. :) (2 Replies)
Discussion started by: vijisenthil
2 Replies

5. Programming

Opening a TCPIP Port with UNIX C

i am new to UNIX and C (primarilly a JDE and AS400/RPG developer). However, I need to find a way to send data to and from a web service from within a UNIX C program. What i would like to be able to do is to receive in a block of XML (from a non C application), wrap it, and then open a TCPIP... (3 Replies)
Discussion started by: DaveBarber
3 Replies

6. Shell Programming and Scripting

How to allow unix regular user to disable a unix printer

HI, I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer. Any help will be very helpful. Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies

7. UNIX for Dummies Questions & Answers

how to configure printer in unix

Hi, os-sun solaris(5.10) I am working in unix server. I try to take print in unix.but i got following error. anyone tell me solution for this problem. $ lp hi.sql _default: unknown printer thanks. (1 Reply)
Discussion started by: arulkumar
1 Replies

8. HP-UX

fax to printer from unix?

Our HP 11.11 is networked to several printers with fax capabilities. Is it possible to send a file to be faxed by the printer? I know that RICOH offers a Java API, but that costs 4500 for 1yr membership and 3000 every year after that. Thanks. (3 Replies)
Discussion started by: tariqjamal
3 Replies

9. AIX

AIX routing and TCPIP. Anyone find any good Tutorials?

HI All, Does anyone out there know of any good online tutorials for the basics of routing, gateways, networking with AIX, preferably the more recent versions like 5.2/5.3? Using commands such as netstat, smit mkroute, etc. to connect to boxes on a network, and load software with networked... (1 Reply)
Discussion started by: jeffpas
1 Replies

10. AIX

New to AIX tcpip tuning

For some reason, my AIX 5.2 box has become slow in accepting telnet requests from others boxes. Windows, times out the connection, whereas, Unix it will wait for the AIX to display the login. I connect and it respawns back and says connected, but then sits and wait for what seems forever to get the... (5 Replies)
Discussion started by: mrmurdock
5 Replies
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)
All times are GMT -4. The time now is 10:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy