Sponsored Content
Operating Systems Linux lp command with compress mode Post 85935 by zita on Saturday 8th of October 2005 11:21:25 AM
Old 10-08-2005
lp command

lp -d <printername> -o cpi=17 filename
where printername is the name of the printer
and filename is the file to be printed.
Is this lp command can be used for compressed printing in linux..?
waiting for a immediate reply Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cpio command with compress

Hi friends.. I want to be able to copy a file from one location to another (locally). The location the files are copied to should have compressed instances of the files they were copied from. copy from /home/user/test.file copy to /backup/user/test.file.Z I need to be able to do this... (1 Reply)
Discussion started by: sureshy
1 Replies

2. UNIX for Dummies Questions & Answers

tar command with compress option...

Hi ! i have to write a script that archivs homes not used since 3 years. First, my script gathers the users that are concerned, using the following command : ll -lt /home/*/.sh_history | egrep '2000|1999|1998|1997' | awk '{print $3}' i obtain a list like this : user_1 user_2 ...... (3 Replies)
Discussion started by: tomapam
3 Replies

3. SCO

Help on compress command

Hello. Can any1 help me with the compress command. The -b option takes the number of bits used for encoding. can u expalin why this number of bits is used and for what purpose. what is the maximum number we can provide? In SFU these number has a valod range between 12 and 16 y?? (1 Reply)
Discussion started by: rahulrathod
1 Replies

4. UNIX for Dummies Questions & Answers

Compress command

compress /var/opt/l2/amer/art2/USFINUM0200_.CSV compress /var/opt/l2/amer/art2/USFINUM200_.CSV compress /var/opt/l2/amer/art2/USFINUM020_.CSV compress /var/opt/l2/amer/art2/USFINUM20_.CSV Is there a way to shorten this or write it in a script. The file to be compressed will be USFINUM but... (5 Replies)
Discussion started by: indira
5 Replies

5. Shell Programming and Scripting

combining mv and compress command

Hi All, I have a file in DirA/ABC.out a need to move to DirB.I am using the following steps now: mv DirA/ABC.out DirB compress -f DirB/ABC.out Is there a way to just do this one step as I have to move hundreds of files every hour. -Thanks in advance. (4 Replies)
Discussion started by: sam_78_nyc
4 Replies

6. UNIX for Dummies Questions & Answers

Copy Compress as one command

Hi, I need to copy and compress files in a directory in single line of command. I am able to copy and gzip files in one command but not directory. Command that I am using for copying directory is below : cp -rp /u01/app/<directory> /u01/app/backup |gzip -r /u01/app/backup/<directory> ... (10 Replies)
Discussion started by: findprakash
10 Replies

7. UNIX for Dummies Questions & Answers

Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All ! We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows. I have used the utility ZIP like the below. zip -e <newfilename> df2_test_extract.dat but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies

8. UNIX for Dummies Questions & Answers

Compress the file using Tar command

Hi, When i am tar the file particular ,csv file format in a folder i am receiving the error Command: tar cf New_data.tar /new/file/mari/getdata/small/*.xml Arguements too long But sometimes i am able to compress other folder but the tar folder contains all the file format and... (10 Replies)
Discussion started by: marivinay
10 Replies

9. UNIX for Advanced & Expert Users

UNIX: Command to compress folder and all files into a tar

I am trying to grab a folder and all the folders and files underneath it and send it from one computer to another. I basically want to compress the whole folder into a tar, tgz, or zip file so that it can be sent as one file. is there a command to compress a folder and all its contents into a tar... (7 Replies)
Discussion started by: kane4355
7 Replies

10. Red Hat

Command to compress a file

Hi, When we want to compress a file which is of huge size then what command is best for us.Kindly suggest on this. 1.Tar command or 2.gzip command OS -- Linux 2.6 Regards, Maddy (6 Replies)
Discussion started by: Maddy123
6 Replies
mailp(1)                                                           User Commands                                                          mailp(1)

NAME
mailp, digestp, filep, newsp, filofaxp, franklinp, timemanp, timesysp - frontends to the mp Text to PDL (Printer Description Language) pretty print filter SYNOPSIS
mailp [options] filename... newsp [options] filename... digestp [options] filename... filep [options] filename... filofaxp [options] filename... franklinp [options] filename... timemanp [options] filename... timesysp [options] filename... DESCRIPTION
The mailp utility is a frontend to the mp(1) program. It uses different names to provide various mp options: mailp Prints out mail messages. newsp Prints out USENET news articles. digestp Prints out USENET digest files. filep Prints out ordinary ASCII files. filofaxp Prints out in Filofax personal organiser format. franklinp Prints out in Franklin Planner personal organiser format. timemanp Prints out in Time Manager personal organiser format. timesysp Prints out in Time/System International personal organiser format. mailp and the associated programs read each filename in sequence and generate a prettified version of the contents. If no filename argu- ments are provided, mailp reads the standard input. mailp works in two ways. With the -D option, it will work as an X print server client to produce the PDL of the target printer and spool it. With the -d or -P option, it will generate and spool PostScripttm output. OPTIONS
The following options are supported: -d printer Sends output to the named printer. Otherwise, sends output to the printer named in the PRINTER environment variable. -D Generates the PDL for the target printer and spools it to the printer. -F Instead of printing who the mail article is for, the top header will contain who the mail article is from. This is a useful option for people with their own personal printer. -h Banner printing is disabled. Most of the information that typically appears on the banner sheet is output in the mp ban- ners. -l Formats output in landscape mode. Two pages of text will be printed per sheet of paper. -P printer Same as -d option. -s subject Uses subject as the new subject for the printout. If you are printing ordinary ASCII files which have been specified on the command line, the subject will default to the name of each of these files. OPERANDS
The following operand is supported: filename The name of the file to be read. ENVIRONMENT VARIABLES
If none of the -d, -D, or -P options is used, mailp uses the PRINTER environment variable to determine the printer to which the output from the mp(1)program is sent. If the PRINTER variable is not found, the default destination is the PostScripttm printer. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmp | +-----------------------------+-----------------------------+ SEE ALSO
mp(1), attributes(5) NOTES
The -P option, which spools the PDL directly to the target printer in mp(1), produces PostScripttm when used in mailp so as to be backward compatible. SunOS 5.10 30 Oct 2000 mailp(1)
All times are GMT -4. The time now is 02:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy