Hi there,
I am trying to understand what in the world this error message can mean:
error: Print command failed with exit code 256!
Steps to reproduce:
$ hp-testpage
HP Linux Imaging and Printing System (ver. 3.9.10)
Testpage Print Utility ver. 6.0
Copyright (c) 2001-9 Hewlett-Packard
I am trying to print from ImageMagick display, but it always reports an
error, without saying what the error was or what command it was trying
to rung. (Quite MicroSoft-like, really!)
The man page talks of setting X resources, but display does not accept
-xrm on the command line and I can't find w
On Wednesday 14 January 2004 11:29 am, Matt Price wrote:
> Hi everyone,
>
> using the xemacs print command, my fext files end up starting exactly
> at the edge of the page and being difficult to readj. I'm trying to
> figure out a wayto get xemacs to use enxcript or some oth
Hi everyone,
using the xemacs print command, my fext files end up starting exactly
at the edge of the page and being difficult to readj. I'm trying to
figure out a wayto get xemacs to use enxcript or some other formatting
tool to do the actual printing -- but it's not obvious how t
At 2003-11-02T07:17:12Z, Vineet Kumar <[EMAIL PROTECTED]> writes:
>> I'm sure that's optimizable somehow, but I haven't really looked at it yet.
> yes '*' | head -n 80 | tr -d '\n'
Very good. Thanks!
--
Kirk Strauser
In Googlis non est, ergo non est.
pgp0.pgp
Description: PGP signature
Vivek Kumar <[EMAIL PROTECTED]> writes:
>
> Is there any other command to print any character say "*" 80 times..
The Bash-specific solution already proposed:
for (( i=0; i<80; ++i )); do echo -n '*'; done; echo
has the advantage that, since "echo" is an internal command, the
entire loop
On Fri, Oct 31, 2003 at 09:28:33PM +0100, Alexander Schmehl wrote:
> * Vivek Kumar <[EMAIL PROTECTED]> [031031 20:50]:
> > Is there any other command to print any character say "*" 80 times..
> [..]
> > Is there any short command ??
>
> for x in seq 1 80 ; do echo -n \* ; done
>
> Works in bash,
* Kirk Strauser ([EMAIL PROTECTED]) [031101 09:07]:
> At 2003-10-31T19:50:17Z, Vivek Kumar <[EMAIL PROTECTED]> writes:
>
> > Is there any other command to print any character say "*" 80 times..
>
> Ooh! My turn:
>
> $ yes '*' | head -n 60 | xargs echo | sed 's/ //g'
>
> I'm sure that's opt
At 2003-10-31T19:50:17Z, Vivek Kumar <[EMAIL PROTECTED]> writes:
> Is there any other command to print any character say "*" 80 times..
Ooh! My turn:
$ yes '*' | head -n 60 | xargs echo | sed 's/ //g'
I'm sure that's optimizable somehow, but I haven't really looked at it yet.
--
Kirk Stra
[EMAIL PROTECTED] writes:
> Quoting Bijan Soleymani <[EMAIL PROTECTED]>:
>
>> In perl you could do:
>> perl -e 'for(1..80){print "*";}print "\n";'
>
> Can you just explain how to use this for ? It seems far away the ones I know
> (C,C++,basic,Java,php,etc.)
That invocation happens to do the perli
On Fri, Oct 31, 2003 at 03:19:21PM -0500, Bijan Soleymani wrote:
| In perl you could do:
| perl -e 'for(1..80){print "*";}print "\n";'
|
| Technically that is shorter than:
| echo
""
|
| But not by much...
Actually
On Fri, Oct 31, 2003 at 02:50:17PM -0500, Vivek Kumar wrote:
| Hi,
|
| Is there any other command to print any character say "*" 80 times..
|
| like echo "**"
| (In bsh or ksh)
|
| Is there any short command ??
Since this hasn't been shown yet,
python -c 'print
Quoting Bijan Soleymani <[EMAIL PROTECTED]>:
> Since bash is the default shell in Debian you should be able to open up
> an xterm and type:
> for x in `seq 80`; do echo -n \*; done; echo
Yeah, I sure have a bash and it does work.
> Basically this is the bash (or sh) for loop.
>
> for variable in
On Fri, Oct 31, 2003 at 09:27:27PM +0100, [EMAIL PROTECTED] wrote:
> Quoting Bijan Soleymani <[EMAIL PROTECTED]>:
>
> > On Fri, Oct 31, 2003 at 02:50:17PM -0500, Vivek Kumar wrote:
> > > Hi,
> > >
> > > Is there any other command to print any character say "*" 80 times..
> > >
> > > like echo "*
Ainsi parla Vivek Kumar le 304ème jour de l'an 2003:
> Hi,
>
> Is there any other command to print any character say "*" 80 times..
>
> like echo "**"
> (In bsh or ksh)
>
> Is there any short command ??
>
perl -e 'print "*"x80'
--
.,p**"*=b_ Nicolas Rueff
* Vivek Kumar ([EMAIL PROTECTED]) [031031 11:50]:
> Hi,
>
> Is there any other command to print any character say "*" 80 times..
>
> like echo "**"
> (In bsh or ksh)
how about this (bash):
for ((i=0;i<80;i++)); do echo -n '*'; done ; echo
I don't know about bsh or
* Vivek Kumar <[EMAIL PROTECTED]> [031031 20:50]:
> Is there any other command to print any character say "*" 80 times..
[..]
> Is there any short command ??
for x in eq 1 80 ; do echo -n \* ; done
Works in bash, don't know in other shells.
Yours sincerely,
Alexander
pgp0.pgp
Descript
Quoting Bijan Soleymani <[EMAIL PROTECTED]>:
> On Fri, Oct 31, 2003 at 02:50:17PM -0500, Vivek Kumar wrote:
> > Hi,
> >
> > Is there any other command to print any character say "*" 80 times..
> >
> > like echo "**"
> > (In bsh or ksh)
> >
> > Is there any short com
Vivek Kumar <[EMAIL PROTECTED]> writes:
> Is there any other command to print any character say "*" 80 times..
>
> like echo "**"
> (In bsh or ksh)
>
> Is there any short command ??
Depending on what you're actually trying to do; Perl is the big hammer
you can throw a
On Fri, Oct 31, 2003 at 02:50:17PM -0500, Vivek Kumar wrote:
> Hi,
>
> Is there any other command to print any character say "*" 80 times..
>
> like echo "**"
> (In bsh or ksh)
>
> Is there any short command ??
A possible not good way to do this in bash:
for x in `s
Hi,
Is there any other command to print any character say "*" 80 times..
like echo "**"
(In bsh or ksh)
Is there any short command ??
--
Vivek
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Mon, 2001-10-22 at 02:12, Danie Roux wrote:
> I have a print system working with samba. I have now created a user
> "printing" and moved all of the scripts to it's /home/printing.
>
> How do I tell samba to execute the print command as user printing
>
I have a print system working with samba. I have now created a user
"printing" and moved all of the scripts to it's /home/printing.
How do I tell samba to execute the print command as user printing
instead of the user that has authenticated to the print share?
[printers]
...
Okay, this may not be the best forum, but I know that some of you have run into
this before...
I'm using Netscape on a network. I have a printer set up (lp35) to which I can
print things just fine from, say, enscript (using -Plp35). However, the same
-Plp35 returns an "unrecognized option" error
Subject: Print command
Date: Fri, Mar 05, 1999 at 12:54:20AM -0500
In reply to:[EMAIL PROTECTED]
Quoting [EMAIL PROTECTED]([EMAIL PROTECTED]):
>
>Could anyone tell a newbie the command to print a text file or a man
>page item, like a file named "vi.1.gz&qu
Others can give you better answers to your questions but I'll point out
a couple of sites, if you haven't found them yet, that might help. At
least something to get you by for a few hours:)
http://metalab.unc.edu/mdw/LDP/gs/gs.html
http://www.debian.org/
http://www.debian.org/doc/
Good luck,
Ke
Could anyone tell a newbie the command to print a text file or a man page
item, like a file named "vi.1.gz" on a dot matrix printer? I have installed
the 'base' system from D/Led floppies (used the 'rescue' disk and installed
the drivers disk and the five 'base' disks). During the install, I did
27 matches
Mail list logo