hp-testpage: error: Print command failed with exit code 256!

2009-12-30 Thread Mathieu Malaterre
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

ImageMagick - how do you set the print command?

2004-04-15 Thread Oliver Elphick
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

Re: setting print command in xemacs

2004-01-17 Thread Wesley J Landaker
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

setting print command in xemacs

2004-01-14 Thread Matt Price
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

Re: print command

2003-11-02 Thread Kirk Strauser
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

Re: print command

2003-11-02 Thread Kevin Buhr
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

Re: print command

2003-11-02 Thread Colin Watson
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,

Re: print command

2003-11-02 Thread Vineet Kumar
* 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

Re: print command

2003-11-01 Thread Kirk Strauser
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

Re: print command

2003-10-31 Thread David Z Maze
[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

Re: print command

2003-10-31 Thread Derrick 'dman' Hudson
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

Re: print command

2003-10-31 Thread Derrick 'dman' Hudson
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

Re: print command

2003-10-31 Thread theocrite
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

Re: print command

2003-10-31 Thread Bijan Soleymani
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 "*

Re: print command

2003-10-31 Thread Nicolas Rueff
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

Re: print command

2003-10-31 Thread Vineet Kumar
* 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

Re: print command

2003-10-31 Thread Alexander Schmehl
* 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

Re: print command

2003-10-31 Thread theocrite
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

Re: print command

2003-10-31 Thread David Z Maze
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

Re: print command

2003-10-31 Thread Bijan Soleymani
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

print command

2003-10-31 Thread Vivek Kumar
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]

Re: Samba: executing the print command as a different user

2001-10-25 Thread Michael Heldebrant
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 >

Samba: executing the print command as a different user

2001-10-22 Thread Danie Roux
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] ...

Netscape Network Print Command

2000-09-06 Thread complaw
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

Re: Print command

1999-03-05 Thread wtopa
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

Re: Print command

1999-03-05 Thread ktb
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

Print command

1999-03-05 Thread Jerry Human
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