Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

printer setup on Solaris 8

Posted on 2006-10-19
1
Medium Priority
?
2,674 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 38

Accepted Solution

by:
yuzh earned 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

636 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