Re: duplicate bos.printer.rte



Hi, Mark.

Did you reinitialize your smit screens? Take a look at the sm_file
script in this post.

http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/moving-q
lconfig-to-new-system-1429315
<http://www.tek-tips.com/viewthread.cfm?qid=871194>

If that doesn't do it, you might just have to use the smit screen and F6
to build a script to create those queues. Should be quick and easy.

Good luck!

Alex Paschal
Unix Administrator
Freightliner, LLC
(503) 745-6850
f y cn rd ths y mst b sng nx



________________________________

From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Mark Schlechte
Sent: Tuesday, June 26, 2007 9:49 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: duplicate bos.printer.rte



Thanks for the clarification and usefull cmd Alex.

Here's what I see when creating a new hp_jetdriect print queue:

Add a Print Queue


Type or select values in entry fields.

Press Enter AFTER making all desired changes.



[Entry Fields]

Description Generic Printer

Description Generic Printer





Names of NEW print queues to add

Names of NEW print queues to add

ASCII []

GL Emulation []

PCL Emulation []

PostScript []



Printer connection characteristics

* HOSTNAME of the JetDirect Card []

* PORT [9100]


It wasn't the cosmetic aspect of it that got my attention is was the
fact that I couldn't make any

queue modifications without generating an error like :

0782-591 The value of _d attribute is not in the list generated from

the limits field

0782-112 1 Errors detected while validating printer attributes.

Use local problem reporting procedures.


I suspect it may been due to the way I earlier had copying the existing
queues from another server and may have messed something up.

My process was :

Migrating Print Queues to from another System:


NOTE: This won't work however unless the hpjetdirect printer drivers
etc. are installed

1. copy the /etc/qconfig from servera (make a copy of the
original before)


2. Copy the following files:

- cd /var/spool/lpd/pio/@local
<mailto:/var/spool/lpd/pio/@local>

- rcp -rp riscxx:/var/spool/lpd/pio/@local/custom
<mailto:riscxx:/var/spool/lpd/pio/@local/custom> .

- rcp -rp riscxx:/var/spool/lpd/pio/@local/dev
<mailto:riscxx:/var/spool/lpd/pio/@local/dev> .

- rcp -rp riscxx:/var/spool/lpd/pio/@local/ddi
<mailto:riscxx:/var/spool/lpd/pio/@local/ddi> .


3. change the permissions on the copied files to 664

chmod 664 filename


4. redigest the queue's

enq -d


5. run the chvirprt command on each queue

chvirprt -q <queue name> -d <device name>


Note: If you have a lot of queues, the best thing is to create a


short script to do this for you.

I grab the queue name and device name by running lsallq -c


and saving it to a file.


6. cycle the printer subsystem

stopsrc -cg spooler

startsrc -g spooler


I'll do some more digging and maybe start over as this is a test server.



Mark


<AlexPaschal@xxxxxxxxxxxxxxxx> 06/25/07 4:50 PM >>>


Hi, Mark.


That is perfectly normal. It just has files in two different places,
/etc/objrepos and /usr/lib/objrepos. lslpp -l \*printers\* would show
you the same thing without the context being grepped out.


labdvw1[/]# lslpp -l \*printers\*
Fileset Level State Description

------------------------------------------------------------------------
----
Path: /usr/lib/objrepos
bos.rte.printers 5.3.0.50 COMMITTED Front End Printer
Support
printers.msg.en_US.rte 5.3.0.0 COMMITTED Printer Backend
Messages -
U.S. English
printers.rte 5.3.0.50 COMMITTED Printer Backend

Path: /etc/objrepos
bos.rte.printers 5.3.0.50 COMMITTED Front End Printer
Support
printers.rte 5.3.0.50 COMMITTED Printer Backend



I'm not sure about the duplicate entries for "Description and Name of
Print Queue to add". Maybe a screenshot?


Thanks,


A

lex Paschal




Unix Administrator




Freightliner, LLC




(503) 745-6850




f y cn rd ths y mst b sng nx









________________________________

From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Mark Schlechte
Sent: Monday, June 25, 2007 3:19 PM
To: aix-l@xxxxxxxxxxxxx
Subject: duplicate bos.printer.rte




When I try and add another print queue via smitty I noticed it was
showing duplicate entries for stuff like 'Description and Name of Print
Queue to add'.

If I check my printers filesets I see I have a couple of duplicates.

So my question is how do I go about fixing this up. Uninstall to clean
things up and then re-install?

lslpp -l | grep -i printers
bos.rte.printers 5.2.0.96 COMMITTED Front End Printer
Support Laser Jet Printers
printers.hpJetDirect.attach
printers.msg.en_US.rte 5.2.0.0 COMMITTED Printer Backend
Messages -
printers.rte 5.2.0.95 COMMITTED Printer Backend
bos.rte.printers 5.2.0.40 COMMITTED Front End Printer
Support
printers.rte 5.2.0.95 COMMITTED Printer Backend







DISCLAIMER: The information transmitted is intended only for the
addressee and may contain confidential, proprietary and/or privileged
material. Any unauthorized review, distribution or other use of or the
taking of any action in reliance upon this information is prohibited. If
you received this in error, please contact the sender and delete or
destroy this message and any copies.


DISCLAIMER: The information transmitted is intended only for the
addressee and may contain confidential, proprietary and/or privileged
material. Any unauthorized review, distribution or other use of or the
taking of any action in reliance upon this information is prohibited. If
you received this in error, please contact the sender and delete or
destroy this message and any copies.



Relevant Pages

  • SUMMARY: Print to 2 queues at once
    ... Is there a way to set up a print queue in Unix so that it prints to 2 ... When we configure our printers and queues, ... I would set up a wrapper script to take the same command line arguments as ... # Only errors are logged as the lpd will log successful printing ...
    (Tru64-UNIX-Managers)
  • Re: To drag a file as parameter to script
    ... any clicking of options or whatever when you drag the file to your ... those .prn files by copying them to printers. ... develop a script with the copy command inside and let users drag and ... I want to development a script to print files to a print queue. ...
    (microsoft.public.scripting.wsh)
  • Re: Move print queues to new server
    ... The print queue have been migrated to a new server. ... retain their existing default print queue and how it can be done by script. ... Create a new group policy object with user logon script for deploying ...
    (microsoft.public.windows.server.migration)
  • Re: Mac printing to Windows Printer -- need help please.
    ... I've had no luck with watching the print queue with WatchPaths. ... technique I posted before using what I've learned about launchd. ... The change here is using launchd's StartInterval, and having the script ...
    (comp.sys.mac.comm)