UX: cancel: WARNING: "-t" is not a request id or a printer


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems SCO UX: cancel: WARNING: "-t" is not a request id or a printer
# 8  
Follow Up

As a follow up to my problem. I have installed and configured 'netcat'. This is working just fine. I even have starting using it in my office.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #568
Difficulty: Easy
A while loop is a type of loop that requires an initial and a terminating condition.
True or False?

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

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

Using "mailx" command to read "to" and "cc" email addreses from input file

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

Printer configuration Migration from Solaris 10 "LP" to Solaris 11 "CUPS"

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

Urgent request "remove all packages with dpkg"

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

awk command to replace ";" with "|" and ""|" at diferent places in line of file

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

Shell Script to provide "answers" to SSL Cert Request

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

HELP! what does this mean: "svc: bad direction 256, dropping request"

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

how to request a "read" or "delivered" receipt for mails

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
lp(1)							      General Commands Manual							     lp(1)

NAME
lp, cancel - Sends or cancels a printing request SYNOPSIS
lp [-cmsw] [-A options] [-o option] [-d printer] [-n copies] [-t title] [file...] cancel [request_ID...] printer... cancel request_ID... [printer...] STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: lp: XCU5.0 cancel: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
Options for the lp command can appear in any order and can be mixed with filenames. The cancel command has no options. [Tru64 UNIX] Specifies one or more country-specific options. See lpr(1) for details about these options. Makes copies of the files to be printed immediately when lp is invoked. Normally, files are not copied, but are linked whenever possible. If the -c option is not given, be careful not to remove any of the files before the request is finished printing. Note also that in the absence of the -c option any changes made to the named files after the request is made, but before it is printed, are reflected in the printed output. Selects printer as the device to do the printing (also known as the printing destination). Under certain condi- tions (printer unavailability, file space limitations, and so on), requests for specific destinations cannot be accepted. By default, printer is taken from the LPDEST environment variable if it is set. Otherwise, the PRINTER environment variable or a default destination, if one exists, for the system is used. Destination names vary between systems. (See the lpq(1) and lpstat(1) reference pages.) Sends mail (see the mailx(1) reference page) after the files are printed. By default, no mail is sent upon normal completion of the print request. Prints number copies (default of 1). This option is recognized as valid option by the command-line parser, but is not supported on a Tru64 UNIX system. On other systems, multiple -o options can be used to specify printer-dependent or class-dependent options. Sup- presses messages from lp, such as "request id is ...". Prints title on the banner page of the output. Functions like -m (for compatibil- ity reasons). OPERANDS
Specifies one or more files to be printed. Cancel the request with the request ID. Cancel all requests made by you with that printer as the destination. DESCRIPTION
The lp command sends the specified files and associated information (collectively called a request) to a line printer for printing. The cancel command cancels printing requests. The lp command associates a unique ID with each request and prints it on the standard output. If you do not specify a file, or specify a - (dash) in place of a file, lp accepts standard input at this point in the list of files. The cancel command cancels printer requests made by the lp or lpr command (see lpr(1)). You can specify either request_ID, to cancel the request with that request ID, or printer, to cancel all requests made by you with that printer as the destination. (If you are operating with superuser authority, all requests to that printer are canceled, including those of other users.) A specified request is canceled even if it is currently printing, and the printer is freed to print the next available request. The cancel command is marked LEGACY in XCU Issue 5. You can also use the request ID to find the status of the request. (See the lpq(1) and lpstat(1) reference pages.) EXIT STATUS
The following exit values are returned by both the cancel and lp commands: Successful completion. An error occurred. ENVIRONMENT VARIABLES
The following environment variables affect the execution of lp and cancel: Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationaliza- tion variables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the format of date and time strings displayed in the banner. Determines the output device destination if the -d option is not used with the lp command. Determines the location of message catalogues for the processing of LC_MESSAGES. Determines the output device destination if the -d option is not used with lp command and the LPDEST environment variable is not set. FILES
Printer description file Spool directories Daemon control files Data files specified in cf files Temporary copies of cf files Minimum free space to leave Line printer devices Socket for local requests SEE ALSO
Commands: lpc(8), lpd(8), lpq(1), lpr(1), lprm(1), lpstat(1), mailx(1) Others: i18n_printing(5) Standards: standards(5) lp(1)

Featured Tech Videos