10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi ALL,
I am trying to collect and print all the network interface details in linux shell script.
operating system : centos 7
Below is my shell script :
#!/usr/bin/env bash
for i in $(ip link show | awk -F: '$1>0 {print $2}')
do
if ; then
echo -e... (2 Replies)
Discussion started by: balu1234
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
3. SCO
Hello All,
I am upgrading a server from SCO to LINUX (CENTOS) and have about 50 odd printers which i have transferred.
The only problem is, that they have hard coded printer commands which my new version of CUPS does not understand.
For example:
"-o nb -tl60"
Once I know the... (1 Reply)
Discussion started by: stuaz
1 Replies
4. Solaris
Hello guys,
I'm having a problem at configuring an HP printer for solaris 2.5.1. Unfortunatly solaris did not support network printing until 2.6.x so i had to use jetadmin, wich suprisingly worked well the verry first time i installed the package.
Allthough the sparcstation witch i'm using is... (0 Replies)
Discussion started by: Goodfellas
0 Replies
5. UNIX for Advanced & Expert Users
I am installing a HP printer using ./hpnpcfg and I am getting the following:
Please enter selection: 5
Enter the network peripheral name or IP address: hpndlife
The following types of test files can be sent to the printer:
1) text file
... (1 Reply)
Discussion started by: likando
1 Replies
6. UNIX for Dummies Questions & Answers
I am installing a HP printer using ./hpnpcfg and I am getting the following:
Please enter selection: 5
Enter the network peripheral name or IP address: hpndlife
The following types of test files can be sent to the printer:
1) text file
... (0 Replies)
Discussion started by: likando
0 Replies
7. SCO
I have several printers setup but nothing prints.
I get the following error email
Subject: Status of lp request aclj3-2297
Your request aclj3-2297 destined for aclj3
encountered an error while printing on printer aclj3.
Reason for failure:
cat: cannot open 0: No such file or... (1 Reply)
Discussion started by: Jessie Nand
1 Replies
8. UNIX for Advanced & Expert Users
Iv'e been having a problem with printing that driving me CRAZY! I am trying to print a large file about 200-300 pgs, but the print job reaches a certain point then stops, the job does'nt finish.
Anyone have any suggestions? (2 Replies)
Discussion started by: dpadron
2 Replies
9. IP Networking
I am trying to set up TCP/IP printing to so we can remove the old novel server. The printer details have been added to the etc/hosts file correctly, and the printer added as a remote UNIX printer . However when a print job is issued lpstat -o displays the job, but it dosent move. Any help yould... (2 Replies)
Discussion started by: eel_king
2 Replies
10. IP Networking
When I send a request to print to a HP4si networked printer, It prints an extra page with User, Host, Class & job info.
Is it possible to eliminate this page? (2 Replies)
Discussion started by: sbuck331
2 Replies
HPSET(1) LOCAL HPSET(1)
NAME
hpset -- printer commands
SYNOPSIS
hpset [-hco] [commands ...]
DESCRIPTION
hpset is used to send commands to a printer. These commands are synonyms for ESC Codes based on the PCL standard from Hewlet Packard.
Options
-c redirect output to stdout
-oname redirect output into the specified file or device redirect
-h prints a help message
Commands
back Puts every setting back to the printer defaults.
test Starts the self test.
out If paper is inside the printer it will be thrown out.
cr activates the linefeed
lbon acivates the linebreak.
leftright
forces the printer to print only from left to right.
rightleft
forces the printer to print only from right to left.
bidirect
forces the printer in both ways.
execoff
The following commands are not executed but printed.
execon The following commands are executed.
nice High quality printing.
econo Enables fast and economic printing.
landscape
Printing in landscape format.
portrait
Printing in portrait format.
lpinum Sets the lines per inch. For num use 6 or 8.
The following commands must be sent in the given order and sequence. The sequence looks like,
hpset [characterset] [characterdistance] [character density]
[point size] [type position] [line strength] [type]
-Characterset
english ISO 4
ansi ANSI ASCII ISO 6
sweden ISO 10
italian ISO 15
spain ISO 17
german ISO 21
france ISO 69
-Characterdistance
prop Proportional
fix Fixed
If you've chosen proportional you don't have to set the character density.
-Characterdensity
cpi# # is one of 5,6,10,12,16,16.67,20,24
-Pointsize
point# # is one of 4.75,5,6,7,8,9.5,10,12,14,19,24
-Typeposition
italic
upright
-Linestrength
bold
normal
-Type
courier
times
gothic
univers
Notice that not every combination of the commands above is possible. Refer
to the manual of HPSET where you can find a table with allowed combinations.
SEE ALSO
lpr(1), lpd(1),
BUGS
report them to michael.janson@stud.uni-karlsruhe.de
LINUX
April 27, 1997 LINUX