Tony,

One of our customers asked a similar question recently about setting up
printers on UV/AIX and I received the following responses from members of
this list:

1.  From what I know, you need to login to the uv account using superuser
and call up the menu, then add the printer devices. It may be the exact
same thing as adding them manually to the device file, but it may also
handle more. I used to do HP-UX, not AIX, and it was a few years back.
But I hope this helps. IBM website has libraries of pdf documents to
administer Universe - go to Products then A to Z then click on U and
select Universe, then click on Libray on the left pane and choose the
version you need (I have gotten lost beyond recognition in the site, so
again this may be helpful - sorry if it isn't).

Laure Hansen
City of Redwood City

2.    Each printer we use is set up in the device file and the driver simply
'cat' s the file to the respective printer in the OS.  I tried to spool
something to a 'non Device file' printer and got a message 'Requested
printer does not exist.'

To make it easy, you could simply write a quick program to accept the
printer name, file name, record name and do an EXECUTE that does an 'lp'
command.  This should do the trick nicely.  This is the approach that I
would take.  Its simple.  So you would end up with something like;

AIX.PRINT my.aix.pdf.capable.printer INVOICE.ARCIVE 10298478.pdf

Where AIX.PRINT is your program, my.aix.pdf.capable.printer is a printer
set up in aix, INVOICE.ARCHIVE is a sequential file, and 10298478.pdf is
the actual record that you want to print.

Anthony

3.     We do this all the time. and set it up thusly:

1. create a unix spooler entry for the printer pointing to the IP address
of the print server and the 'port' it uses, such as LPT1, P1, 9100, RAW1,
etc.

2. Create a diretory for UV 'pass-through drivers' that uniVerse will use.
Mine is /u1/uvptr

3. Write drivers specific to the UV printer and the AIX spooler name. I
have an HP in my office, and my initials are KLP. I have a driver in
/u1/uvptr named hpklp.drv which contains one line:

lp -dhpklp
or
lpr -h -Phpklp

and then is  chmod 775 to make it executable.

4. Create an entry in /var/spool/uv/sp.config for the printer:
HPKLP /dev/null BAUD 9600 DRIVER /u1/uvptr/hpklp.drv XOFF STARTANY OFF
PARITY None TABS ON FFDELAY 1 LFDELAY 0 DATABITS 8 LOCKFILE lock.hpklp

and in &DEVICES&

  hpklp
 0001
0002 /dev/null
0003
0004 P
0005 lock.hpklp
0006 /u1/uvptr/karlp.drv
0007
0008 4
0009 1
0010 1
0011 11
0012
0013 1
0014 1
0015 1
0016 1
0017 8
0018

Of course you can do this all in the uniVerse admin menus, but knowing how
to do it manually makes things quicker. There are several options for
creating the spooler entry in smit. They include local filtering before
sending to the AIX queue, or just standard and other things. I've had to
do different things depending on the idiosyncracies of each printer. I
have 36 printers setup this way and none of them are 'hard wired' to the
AIX server except a couple of label printers on serial ports.

HTH,

Karl

4.    Hi

If the printers are simple device entries you can set up &DEVICE& entries
that use their device name, but for anything else -

The normal route is to a) get the printers running under UNIX first using
whatever software is required (e.g. hp jetdirect), then create &DEVICE&
entries that use a driver script something like:

cat - | lp -d your_unix_printer_name

plus whatever other -o options you want to use.

Brian

hth,

Dave

Dave Taylor
CEO
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(C) 310-561-5200
(F) 310-377-3550
www.sysmarkinfo.com
Your Source for Integrated EDI Translation, DataSync Integration and
Software Migration
Authorized IBM Business Partner
----- Original Message ----- 
From: "Anthony Caufield" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 30, 2007 7:56 PM
Subject: [U2] Printers


> I need to setup printers on a redhat linux box. I have copied setup the
> .drv file but I don't know what or how to setup the null device for the
> printer. I am going off of how printers are currently setup on this box.
> Sorry forgot unix/linux been using windows where this is easy.
>
> Thanks
> Tony
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to