HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What's the diff between printer "interface" and "m...
Operating System - HP-UX
1827295
Members
2619
Online
109717
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2004 10:15 AM
04-16-2004 10:15 AM
What's the diff between printer "interface" and "model"?
When defining (lpadmin) a remote printer, what's the difference between using an interface program (-i) vs. using a model program (-m)? If I go with a interface program, what command can I use to list the interfaces associated with a printers (lpstat does not appear to have a flag option for this).
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2004 11:49 AM
04-16-2004 11:49 AM
Re: What's the diff between printer "interface" and "model"?
There is nothing much you can change for a remote printer. -i has no meaning because there is no real interface -- it is a virtual printer on another computer. -m should specify rmodel as the printer's model script. If you read the rmodel script, you'll see that there isn't a lot you can control. This is the syntax for adding a printer from the command line (although it's easier with SAM).
/usr/sbin/lpadmin -pmyprinter -v/dev/null -mrmodel -ocmrcmodel
-osmrsmodel -ob3 -ormsystem2 -orpprn -v/dev/null
The above is for BSD remote systems like Linux or Windows. When you use a remote printer, you lose all the lp -o options for format control unless the remote system is another HP-UX system.
Bill Hassell, sysadmin
/usr/sbin/lpadmin -pmyprinter -v/dev/null -mrmodel -ocmrcmodel
-osmrsmodel -ob3 -ormsystem2 -orpprn -v/dev/null
The above is for BSD remote systems like Linux or Windows. When you use a remote printer, you lose all the lp -o options for format control unless the remote system is another HP-UX system.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2004 10:08 PM
04-18-2004 10:08 PM
Re: What's the diff between printer "interface" and "model"?
Hi
As said in the previous reply a remote printer uses none of the facilities of the printer due to what it is.
#Note: These options must be preceded by "BSD" in the option argument.
# ie. use "-oBSDh" to suppress banner page.
# lp interface for remote spooling.
# Options Recognized:
#
# -C class Take the following argument as a job
# classification for use on the banner page.
#
# -J job Take the following argument as the job name
# to print on the banner page. Normally, the
# first file's name is used.
#
# -T title Use the next argument as the title used by
# pr(UTIL) instead of the file name. -T is
# ignored unless the -p option is specified.
#
# -i[numcols] Cause the output to be indented. If the next
# argument is numeric, it is used as the number
# of blanks to be printed before each line;
# otherwise, 8 characters are printed.
#
# -kfont Specify a font to be mounted on font position
# k, where k is from 1 to 4.
#
# -wnum Take the immediately following number to be
# the page width for pr(UTIL).
#
# The following single letter options are used to notify the
# line printer spooler that the files are not standard text
# files. The spooling system uses the appropriate filters (if
# the option is supported) to print the data accordingly.
# These options are mutually exclusive.
#
# -c The files are assumed to contain data
# produced by cifplot.
#
# -d The files are assumed to contain data from
# tex (DVI format).
#
# -f Use a filter that interprets the first
# character of each line as a standard FORTRAN
# carriage control character.
#
# -g The files are assumed to contain standard
# plot data as produced by the plot routines.
#
# -l Use a filter that suppresses page breaks.
#
# -n The files are assumed to contain data from
# ditroff (device independent troff).
:
Get your printers on the network even if you have to get some ex+ boxes to hang them on.
Then you can always print even if one machine is down and you have full options.
Also from hppi with
addqueue -l
You can see which script fits which printer
Steve Steel
As said in the previous reply a remote printer uses none of the facilities of the printer due to what it is.
#Note: These options must be preceded by "BSD" in the option argument.
# ie. use "-oBSDh" to suppress banner page.
# lp interface for remote spooling.
# Options Recognized:
#
# -C class Take the following argument as a job
# classification for use on the banner page.
#
# -J job Take the following argument as the job name
# to print on the banner page. Normally, the
# first file's name is used.
#
# -T title Use the next argument as the title used by
# pr(UTIL) instead of the file name. -T is
# ignored unless the -p option is specified.
#
# -i[numcols] Cause the output to be indented. If the next
# argument is numeric, it is used as the number
# of blanks to be printed before each line;
# otherwise, 8 characters are printed.
#
# -kfont Specify a font to be mounted on font position
# k, where k is from 1 to 4.
#
# -wnum Take the immediately following number to be
# the page width for pr(UTIL).
#
# The following single letter options are used to notify the
# line printer spooler that the files are not standard text
# files. The spooling system uses the appropriate filters (if
# the option is supported) to print the data accordingly.
# These options are mutually exclusive.
#
# -c The files are assumed to contain data
# produced by cifplot.
#
# -d The files are assumed to contain data from
# tex (DVI format).
#
# -f Use a filter that interprets the first
# character of each line as a standard FORTRAN
# carriage control character.
#
# -g The files are assumed to contain standard
# plot data as produced by the plot routines.
#
# -l Use a filter that suppresses page breaks.
#
# -n The files are assumed to contain data from
# ditroff (device independent troff).
:
Get your printers on the network even if you have to get some ex+ boxes to hang them on.
Then you can always print even if one machine is down and you have full options.
Also from hppi with
addqueue -l
You can see which script fits which printer
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP