TCPIP Printer in Unix


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users TCPIP Printer in Unix
# 1  
Old 09-29-2002
TCPIP Printer in Unix

How do we install a Printer connected directly to network with a private IP of 192.9.168.109 on a SUN system with IP of 192.9.168.2 so that we can use it with the lp command. The printer is a standard Line Matrix Printer. I would like to know how to add it from COMMANDLINE also.

Thanx
# 2  
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
# 3  
Old 10-15-2002
correction: to resume print services is:

/usr/lib/lpsched

and not:

/sur/lib/lpshed
# 4  
Old 10-15-2002
Quote:
Originally posted by Breen
correction: to resume print services is:

/usr/lib/lpsched

and not:

/sur/lib/lpshed
You can also edit your original messages when a typo occurs. The edit button is right next to the quote button. I am good friends with the edit button; I visit it often! Smilie

/edit: replaced "type" with "typo". Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question