Solved

printer setup on Solaris 8

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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

707 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