8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
3. Solaris
Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies
4. Emergency UNIX and Linux Support
Hi,
this might sound somewhat weird, but I need a command to remove all packages on my machine with dpkg.
I know dpkg -l will list all packages, but the troublemaker isn't on the list, and the problems started as I updated the program :wall:.
Thanks in advance, I REALLY appreciate it :b: (8 Replies)
Discussion started by: pasc
8 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
Hello,
I need assistance with creating a shell script to generate SSL Certificate Requests on remote hosts. Below is my stab at this, but I cannot figure out how to pass the requested arguments into the openssl command correctly. I have a major problem with redirecting the "answers" into the... (2 Replies)
Discussion started by: azvelocat
2 Replies
7. UNIX for Advanced & Expert Users
For a few weeks now, on several of our machines, i've been seeing this in /var/log/messages and dmesg:
Nov 14 16:37:48 stg2 kernel: svc: bad direction 256, dropping request
Nov 14 16:37:48 stg2 kernel: svc: short len 4, dropping request
Nov 14 16:38:02 stg2 kernel: svc: bad direction 256,... (2 Replies)
Discussion started by: fishsponge
2 Replies
8. Shell Programming and Scripting
Dears,
I've written a script which allows me to send mails in different formats with different attaches. Now I still want to add a feature to this script. My users would like to be able to receive a "read" or "delivered" receipt for their mails.
The script send mails on behalve of an specific... (1 Reply)
Discussion started by: plelie2
1 Replies
enable(1) General Commands Manual enable(1)
NAME
enable, disable - enable/disable LP printers
SYNOPSIS
printers
[reason]] printers
DESCRIPTION
The command activates the named printers, enabling them to print requests taken by Use to find the status of printers (see lp(1) and
lpstat(1)).
deactivates the named printers, disabling them from printing requests taken by By default, any requests that are currently printing on the
designated printers are reprinted in their entirety either on the same printer or on another member of the same class. Use to find the
status of printers.
Options
recognizes the following options:
Cancel any requests that are currently printing
on any of the designated printers.
Associate a reason with the deactivation of the printers. This reason applies to all printers mentioned up to the next option.
If the option is not present or the option is given without a reason, a default reason is used. reason is reported
by The maximum length of the reason message is 80 bytes. reason message of length greater than 80 bytes is truncated
to 80 bytes.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to (see environ(5)).
International Code Set Support
Single- and multibyte character code sets are supported.
EXAMPLES
Enable printer to accept requests:
Deactivate printer and cancel any logged jobs:
WARNINGS
If the restrict cancel feature (selected by the option -- see lpadmin(1M)) is enabled, and the user is neither administrator nor the owner
of the currently printing request on the designated printer, ignores the option.
and perform their operation on the local system only.
FILES
SEE ALSO
lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M).
enable(1)