Help with Migration from AIX 4.3 to Solaris 9
From: seanw (seanwoodlock_at_ciscohire.com)
Date: 04/26/05
- Next message: Oscar del Rio: "Re: Help with Migration from AIX 4.3 to Solaris 9"
- Previous message: hajducko_at_gmail.com: "Re: AIX 4.3 reporting incorrect VSZ with ps?"
- Next in thread: Oscar del Rio: "Re: Help with Migration from AIX 4.3 to Solaris 9"
- Reply: Oscar del Rio: "Re: Help with Migration from AIX 4.3 to Solaris 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Apr 2005 11:34:09 -0700
Hi All
I am in desperate need of your expertise. I have recently been
involved in a project to migrate a user from an IBM RS6000 running AIX
4.3 to a new sun server running Solaris 9.
The problem is as follows.
My users are using a program called PRO4 which is an account &
receivable app. It order to use this app the user must be able to
print to file so then through a valid print queue. This basically
allows the user option to keep appending to a file so they can then
print it to a print when they are ready.
IN Aix this was achieve in the following method by using /etc/qconfig
and a small script that take a file as arg and create it in
/user1/fmslive/spool/USER.INVOICE.
Here you can see our /etc/qconfig aix 4.3
* null
fl0:
device = dfl0
dfl0:
backend = /bin/ksh /usr/lpd/prfl0
Here you can see the shell script prfl0 ref above as backend
FILE=$1
{
cat $FILE
} > /user1/fms$PROSYS/spool/$USER.NULL
Where $PROSYS=test
This is how the queue appears in aix. f10 queue in question
Queue Dev Status Job Name From To
Submitted Rnk Pri Blks Cp PP %
------- ----- --------- --------- --- --- ----- ---
---- --
lp0 MN@1_ READY
lp2 lp2 READY
lp1r dlp1r READY
lp2r dlp2r READY
lp3 dlp3 READY
lp1u dlp1u READY
lp1l dlp1l READY
lp2u dlp2u READY
lp2l dlp2l READY
fl0 dfl0 READY
In Solaris
I have created the print queue as seen below
bash-2.05# lpstat -p f10 -l
printer f10 is idle. enabled since Tue 26 Apr 2005 16:05:41 BST.
available.
Form mounted:
Content types: simple
Printer types: unknown
Description:
Connection: direct
Interface: /usr/lib/lp/model/standard
PPD: none
On fault: write to root once
After fault: continue
Users allowed:
(all)
Forms allowed:
(none)
Banner required
Character sets:
(none)
Default pitch:
Default page size:
Default port settings:
However i can't seem to get it to work. I have also tried to create a
print queue that pointed to the shell script lpadmin -pf10 -v
/usr/lpd/prfl0.
But this just wrote the data into the file . I haven't been able to
execute the script and send output from the printer as a file.
Basically I need to be able redirect the output from a valid print
queue and send as a file to the script named above. It has been
suggest to look into the /etc/lp/interfaces/*, Into making some
changes there, but I couldn't see the best place to edit
Sorry to babble on but I wanted to try and give as much info as
possible.
Thanks in advanced for any help offered. I have crossed posted into
the AIX group, to see if anyone there has had a similar problem.
Thanks Again
Sean
- Next message: Oscar del Rio: "Re: Help with Migration from AIX 4.3 to Solaris 9"
- Previous message: hajducko_at_gmail.com: "Re: AIX 4.3 reporting incorrect VSZ with ps?"
- Next in thread: Oscar del Rio: "Re: Help with Migration from AIX 4.3 to Solaris 9"
- Reply: Oscar del Rio: "Re: Help with Migration from AIX 4.3 to Solaris 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|