06-04-2002
Re: Printing Problems in unix ... ( Bar-cdoe - Ip
Quote:
Originally posted by QuickSilver
first of all , i wanna thank u 4 ur time !
I didnt get few things , how can i send a printing job from my unix system directly to the HP JetDirect Ip ??? my problem is to send a printing job to an Ip Address ... tell me what to do and i'll try it on my machine ...
`man lpr`
This should document everything that you need to know...
Quote:
Can u tell me some more about the configuring lpd printing on a NT Box, IIRC ?
Using Google, I was able to quickly find these two resources:
http://support.microsoft.com/default...;EN-US;q301201
http://www.technocopia.com/read-1999...rintlinux.html
Quote:
Barcode issue ... :
can u tell me what should i do to check if my machine supports TrueType fonts ?
What OS are you using? I am familiar with the XFS under XFree86.
Quote:
is there are any diffrences between barcode ? let my put it other way , is there are any diffrent types of barcode ?
tell u the truth , i'm doing some experiment on unix and dont have any budget to buy fonts ... can u send me some free fonts or gimme some like where i can d/l some of them ?
10X again !!!
There are a bunch of different types of barcodes for many different types of application. To learn more about barcodes/fonts/applications I suggest a Google search.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I get the following when printing from a SCO Unix application
{ Who are you ?}
The user is printing to a printer on a network print sharing device
HP 500x.
I think this printer is shared via the Unix machine. How does
one set up printer sharing on Unix and access permissions
for them?
... (2 Replies)
Discussion started by: JoseHose
2 Replies
2. UNIX for Dummies Questions & Answers
I have a problem here. I have a printer that is connected to a silicon graphics O2 machine (a Laser Jet 6MP) which is running under the Laser Jet 6 printer driver. I don't have any problems printing from the UNIX box. However, I do have the printer networked through our local intranet (using LPR... (2 Replies)
Discussion started by: bobmcgee
2 Replies
3. Solaris
Hi,
I need the information regaring bar code printing. I am looking for the program which runs on solaris that take number string (like mobile number, bill number etc) as input and generate bar code font in to the text file. Remember it is not the bit map. The program just writes the fonts in to... (0 Replies)
Discussion started by: Manjunath Naik
0 Replies
4. 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
5. UNIX for Dummies Questions & Answers
I am not able to print plain text in a correct manner.
When I issue the command "lp -ddestination_printer myfile.txt" the printer prints a page with the following contents:
Feb 24 11:26 2005 myfile.txt Page 1
## Configured using SAM by root on Tue
The line beginning... (3 Replies)
Discussion started by: ascanestro
3 Replies
6. Linux
Dear All..
When printing(Epson DotMatrix 9pinX136Cols) an graphics(Graphics2D) document through my Java application, the printer simply take a round and drop the paper out. Nothing printed is it my printer driver(currently using omni driver) problem. Any one of you pls suggest me the suitable... (0 Replies)
Discussion started by: arunize
0 Replies
7. UNIX for Dummies Questions & Answers
Hi, the print spooler from my unix box keeps putting a header before every page, looks as below
User: root
Host: blemain.blemain.local
Class: blemain.blemain.local
Job: SPC075
then it forces the rest of the print to spread accross 2 pages (should be single page prints).
Any idea... (0 Replies)
Discussion started by: blemainuser
0 Replies
8. AIX
hello...
we have just recently purchased an ibm h80 system to replace our old machine. the new machine is running aix 5.2 and yesterday i had just completed installing all the remote printers that are connected to windows 2k pc's. today i tried to send a print job to one of them and nothing... (1 Reply)
Discussion started by: petrofyed
1 Replies
9. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
10. 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
LEARN ABOUT CENTOS
shell-quote
SHELL-QUOTE(1) User Contributed Perl Documentation SHELL-QUOTE(1)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.16.3 2010-06-11 SHELL-QUOTE(1)