Sponsored Content
Operating Systems Solaris Solaris printing system migration Post 302467992 by brusell on Monday 1st of November 2010 07:51:15 AM
Old 11-01-2010
Hi Jim,
thanks for your effort. I have looked at /etc/lp directory and there are some soft links to /usr/lib/lp/model/ and /var/lp/logs directories (these looks to be existing in each Solaris installation).
I have found that in folder /etc/lp/priters are subfolders named based on particular printer names. These folders includes printer config file and probably user authorisation.

Code:
root@xxx # ls -la /etc/lp/printers/prpaxe3bcs01
total 16
drwxrwxr-x   2 lp       lp           512 Mar 23  2010 .
drwxrwxr-x 231 lp       lp          5632 Sep 29 11:28 ..
-rw-rw-r--   1 lp       lp           177 Mar 23  2010 configuration
-rw-rw-r--   1 lp       lp             0 Mar 23  2010 users.deny

Code:
root@xxx # ls -la /etc/lp/
total 58
drwxrwxr-x  10 lp       lp           512 Oct 31  2007 .
drwxr-xr-x  65 root     sys         5120 Oct 25 10:14 ..
-rw-rw-r--   1 lp       lp           349 Jan 19  2005 Systems
drwxr-xr-x   2 root     lp           512 Jan 19  2005 alerts
drwxrwxr-x   2 lp       lp           512 Jan 19  2005 classes
drwxr-xr-x   2 root     lp           512 Feb  2  2007 fd
-rw-rw-r--   1 lp       lp           268 Feb  2  2007 filter.table
drwxrwxr-x   2 lp       lp           512 Jan 19  2005 forms
drwxrwxr-x   3 lp       lp          6656 Oct 25 10:05 interfaces
lrwxrwxrwx   1 root     root          17 Jan 19  2005 logs -> ../../var/lp/logs
lrwxrwxrwx   1 root     root          18 Dec  8  2006 model -> /usr/lib/lp/model/
drwxrwxr-x   2 root     other        512 Oct 31  2007 ppd
drwxrwxr-x 259 lp       lp          6144 Oct 25 10:05 printers
drwxrwxr-x   2 lp       lp           512 Jan 19  2005 pwheels

So probably copy /etc/lp can be sufficient for successful migration.
Currently I'm not sure about printer queues, they are created dynamically during starting of print daemon, or must be created manually (in default by manual adding printer into system)???
Any idea??

Many thanks

Stan
 

10 More Discussions You Might Find Interesting

1. Solaris

Migration Solaris 5.8 to 10

Hi, it is necessary to make the migration of Solaris 5.8 for Solaris 10, would like to know which the best form to execute this task, if to be able to say me where I can arrange some manual that helps me to make this task. Thanks :o (2 Replies)
Discussion started by: bruno_a_correia
2 Replies

2. UNIX for Advanced & Expert Users

Solaris migration

Hi , There is going to be a server migration from Solaris 8.0 to Solaris10.0. Could anyone give me some tips and documents regarding the steps to be remembered,tips to be followed etc. like syntax differences any new changes to the existing commands and tools we use whatever the... (1 Reply)
Discussion started by: mohanpadamata
1 Replies

3. HP-UX

Migration from HP-UX to Solaris/Linux

Hi eveyone Ours is an application hosted on HP-UX 11 and we are trying to migrate the server to different flavour of UNIX. We are actually looking at the option of migrating it to Sun Solaris or Linux. We are trying to evaulate the pros and cons of migrating our application to Solaris/Linux.... (6 Replies)
Discussion started by: turaga.krishna
6 Replies

4. Solaris

Migration from solaris 8 to 10

Hello, We have upgraded our system from SunOS 5.8 to Solaris 10. I would like to know if the applications (written in c, c++, pro*c, java,..) running on the 5.8 can run on the Solaris 10 without code modification or the need to be recompiled ? thanks you for your help. (4 Replies)
Discussion started by: Jidma
4 Replies

5. Solaris

Solaris system and database migration help

HI, let me explain you the current situation. We have three server with OS Solaris and oracle products. Following is the somewhat detail, 1st Server= oracle DB 2nd Server= Oracle Warehouse builder 3rd Server= Oracle Business Intelligence Enterprise Manager Question: these three... (0 Replies)
Discussion started by: malikshahid85
0 Replies

6. Solaris

Migration from AIX to Solaris

Hi All, We are planing to do a migration of our server from AIX 5.3 to Solaris (Linux). But we are not aware about the gap between the both and also impact of that gap. We want to migrate following things, - Common directories setup (like control-M, emer,sysout, and others) - Inbound &... (1 Reply)
Discussion started by: vinod369
1 Replies

7. Linux

Migration from solaris to linux

Hi, Currently I can able to access php script from solaris. I want to access from Linux I have done the following things: 1) I have copied all the scripts from solaris to linux. 2) I have installed php,mysql,apache. I tried with http://Hostname/username/test.php . This is not working .... (6 Replies)
Discussion started by: Mani_apr08
6 Replies

8. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

9. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

10. Solaris

Migration from AIX to Solaris

We are going to work on a project which aims at migrating set of applications from AIX to Solaris. The major portion of the source code involves C, C++, Shell/PERL scripts and Oracle database. We are grateful hear about any commercial tools available for porting AIX to Solaris. Another... (2 Replies)
Discussion started by: Namitap
2 Replies
lpoptions(1)							    Apple Inc.							      lpoptions(1)

NAME
lpoptions - display or set printer options and defaults SYNOPSIS
lpoptions [ -E ] [ -U username ] [ -h server[:port] ] -d destination[/instance] [ -o option[=value] ] ... [ -o option[=value] ] lpoptions [ -E ] [ -U username ] [ -h server[:port] ] [ -p destination[/instance] ] -l lpoptions [ -E ] [ -U username ] [ -h server[:port] ] [ -o option[=value] ] ... [ -o option[=value] ] [ -p destination[/instance] ] -r option lpoptions [ -E ] [ -U username ] [ -h server[:port] ] -x destination[/instance] DESCRIPTION
lpoptions displays or sets printer options and defaults. lpoptions shows the default printer options when run with no arguments. Other options include: -E Enables encryption when communicating with the CUPS server. -U username Uses an alternate username. -d destination[/instance] Sets the user default printer to destination. If instance is supplied then that particular instance is used. This option overrides the system default printer for the current user. -h server[:port] Uses an alternate server. -l Lists the printer specific options and their current settings. -o option[=value] Specifies a new option for the named destination. -p destination[/instance] Sets the destination and instance, if specified, for any options that follow. If the named instance does not exist then it is created. -r option Removes the specified option for the named destination. -x destination[/instance] Removes the options for the named destination and instance, if specified. If the named instance does not exist then this does nothing. If no options are specified using the -o option, then the current options for the named printer are reported on the standard output. Options set with the lpoptions command are used by the lp(1) and lpr(1) commands when submitting jobs. ROOT ACCOUNT OPTIONS
When run by the root user, lpoptions gets and sets default options and instances for all users in the /etc/cups/lpoptions file. COMPATIBILITY
The lpoptions command is unique to CUPS. FILES
~/.cups/lpoptions - user defaults and instances created by non-root users. /etc/cups/lpoptions - system-wide defaults and instances created by the root user. SEE ALSO
cancel(1), lp(1), lpadmin(8), lpr(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 29 August 2008 CUPS lpoptions(1)
All times are GMT -4. The time now is 06:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy