Compuprint 914 Specifikace Strana 300

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 299
6-12
Guide to Printers and Printing
## Print the banner page
Some applications, when run with certain printers, may require that you turn off page
breaking. If you must turn off page breaking, you can modify the standard interface
program (/usr/lib/lp/model/standard) at this line:
if [ –n ”${FF}” –a ”no” = ”${nofilebreak}” ]
Change the no to yes to turn off page breaking.
5. Specify that the custom interface script print all user–related error messages to the
standard output or to the standard error output. The print service prints standard output
errors on the page and mails standard error to the user.
6. Specify that when printing is complete, the interface script exits with a code advising the
status of the print job. The Exit Codes Table, Exit Codes on page 6-13, describes how
the print service interprets exit codes.
One way of alerting the administrator to a printer fault is to exit with a code of 129.
Unfortunately, if the interface script exits, the print service reprints the print job from the
beginning after the fault is cleared. To get an alert to the administrator without reprinting
the entire job, specify that the interface script send a fault message to the print service,
but wait for the fault to clear. When the fault clears, the interface script resumes printing
the job. When the job finishes printing, the interface script can exit with zero as if the fault
never occurred. An added advantage is that the interface script can detect when the fault
is cleared automatically so that the administrator does not have to re–enable the printer.
To specify that fault messages be sent to the print service, use the lp.tell command. The
standard printer interface code calls the lp.tell command with the LPTELL shell
variable. The lp.tell program sends its standard input to the print service. The print
service forwards the message as an alert to the administrator. If its standard input is
empty, lp.tell does not initiate an alert. Examine the code immediately following these
comments in the standard interface script for an example of how to use the lp.tell
(LPTELL) program:
# Here’s where we set up the $LPTELL program to capture
# fault messages.
#
# Here’s where we print the file.
With the special exit code 129 or lp.tell, the interface script need not disable the printer
itself. Your interface script can disable the printer directly, but doing so overrides the
fault–alerting mechanism. Alerts are sent only if the print service detects that the printer
has faulted, and the special exit code and lp.tell program are its main detection tools.
If the print service must interrupt the printing of a file at any time, it kills the interface
script with a signal 15 (see the signal command and the kill command for more
information).
If the interface script stops upon from receipt of any other signal, the print service
assumes that future print jobs are not affected and continues to use the printer. The print
service notifies the person who submitted the print job that the job did not finish
successfully.
The signals SIGHUP, SIGINT, SIGQUI, and SIGPIP (trap numbers 1, 2, 3, and 13) are
ignored when the interface is invoked. The standard interface script changes this to trap
these signals at appropriate times, interprets these signals to mean that the printer has a
problem, and issues a fault.
Zobrazit stránku 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 373 374

Komentáře k této Příručce

Žádné komentáře

Massive 54380/31/10 Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Lichtpunkte Massive 54380/31/10.
Wir stellen 1 PDF-Handbücher Massive 54380/31/10 zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Handbuch


Massive 54380/31/10 Handbuch (1 Seiten)


Marke: Massive | Kategorie: Lighting spots | Größe: 0.72 MB |

 

Inhaltsverzeichnis





Weitere Produkte und Handbücher für Lichtpunkte Massive

Modelle Dokumententyp
Borum Handbuch Massive Spot light 51174/43/10, 1 Seiten
55200/13/90 Handbuch   Massive Wall light 55080/48/90, 2 Seiten
53090/31/90 Handbuch Massive Wall light 53090/31/90, 2 Seiten
55945/17/90 Handbuch Massive Wall light 55945/17/90, 1 Seiten
50950/17/10 Handbuch Massive Spot light 50950/17/10, 1 Seiten
55945/17/10 Handbuch Massive Wall light 55945/17/10, 1 Seiten
54490/06/90 Handbuch   Massive Wall light 54490/06/90, 2 Seiten
56280/48/10 Handbuch   Massive Wall light 56280/48/10, 1 Seiten
Marcos Handbuch Massive Spot light 51158/17/10, 1 Seiten
55200/13/30 Handbuch Massive Spot light 55200/13/30, 1 Seiten
55541/30/10 Handbuch Massive Wall light 55541/34/10, 1 Seiten
51160/43/10 Handbuch Massive Wall light 51160/43/10, 1 Seiten
55600/17/90 Handbuch   Massive Wall light 55600/17/90, 2 Seiten
52110/17/10 Handbuch Massive Spot light 52110/17/10, 1 Seiten
ARTEMIS Handbuch   Massive Artemis, 3 Seiten
53040/48/10 Handbuch   Massive Wall light 53040/48/10, 1 Seiten
53090/31/30 Handbuch Massive Wall light 53090/31/30, 1 Seiten
Sapphire Handbuch Massive Recessed spot light 59562/11/10, 2 Seiten
51170/93/10 Handbuch Massive Spot light 51170/43/10, 1 Seiten
52110/17/90 Handbuch Massive Wall light 52110/17/90, 1 Seiten