Operating System - HP-UX
1752429 Members
5826 Online
108788 Solutions
New Discussion юеВ

How do I find out current configuration of printers?

 
SOLVED
Go to solution
Jon Jenkins
Occasional Advisor

How do I find out current configuration of printers?

I am currently trying to duplicate the settings from a 10.20 system to a 11.00. I have been through copying over the spooler configuration, I am now having problems with how the printers have been configured.

How can I query the existing setup to find out what orientation, page size, lines per page, font, etc has been set up, and then transfer this to the same printer on the new server?

Is this information stored in the printer configuration or is it more likely to be output from the software (ERP on Oracle database)?

Finally if I run jetadmin to look at the same printers on both servers is this likely to cause conflicts with printing?
4 REPLIES 4
Shahul
Esteemed Contributor

Re: How do I find out current configuration of printers?


Hi

I think this is the configuration file for printers. Try it out

/etc/lp/interface/*

If U cat this file U can see settings. But before making changes please keep a copy.

Shahul
federico_3
Honored Contributor

Re: How do I find out current configuration of printers?

under /etc/lp/interface there are the drivers of printers with their settings
Rainer von Bongartz
Honored Contributor
Solution

Re: How do I find out current configuration of printers?


don't copy your printers manually; let sam do the task

on 10.20:

lpshut
/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp > /dev/null
lpsched

copy the contents of /var/sam/lp over to your 11.0 box
and then

/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
/usr/sbin/lpsched

Now you have an exact copy of yout spooler and printer config on your 11.0 box.
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Herve BRANGIER
Respected Contributor

Re: How do I find out current configuration of printers?

Hi

Like Rainer said it is really better to use sam
command "/usr/lbin/lpmgr" to save your printers
configuration. I do that for all hpux10.20 to
11.00 updates without any matters.

I think it's better to have only one printers
server, network-based printers have a queue
but with size limits...

For printing format printers interfaces and
softwares (ERP) can define them ... For example
if you use postscript generated by your
application format (letter, a4, colors...) are
define in the postscript file.... So have a
look to your documentation.

Regards,

Herv?