Solved

printer setup on Solaris 8

Posted on 2006-10-19
1
2,658 Views
Last Modified: 2013-12-16
Hi,

I'm currently working on a disaster recovery trial, part of which involves setting up a printer on Solaris 8.

I can look at the current live setup and try to mimic it but I'm not to sure exactly how to go about doing it.

The main problem is a file in /dev. Below is a snapshot of the file as it exists on the live server, but I'm not sure how to replicate it on the DR box.

crw-rw-rw-   1 root     other     13,  2 Jan 23  2006 databa01

I know this file is part of the printer setup but I don't know how to create "character special" files. Could you guys explain the significance of this file, what it does and how I create it?

Thanks
0
Comment
Question by:damieneowen
1 Comment
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 17770936
you can use "mknod" to create sepecial devices file
eg:

mknod /dev/databa01 c 13 2

where: c - character
           13 -major
           2 ninor
since the character device with major number=13, minor=2, is /dev/null (standard
device), you don't need to create /dev/databa01, you can use /dev/null instaed, unless
your application hard code to you that device name.

man mknod
to learn more details
To add a printer, in Solaris, you can login as root and run "admintool" (GUI) to install
local or access to network printer.

eg:
use "admintool" (GUI) to do the job.

for local printer, add -> local printer.
remote printer

add -> access to remote printer.
just make sure that you add your windows server infor to /etc/hosts

For more help, click on help in the admintool menu bar.

To start the program, type in:
admintool &

You can also use commandline "lpadmin" to add/modify printer
man lpadmin
to learn more details.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question