guirestartjob.c
来自「这个是boot gui的程序」· C语言 代码 · 共 43 行
C
43 行
/*
* Start of Zoran Standard Header
* Copyright (c) 2006 Zoran Corporation
*
*
* All rights reserved. Proprietary and confidential.
*
* DESCRIPTION for guirestartjob.c
* Job-restart action routine.
*
* NEW HISTORY COMMENT (description must be followed by a blank line)
* <Enter change description here>
* ===== HISTORY of changes in //depot/imgeng/sw/se_gw/gui/guirestartjob.c
*
* 24/Jan/06 #1 dstrauss Created.
*
*
* End of Zoran Standard Header
*/
#include "standard.h"
#include "propman.h"
#include "printdrv.h"
#include "guistatus.h"
/* Restart a job which is stalled because of an error.
*/
void GUIActionRestartJob(void)
{
unsigned int currentError;
currentError = GUIGetError();
if (currentError & OM_PAPER_OUT_ERROR ) {
currentError |= OM_PAPER_OUT_RESUME;
OMsetInt(omPRINTERSTATUS, OMCURRENT, currentError);
} else if (currentError & OM_PAPER_JAM_ERROR) {
currentError |= OM_PAPER_JAM_RESUME;
OMsetInt(omPRINTERSTATUS, OMCURRENT, currentError);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?