Solved

printer setup on Solaris 8

Posted on 2006-10-19
1
2,659 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

856 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