Sponsored Content
Top Forums UNIX for Dummies Questions & Answers help.. I am in way over my head !!!! Post 20416 by oberon42 on Thursday 25th of April 2002 09:57:35 PM
Old 04-25-2002
ok update in order
the version is SCO rev. 5
I managed to muddle trough it I think
the issues are more software specific than
OS specific. but
how do I dump a directory list to a priticular printer
in dos I know it would be
dir>lpt1
what would be the unix equavelent?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

head command

Hi All, How can the head command be used to extract only a particular line. By default head -n filename displays the first n lines. I want only the nth line. I couldn't get it from forum search. Thanks, Sumesh (6 Replies)
Discussion started by: sumesh.abraham
6 Replies

2. Shell Programming and Scripting

head usage

$ct=1 head -n $ct file. When i used like this, i got an error , Bad usage of head Cant we use variables in place of number in HEAD. In my requirement for every iteration i should increase the number in Head and tail the last one. HOw can i achieve this (5 Replies)
Discussion started by: vasuarjula
5 Replies

3. Shell Programming and Scripting

Search HEAD of CVS

Im looking for a 'relatively' easy way to search through cvs to look for a particular string in the HEAD revisions. I realize the way CVS stores versions makes this difficult. But I'm trying to come up with some script to allow this search (performance is not expected here). Currently this... (0 Replies)
Discussion started by: bobtheowl2
0 Replies

4. UNIX for Dummies Questions & Answers

alternative for head command

Hi friends,I am new to unix and this is really a dummy question.but please help me out. How to simulate head command without using head command??? also tail command too,also more command. it is given as a homework to do....please tell me how to do (2 Replies)
Discussion started by: nikhilneela
2 Replies

5. Shell Programming and Scripting

head followed by variable??

I know that the common use of head is for example head -3 etc.Is there any possibility that,if i have a variable that equals to an integer(i=5),i can write head -i?? If not,what syntax or commands should i write down in order to have the same result? //maybe something lik head -"$variable" ? (2 Replies)
Discussion started by: bashuser2
2 Replies

6. Shell Programming and Scripting

head command with more than one file

Hi, I have the following problem. I have files with one column of data (let's say file1.dat, file2.dat...file6.dat), and I would like to record the first value of the column of each file into another file (let's name it fileall.dat), which would have the the six values, one in each column. I use to... (4 Replies)
Discussion started by: josegr
4 Replies

7. UNIX for Dummies Questions & Answers

find and head -1

i have lots of files in /law/prod and /law/dev, such as AP20PD, AP20WS, AP20.scr, AP20.rpt if i am in /law DIR find . -name AP20PD, found in /law/prod and /law/dev i want to head -1 AP20PD from both location and >> /tmp/test.log can i use find and head in one line ? ----------... (1 Reply)
Discussion started by: tjmannonline
1 Replies

8. Homework & Coursework Questions

Head Tail Problem

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: view the 7th line of the program xxx.sh 2. Relevant commands, code, scripts, algorithms: head command tail... (10 Replies)
Discussion started by: hbell221
10 Replies

9. UNIX for Dummies Questions & Answers

Help using head cmd, print 20 then the next 20 etc

Hi all, I have a list of text, single column and I want to print the first 20, then the second 20 and so on. I was pointed to xarg to help with this, but can't get my head around how to use it. Would be great if it would put them into separate files with a certain name. Any suggestions... (2 Replies)
Discussion started by: onfirealot
2 Replies
ESCPUTIL(1)						      Gutenprint Manual Pages						       ESCPUTIL(1)

NAME
escputil - maintain Epson Stylus inkjet printers SYNOPSIS
escputil [ -P printer | -r device ] [ -m model ] [ -S ] [ -C ] [ -p ] [ -u ] [ -c | -n | -a | -i | -d | -o | -s | -l | -M | -h ] [ -q ] DESCRIPTION
escputil is a command line utility to perform various maintenance tasks on Epson Stylus inkjet printers. These tasks include head align- ment, head cleaning, nozzle check, printer identification, and retrieval of ink level from the printer. OPTIONS
escputil accepts the following options: -P, --printer-name=printer Specify the name of the printer to operate on. The default is the default system printer. -r, --raw-device=device Specify the name of the device to write to directly rather than going through a printer queue. You must use this (rather than speci- fying a printer) when retrieving ink levels or identifying the printer, or if you wish to perform head alignment without specifying the printer model. -m, --model=model Specify the precise printer model for head alignment. -u, --new The printer is a new printer (Stylus Color 740 or newer). -S, --short-name Print the short name of the printer with --identify. -C, --choices Specify the number of pattern choices for alignment. -p, --patterns Specify the number of sets of patterns for alignment. -c, --clean-head Clean the print head. This can also be performed from the printer front panel. -n, --nozzle-check Print a nozzle test pattern. Dirty or clogged nozzles will show as gaps in the pattern. If you see any gaps, you should run a head cleaning pass or two. -a, --align-head Align the print head. CAUTION: Misuse of this option may result in poor print quality and/or damage to the printer. You must either specify the printer model with the -m option, or use the raw printer device to allow escputil to detect the printer model. -i, --ink-level Obtain the ink level from the printer. This requires read/write access to the raw printer device. -d, --identify Query the printer for make and model information. This requires read/write access to the raw printer device. -o, --align-color Align the color print head (used by Stylus Color 480 and 580 only). CAUTION: Misuse of this option may result in poor print quality and/or damage to the printer. -s, --status Retrieve printer status. -l, --license Display the license/warranty terms of this program. -M, --list-models List the supported printer models. -h, --help Display a list of all command line options. -q, --quiet Suppress the banner. BUGS
USB-connected printers sometimes fail to identify or return ink levels. You may have to repeat the command. This is probably a timing issue in escputil, not a flaw in the printer. Anything requiring bidirectional communication with the printer (identify, ink levels, or head alignment without specifying the printer model) requires read/write access to the printer port (for example /dev/lp0). This may require these operations to be performed as root. In addition, kernel support is required for bidirectional communication. For Linux version 2.2, CONFIG_PRINTER_READBACK should be enabled; this is called CONFIG_PARPORT_1284 on 2.4 and later kernels. If the printer is performing self-test or head cleaning on power up, the identify and ink level commands will time out, although the printer successfully receives the command. The command will need to be reissued when the printer is quiescent. AUTHORS
Robert Krawitz. COPYRIGHT
Copyright (C) 2000 Robert Krawitz (rlk@alum.mit.edu) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. OTHER INFORMATION
The homepage of the Gutenprint project from which this utility was contributed is located at http://gimp-print.sourceforge.net/. SEE ALSO
lp(4), tunelp(8). Version 5.2.9 07 Jul 2012 ESCPUTIL(1)
All times are GMT -4. The time now is 05:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy