Xerox M118i System Administration Guide - Page 51

Delete lprm, Command format, Command options

Page 51 highlights

Printing To print a file named file1 to a printer named fxPS as an A4-sized (210 × 297 mm/ 8.3 ×11.7 inches) duplex job, enter the following command: %lpr -PfxPS -C,DUP,A4 file1 Delete (lprm) The lprm command is used to delete print data. Command format /usr/ucb/lprm [-P printer name] job number Command options The following command options are available. • -P printer name This option specifies the printer name registered with /etc/printcap. If this option is omitted, the default printer lp will be used. • job number This option specifies the job number of the print data to be deleted. A job number is a serial number between 1 and 999 determined by the workstation. These numbers can be checked by issuing an lpq command. Instead of a job number, you can specify a user name or "-". This option is invalid in the non-spool mode. • User name is only valid when you log-in as a superuser. When this option is taken, all the print data you specify will be deleted. This option is invalid in the non-spool mode. •- You can delete all your print data by specifying this option. If this option is issued by a superuser, all the print data received by the machine can be deleted. This option is invalid in the non-spool mode. NOTE: Print data which consist of multiple files sent in one print instruction cannot be deleted file by file. All the files will be deleted together. NOTE: This command is invalid if no options are specified, or if there is no print data which matches as the option. NOTE: You can only delete print data from the same workstation used to send the print data. You cannot delete print data sent by other workstations. NOTE: When a command to delete print data is received, the file will be deleted even if it is in the process of being printed. Any unprinted data will be cancelled after the file has been deleted. Xerox CopyCentre/WorkCentre 118 System Administration Guide 51

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

Printing
Xerox CopyCentre/WorkCentre 118 System Administration Guide
51
To print a file named file1 to a printer named fxPS as an A4-sized (210 × 297 mm/
8.3 ×11.7 inches) duplex job, enter the following command:
%lpr -PfxPS -C,DUP,A4 file1
Delete (lprm)
The lprm command is used to delete print data.
Command format
/usr/ucb/lprm [-P printer name] job number
Command options
The following command options are available.
• -P printer name
This option specifies the printer name registered with /etc/printcap. If this option is
omitted, the default printer lp will be used.
• job number
This option specifies the job number of the print data to be deleted. A job number is a
serial number between 1 and 999 determined by the workstation. These numbers can
be checked by issuing an lpq command.
Instead of a job number, you can specify a user name or “-”.
This option is invalid in the non-spool mode.
User name
is only valid when you log-in as a superuser. When this option is taken,
all the print data you specify will be deleted.
This option is invalid in the non-spool mode.
-
You can delete all your print data by specifying this option. If this option is issued by
a superuser, all the print data received by the machine can be deleted.
This option is invalid in the non-spool mode.
NOTE:
Print data which consist of multiple files sent in one print instruction cannot be
deleted file by file. All the files will be deleted together.
NOTE:
This command is invalid if no options are specified, or if there is no print data
which matches as the option.
NOTE:
You can only delete print data from the same workstation used to send the
print data. You cannot delete print data sent by other workstations.
NOTE:
When a command to delete print data is received, the file will be deleted even
if it is in the process of being printed. Any unprinted data will be cancelled after the file
has been deleted.