- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error code prints on job
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
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
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-18-2003 11:29 AM
04-18-2003 11:29 AM
Error code prints on job
This is:
HP-UX B.10.20 D 9000/861 2011712250 64-user license.
This is a serial printer attached to a concentrator.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 11:41 AM
04-18-2003 11:41 AM
Re: Error code prints on job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 11:49 AM
04-18-2003 11:49 AM
Re: Error code prints on job
if [ -z $VAR ]
In such a command, the test command (the part from [ to ]) requires a parameter for the comparison. If the variable VAR is empty (or undefined) then the test command evaluates to
if [ -z ]
which results in the syntax error you are seeing.
You can also put
set -x
at the top for your script to get debugging info printed out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 11:54 AM
04-18-2003 11:54 AM
Re: Error code prints on job
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 01:36 PM
04-21-2003 01:36 PM
Re: Error code prints on job
The command I ran was just
lp -dlp80 test (A text test page I created) Any print to it produces this.
I couldn't find the variable in question.
I am not as familiar with HP-Unix as others (SCO, AIX). So I created this printer thusly:
I created the "spool" (via SAM) then checked it's major/minor numbers took those and created the device /dev/lp80.
Thanks Scott