Re: How do I find out current configuration of printers? (65 Views)
Reply
Occasional Advisor
Jon Jenkins
Posts: 11
Registered: ‎06-24-2001
Message 1 of 5 (65 Views)
Accepted Solution

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?
Esteemed Contributor
Shahul
Posts: 656
Registered: ‎02-25-2001
Message 2 of 5 (65 Views)

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
Honored Contributor
federico_3
Posts: 499
Registered: ‎07-10-2000
Message 3 of 5 (65 Views)

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

under /etc/lp/interface there are the drivers of printers with their settings
Honored Contributor
Rainer von Bongartz
Posts: 1,015
Registered: ‎02-01-1999
Message 4 of 5 (65 Views)

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 ...
Respected Contributor
Herve BRANGIER
Posts: 215
Registered: ‎07-06-2000
Message 5 of 5 (65 Views)

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?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.