- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Enscript error on HP-UX 11.00
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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-04-2002 01:11 PM
тАО04-04-2002 01:11 PM
Enscript error on HP-UX 11.00
I??ve installed enscript for hp-ux 11. version 1.6.1-11.0.depot with swinstall -s but when I try to print using the command "enscript -P or -d 10_1 (this is my printer name) -q
/usr/bin/lpr: option -P10_1 not recognized. I tried to change the options but I got the same error. Could anybody help me? Thank in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 01:31 PM
тАО04-04-2002 01:31 PM
Re: Enscript error on HP-UX 11.00
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 01:31 PM
тАО04-04-2002 01:31 PM
Re: Enscript error on HP-UX 11.00
lp/lpr does not support the -P & when you use the -d the ptr name MUST immediately follow - no spaces.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 01:32 PM
тАО04-04-2002 01:32 PM
Re: Enscript error on HP-UX 11.00
You might look for an option to use "lp" instead.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 01:40 PM
тАО04-04-2002 01:40 PM
Re: Enscript error on HP-UX 11.00
Here is "LPR" on hpux:
# cat /usr/bin/lpr
#!/usr/bin/sh
# @(#)B.11.11_LR
# lpr script -- which makes lp look like lpr
options=
files=
remove=false
while [ $# -gt 0 ]
do
case $1 in
-c)
options="$options $1";;
-d*)
options="$options $1";;
-m)
options="$options $1";;
-n*)
options="$options $1";;
-o*)
options="$options $1";;
-r)
remove=true;;
-s)
options="$options $1";;
-t*)
options="$options $1";;
-w)
options="$options $1";;
-*)
echo "$0: option $1 not recognized"
exit 1;;
*)
files="$files $1";;
esac
shift
done
cat $files | lp -s $options
if [ $remove = true ]
then
rm -f $files
fi
So, to get "-P" to work, you need to add it to the LPR script (/usr/bin/lpr)
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 02:36 PM
тАО04-04-2002 02:36 PM
Re: Enscript error on HP-UX 11.00
I change the lpr and put -P, then I got the -P option "lp: illegal option -- P".
Well! I'm still needing your help and thank all.