05-12-2008
Emulation
Quote:
Originally Posted by
mountainwater
Dear all,
I have tried to use the following command to print report to a laser printer:
lp -d<printer name> -p6 -o cpi=17 <file name>
lp -d<printer name> -p6 -ocpi=17 <file name>
but it doesn't change the cpi to 17.
May I know what is the problem or is there any solutions?
Thanks!
Hello,
in what emulation does the LaserPrinter work ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to limit the directories that a user can
access. When this users logs in, I do not want
them to cd to any directory but those in their
$HOME. In other words:
login:
pwd:
/home/user
cd / -- user tries to cd to root directory.
pwd
/home/user -- user is still in home... (4 Replies)
Discussion started by: oscarr
4 Replies
2. UNIX for Dummies Questions & Answers
I have a very simple question which I am not able to crack.
There is an user with same username and groupname. How do I change permissions of a file to have the username and groupname assigned for the user "test". Appreciate you help.
-Carl (1 Reply)
Discussion started by: calredd
1 Replies
3. UNIX for Dummies Questions & Answers
Using !! or !x we can repeat previous command. If I want to repeat the command with something changed, what do I do? Say,
The prev. command
cat a.txt | grep "pp" > a.out
The new command
cat b.txt | grep "pp" > b.out
Is there a short way? (4 Replies)
Discussion started by: well_doing
4 Replies
4. UNIX for Advanced & Expert Users
I can login user by telnet, but I can't change user by su command with same passwd. I have no idea about that, please do me a favour and tell me the config which may be wrong.
Thanks in advance! (6 Replies)
Discussion started by: GCTEII
6 Replies
5. Shell Programming and Scripting
What's wrong with this script?????
Please help!!!
!#/bin/sh
echo "please enter dir"
read input
cd $input
I'm trying to make a simple script to change dir. But does not work.
it stays at the same dir where i run the script.
What did i do wrong?? (21 Replies)
Discussion started by: c00kie88
21 Replies
6. UNIX for Dummies Questions & Answers
Hi
When I do the ls command I do ls -al so could I put someting in the .profile or somewhere else to juste write ls and the command will do ls -al ???
juste for 1 user ???
thanks
Sylvain (5 Replies)
Discussion started by: slevesque
5 Replies
7. Shell Programming and Scripting
Hi,
I want to change the shellrite now I am in ksh shell , I want to switch to bash shell
I have tried the command ...
$ chsh -s /bin/bash
but it is showing error ....
-ksh: chsh: not found (1 Reply)
Discussion started by: rahul125
1 Replies
8. UNIX for Dummies Questions & Answers
I have a script where I have the command
sed "s/$search_string/$replace_string/g" $backup
However I want a command to correct the original file $backup as well as creating another file with the changes which I have in my script already. In other words, I want to touch the orginal file also... (1 Reply)
Discussion started by: alis
1 Replies
9. UNIX for Dummies Questions & Answers
hi all,
i have problem with my script in unix ...i have script with split -d (--numeric-suffixes) in linux its working but in solaris machine the option -d isn't have
so how to i can change split -d (this output) will same in output solaris can i change with awk and how do that
thx before (2 Replies)
Discussion started by: zvtral
2 Replies
10. Shell Programming and Scripting
Hello, I recently sought help on another thread about how to prefix 2 words in a file with 'pack/'. This is the command:
sed --in-place 's/"\(libraries\|objects\)"/"pack\/\1"/g'
Background: I have a .json file with the word 'libraries' and 'objects' in it. However, 'libraries' occurs twice;... (6 Replies)
Discussion started by: AJ Ruckman
6 Replies
LEARN ABOUT DEBIAN
hp-print
hp-print(1) User Manuals hp-print(1)
NAME
hp-print - Print Utility
DESCRIPTION
A simple print UI front-end to lp/lpr.
SYNOPSIS
hp-print [DEVICE_URI|PRINTER_NAME] [MODE] [OPTIONS] [FILES]
PRINTER
|DEVICE-URI
To specify a device-URI:
-d<device-uri> or --device=<device-uri>
To specify a CUPS printer:
-p<printer> or --printer=<printer>
MODE
Run in graphical UI mode:
-u or --gui (Default)
OPTIONS
Use Qt4:
--qt4 (Default)
Set the logging level:
-l<level> or --logging=<level> <level>: none, info*, error, warn, debug (*default)
Run in debug mode:
-g (same as option: -ldebug)
This help information:
-h or --help
SEE ALSO
hp-printsettings
AUTHOR
HPLIP (Hewlett-Packard Linux Imaging and Printing) is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser
based printers in Linux.
REPORTING BUGS
The HPLIP Launchpad.net site https://launchpad.net/hplip is available to get help, report bugs, make suggestions, discuss the HPLIP project
or otherwise contact the HPLIP Team.
COPYRIGHT
Copyright (c) 2001-14 Hewlett-Packard Development Company, L.P.
This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See
COPYING file for more details.
Linux 4.0 hp-print(1)