The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
21 views

How to change default cpi for `lp`?

I know I can change the characters per inch used by lp with lp -o cpi=12 (or any number you like). But is it possible to change the default value of this option globally? The default, when -o ...
1
vote
1answer
26 views

Formating file in command line for printing

Whenever I print a text file with lpr or lp commands , the words are cut off at the end of one line and continue onto the other, e.g. 'understand' would be split into 'unde' at the end of line one and ...
5
votes
1answer
422 views

Duplex printing options using lp or lpr

The default options for a Brother MFC-9340CDW printer, are reportedly (e.g. querried via lpoptions -l) set to: PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6 EnvDL EnvC5 Env10 ...
1
vote
0answers
36 views

Print EPS file at original size but changed position

I'd like to print EPS files, ensuring they print at their original size. I found out that my default document viewer, Okular from KDE, will always scale to fit size, and I can't seem to find a way to ...
0
votes
0answers
38 views

Duplex option when printing to a Windows shared printer

I'd like to know, if I send lp -h 192.168.0.3 -d printer -o duplex txtfile, supposing it's a Windows shared printer, will it make the txt file be printed in duplex? Or should I first pass it to a ...
1
vote
0answers
45 views

what interface does lpsched provide that cups does not?

Work has a Linux stock/erp custom system that uses the Unix System V (Solaris, SCO, HP-UX) lpsched program that someone who used to work here compiled for RHEL/CentOS 5 i686 (I have no idea why or ...
3
votes
2answers
1k views

Print a text file from a line number to another after searching for the lines

I want to print a text file from X line number to Y line number The value of X & Y is determined by searching for a specific line in the text file(in this case the page number) I search for the ...
0
votes
3answers
420 views

Can groff create a ps file with interpreted ANSI escape characters?

This question is inspired by this one on SU. How can I print bold or color using lp and ANSI escape sequences? I know how to display, for example, bold text in the terminal: $ echo -e ...