[AIX 운영 체제와 장치 관리 54] CDE와 인쇄 작업 — 데스크톱 자동 시작, dtlogin, 디스플레이와 터미널, Xservers·Xconfig, qprt·qcan·qpri·qmov·qhld

핵심 정리

  • CDE 자동 시작은 root가 smit dtconfig나 /usr/dt/bin/dtconfig -e(끄기 -d)로 설정하고 시스템을 다시 시작합니다. 수동 시작은 /usr/dt/bin/dtlogin -daemon, 중지는 /var/dt/Xpid의 PID에 kill -term입니다.
  • 데스크톱 로그인 때는 .profile이나 .login을 자동으로 읽지 않으므로 사용자별 환경 변수는 홈 디렉터리의 .dtprofile에 둡니다.
  • 디스플레이 설정은 /usr/dt/config의 Xservers·Xconfig를 /etc/dt/config로 복사해 고칩니다. Xconfig의 디스플레이 이름은 콜론과 마침표 대신 밑줄을 쓰며(예: claaa_0), 디스플레이마다 다른 자원 파일, 시작·재설정 스크립트, 환경 변수를 둘 수 있습니다.
  • qprt로 인쇄를 요청하며 -P 큐, -N 부수, -Q 용지, -f 필터, -z 회전, -# v 플래그 검증 등을 씁니다.
  • 로컬 큐에서만 qpri로 우선순위(기본 15, 일반 사용자 최대 20, root와 printq 그룹 최대 30)를 바꾸고, qmov로 다른 큐로 옮기며, qhld로 보류하고 -r로 해제합니다. 원격 작업은 우선순위 지정, 이동, 보류를 할 수 없습니다.
항목 내용
버전 AIX 6.1 (인쇄 작업 절이 명령·SMIT·WSM별로 나뉨)
원문 Operating system and device management — 5.3판 312317쪽(인쇄는 다른 장), 6.1판 569582쪽
관련 명령어 smit dtconfig, /usr/dt/bin/dtconfig -e, /usr/dt/bin/dtconfig -d, /usr/dt/bin/dtlogin -daemon, X -query, qprt, qcan, qpri, qmov, qhld, qchk, lpr, lp, lprm, cancel, wsm printers
관련 파일 /var/dt/Xpid, .dtprofile, /usr/dt/config/sys.dtprofile, /usr/dt/config/Xservers, /etc/dt/config/Xservers, /etc/dt/config/Xconfig, Xstartup, Xreset, Xsetup

CDE(Common Desktop Environment)로 네트워크의 장치와 도구가 어디 있는지 몰라도 접근할 수 있습니다. 객체를 끌어다 놓기만 하면 응용 프로그램 사이에서 데이터를 주고받을 수 있습니다.

전에는 복잡한 명령행 구문이 필요했던 많은 작업을 더 쉽고 플랫폼마다 비슷하게 할 수 있습니다. 예를 들어 응용 프로그램을 중앙에서 구성해 사용자에게 배포할 수 있습니다. 지원하는 사용자의 응용 프로그램 보안, 가용성, 상호 운용성도 중앙에서 관리할 수 있습니다.

참고: CDE 1.0 도움말, 웹 기반 문서, 인쇄 설명서에서는 데스크톱을 Common Desktop Environment, AIXwindows 데스크톱, CDE 1.0, 또는 데스크톱이라고 부를 수 있습니다.

영어 원문

Common Desktop Environment

With the Common Desktop Environment (CDE), you can access networked devices and tools without having to be aware of their location. You can exchange data across applications by simply dragging and dropping objects.

Many tasks that previously required complex command line syntax can be done more easily and similarly from platform to platform. For example, you can centrally configure and distribute applications to users. You can also centrally manage the security, availability, and interoperability of applications for the users you support.

Note: The Common Desktop Environment (CDE) 1.0 Help volumes, Web-based documentation, and hardcopy manuals may refer to the desktop as the Common Desktop Environment, the AIXwindows desktop, CDE 1.0, or the desktop.

데스크톱 자동 시작 켜기와 끄기

시스템을 켤 때 CDE가 자동으로 시작하도록 설정하면 더 편할 수 있습니다.

Web-based System Manager(wsm을 입력하고 System 선택), SMIT(System Management Interface Tool), 명령행으로 할 수 있습니다.

전제 조건

데스크톱 자동 시작을 켜거나 끄려면 root 사용자 권한이 있어야 합니다.

다음 표를 보고 데스크톱 자동 시작을 켜거나 끄는 방법을 정합니다.

작업 SMIT 빠른 경로나 명령
데스크톱 자동 시작 켜기 SMIT 빠른 경로 smit dtconfig, 또는 명령 /usr/dt/bin/dtconfig -e
데스크톱 자동 시작 끄기 SMIT 빠른 경로 smit dtconfig, 또는 명령 /usr/dt/bin/dtconfig -d

참고: 이 작업을 마친 뒤 시스템을 다시 시작합니다.

영어 원문

Enabling and disabling desktop autostart

You might find it more convenient to set up your system to start Common Desktop Environment automatically when the system is turned on.

You can do this through the Web-based System Manager (type wsm, and select System), through the System Management Interface Tool (SMIT), or from the command line.

text
Prerequisites

You must have root user authority to enable or disable desktop autostart.

Consult the following table to determine how to enable or disable desktop autostart.

Task SMIT Fast Path Command or File
Enabling the desktop autostart 1 smit dtconfig /usr/dt/bin/dtconfig -e
Disabling the desktop autostart 1 smit dtconfig /usr/dt/bin/dtconfig -d

Note: Restart the system after completing this task.

CDE 수동 시작

다음 절차로 CDE를 수동으로 시작합니다.

  1. root로 시스템에 로그인합니다.
  2. 명령행에 다음을 입력합니다.
text
/usr/dt/bin/dtlogin -daemon

Desktop Login 화면이 표시됩니다. 로그인하면 데스크톱 세션이 시작됩니다.

영어 원문

Starting the Common Desktop Environment manually

Use this procedure to start the Common Desktop Environment manually.

  1. Log in to your system as root.

  2. At the command line, type the following:

text
/usr/dt/bin/dtlogin -daemon

A Desktop Login screen is displayed. When you log in, a desktop session starts.

CDE 수동 중지

로그인 관리자(Login Manager)를 수동으로 멈추면 로그인 관리자가 시작한 모든 X 서버와 데스크톱 세션이 멈춥니다.

  1. 터미널 에뮬레이터 창을 열고 root로 로그인합니다.
  2. 다음을 입력해 로그인 관리자의 프로세스 ID를 얻습니다.
text
cat /var/dt/Xpid
  1. 다음을 입력해 로그인 관리자를 멈춥니다.
text
kill -term process_id
영어 원문

Stopping the Common Desktop Environment manually

When you manually stop the Login Manager, all X Servers and desktop sessions that the Login Manager started are stopped.

  1. Open a terminal emulator window, and log in as root.

  2. Obtain the process ID of the Login Manager by typing the following:

text
cat /var/dt/Xpid
  1. Stop the Login Manager by typing:
text
kill -term process_id

데스크톱 프로필 수정

데스크톱에 로그인하면 셸 환경 파일(.profile이나 .login)을 자동으로 읽지 않습니다. 데스크톱은 로그인하기 전에 X 서버를 실행하므로 .profile이나 .login 파일이 하던 기능은 데스크톱의 로그인 관리자가 제공해야 합니다.

사용자별 환경 변수는 /홈 디렉터리/.dtprofile에 설정합니다. 이 파일의 템플릿은 /usr/dt/config/sys.dtprofile에 있습니다. 데스크톱에만 적용되는 변수와 셸 명령은 .dtprofile에 둡니다. 셸 환경 파일을 포함하려면 .dtprofile 끝에 줄을 더합니다.

시스템 전체 환경 변수는 로그인 관리자 구성 파일에 설정할 수 있습니다. 환경 변수 구성에 관한 자세한 내용은 Common Desktop Environment 1.0: Advanced User's and System Administrator's Guide를 봅니다.

영어 원문

Modifying desktop profile

When you log in to the desktop, the shell environment file (.profile or .login) is not automatically read. The desktop runs the X Server before you log in, so the function provided by the .profile file or the .login file must be provided by the desktop's Login Manager.

User-specific environment variables are set in /Home Directory/.dtprofile. A template for this file is located in /usr/dt/config/sys.dtprofile. Place variables and shell commands in .dtprofile that apply only to the desktop. Add lines to the end of the .dtprofile to incorporate the shell environment file.

System-wide environment variables can be set in the Login Manager configuration files. For details on configuring environment variables, see the Common Desktop Environment 1.0: Advanced User's and System Administrator's Guide.

CDE용 디스플레이와 터미널 추가·제거

CDE용 디스플레이와 터미널을 더하고 뺄 수 있습니다.

로그인 관리자는 로컬 비트맵이나 그래픽 콘솔 하나가 있는 시스템에서 시작할 수 있습니다. 그러나 다른 여러 상황도 가능합니다(원문 그림 15 참조). 다음에서 CDE를 시작할 수 있습니다.

  • 로컬 콘솔
  • 원격 콘솔
  • 네트워크의 호스트 시스템에서 실행되는 비트맵과 문자 디스플레이 X 터미널 시스템

X 터미널 시스템은 X 서버만 실행하는 디스플레이 장치, 키보드, 마우스로 이루어집니다. CDE를 포함한 클라이언트는 네트워크의 호스트 시스템 하나 이상에서 실행됩니다. 클라이언트 출력은 X 터미널 디스플레이로 보내집니다.

다음 로그인 관리자 구성 작업이 여러 가능한 구성을 지원합니다.

  • 로컬 디스플레이 제거
  • ASCII나 문자 디스플레이 터미널 추가

워크스테이션을 X 터미널로 쓰려면 명령행에 다음을 입력합니다.

text
/usr/bin/X11/X -query hostname

X 터미널 역할을 하는 워크스테이션의 X 서버는 다음을 해야 합니다.

  • XDMCP와 -query 명령행 옵션을 지원합니다.
  • 터미널 호스트에 (/etc/X*.hosts에서) xhost 권한을 줍니다.

로컬 디스플레이를 빼려면 /usr/dt/config 디렉터리의 Xservers 파일에서 그 항목을 지웁니다.

문자 디스플레이 터미널, 곧 ASCII 터미널은 터미널이 비트맵 장치가 아닌 구성입니다.

비트맵 디스플레이가 없을 때 ASCII나 문자 디스플레이 콘솔을 더하려면 다음 단계를 따릅니다.

  1. /etc/dt/config/Xservers 파일이 없으면 /usr/dt/config/Xservers 파일을 /etc/dt/config 디렉터리로 복사합니다.
  2. Xservers 파일을 /etc/dt/config로 복사해야 했다면 /etc/dt/config/Xconfig의 Dtlogin.servers: 줄을 다음과 같이 바꾸거나 더합니다.
text
Dtlogin*servers: /etc/dt/config/Xservers
  1. /etc/dt/config/Xservers에서 X 서버를 시작하는 줄을 주석 처리합니다.
text
# * Local local@console /path/X :0

그러면 Login Option Menu가 꺼집니다. 4. 로그인 관리자 구성 파일을 다시 읽습니다.

비트맵 디스플레이가 있을 때 문자 디스플레이 콘솔을 더하려면 다음 단계를 따릅니다.

  1. /etc/dt/config/Xservers 파일이 없으면 /usr/dt/config/Xservers 파일을 /etc/dt/config 디렉터리로 복사합니다.
  2. Xservers 파일을 /etc/dt/config로 복사해야 했다면 /etc/dt/config/Xconfig의 Dtlogin.servers: 줄을 다음과 같이 바꾸거나 더합니다.
text
Dtlogin*servers: /etc/dt/config/Xservers
  1. /etc/dt/config/Xservers에서 X 서버를 시작하는 줄을 다음과 같이 고칩니다.
text
* Local local@none /path/X :0
  1. 로그인 관리자 구성 파일을 다시 읽습니다.
영어 원문

Adding and removing displays and terminals for the Common Desktop Environment

You can add and remove displays and terminals for the Common Desktop Environment.

The Login Manager can be started from a system with a single local bitmap or graphics console. Many other situations are also possible, however (see the following figure). You can start the Common Desktop Environment from:

  • Local consoles

  • Remote consoles

  • Bitmap and character-display X terminal systems running on a host system on the network

An X terminal system consists of a display device, keyboard, and mouse that runs only the X Server. Clients, including the Common Desktop Environment, are run on one or more host systems on the networks. Output from the clients is directed to the X terminal display.

The following Login Manager configuration tasks support many possible configurations:

  • Removing a local display

  • Adding an ASCII or character-display terminal

To use a workstation as an X terminal, type the following at a command line:

text
/usr/bin/X11/X -query hostname

The X Server of the workstation acting as an X terminal must:

  • Support XDMCP and the -query command-line option.

  • Provide xhost permission (in /etc/X*.hosts) to the terminal host.

To remove a local display, remove its entry in the Xservers file in the /usr/dt/config directory.

A character-display terminal, or ASCII terminal, is a configuration in which the terminal is not a bitmap device.

To add an ASCII or character-display console if no bitmap display is present, perform the following steps:

  1. If the /etc/dt/config/Xservers file does not exist, copy the /usr/dt/config/Xservers file to the /etc/dt/config directory. Figure 15. CDE Interface Points. This illustration shows the connection points between a console, a network, a bitmap

  2. If you have to copy the Xservers file to /etc/dt/config, change or add the Dtlogin.servers: line in /etc/dt/config/Xconfig to:

text
Dtlogin*servers: /etc/dt/config/Xservers
  1. Comment out the line in /etc/dt/config/Xservers that starts the X Server.
text
# * Local local@console /path/X :0

This disables the Login Option Menu.

  1. Read the Login Manager configuration files.

To add a character-display console if a bitmap display exists, perform the following steps:

  1. If the /etc/dt/config/Xservers file does not exist, copy the /usr/dt/config/Xservers file to the /etc/dt/config directory.

  2. If you have to copy the Xservers file to /etc/dt/config, change or add the Dtlogin.servers: line in /etc/dt/config/Xconfig to:

text
Dtlogin*servers: /etc/dt/config/Xservers
  1. Edit the line in /etc/dt/config/Xservers that starts the X Server to:
text
* Local local@none /path/X :0
  1. Read the Login Manager configuration files.

CDE용 디스플레이 장치 맞춤 설정

CDE 로그인 관리자를 디스플레이 장치가 둘 이상인 시스템에서 실행하도록 구성할 수 있습니다.

시스템에 디스플레이가 여럿 있으면 다음 구성 요구 사항을 갖춰야 합니다.

  • 각 디스플레이에서 서버를 시작해야 합니다.
  • 각 디스플레이에 No Windows Mode를 구성해야 합니다.

디스플레이마다 서로 다른 dtlogin 자원을 써야 하거나 쓰는 것이 바람직할 수 있습니다.

디스플레이 장치마다 서로 다른 시스템 전체 환경 변수를 써야 하거나 쓰는 것이 바람직할 수도 있습니다.

각 디스플레이 장치에서 서버 시작

다음 절차로 각 디스플레이 장치에서 서버를 시작합니다.

  1. /etc/dt/config/Xservers 파일이 없으면 /usr/dt/config/Xservers 파일을 /etc/dt/config 디렉터리로 복사합니다.
  2. Xservers 파일을 /etc/dt/config로 복사해야 했다면 /etc/dt/config/Xconfig의 Dtlogin.servers: 줄을 다음과 같이 바꿉니다.
text
Dtlogin*servers: /etc/dt/config/Xservers
  1. /etc/dt/config/Xservers를 고쳐 각 디스플레이 장치에서 X 서버를 시작합니다.

    서버를 시작하는 일반 구문은 다음과 같습니다.

text
DisplayName DisplayClass DisplayType [ @ite ] Command

ITE(Internal Terminal Emulator)가 연결된 디스플레이만 No Windows Mode로 동작할 수 있습니다. No Windows Mode는 디스플레이의 데스크톱을 잠시 끄고, getty 프로세스가 아직 시작되지 않았으면 실행합니다. getty 프로세스는 터미널 형식을 설정하는 UNIX 프로그램으로 로그인 과정에 쓰입니다.

그래서 로그인해 CDE에서 할 수 없는 작업을 할 수 있습니다. 로그아웃하면 디스플레이 장치에서 데스크톱이 다시 시작됩니다. 디스플레이 장치에서 getty 프로세스가 아직 실행 중이 아니면 No Windows Mode를 시작할 때 로그인 관리자가 하나를 시작합니다.

기본 구성에서 ite를 생략하면 display:0이 ITE(/dev/console)와 연결됩니다.

다른 디스플레이를 ITE로 설정

다음 절차로 다른 디스플레이를 ITE로 설정합니다.

다른 디스플레이를 ITE로 지정하려면 다음을 합니다.

  • ITE 디스플레이에서 ITE를 문자 장치로 설정합니다.
  • 다른 모든 디스플레이에서 ITE를 none으로 설정합니다.

다음 예는 sysaaa:0의 로컬 디스플레이 셋에서 서버를 시작하는 Xserver 파일 항목입니다. 디스플레이 :0이 콘솔(ITE)이 됩니다.

text
sysaaa:0 Local local /usr/bin/X11/X :0
sysaaa:1 Local local /usr/bin/X11/X :1
sysaaa:2 Local local /usr/bin/X11/X :2

호스트 sysbbb에서는 비트맵 디스플레이 :0이 ITE가 아니며 ITE는 장치 /dev/ttyi1과 연결됩니다. 다음 Xserver 파일 항목은 두 비트맵 디스플레이에서 서버를 시작하고 :1에서 No Windows Mode를 켭니다.

text
sysaaa:0 Local local@none /usr/bin/X11/X :0
sysaaa:1 Local local@ttyi1 /usr/bin/X11/X :1

Xconfig에서 디스플레이 이름 설정

/etc/dt/config/Xconfig의 디스플레이 이름에는 일반 hostname:0 구문을 쓸 수 없습니다.

Xconfig에서 디스플레이 이름을 지정하려면 다음을 합니다.

  • 콜론 대신 밑줄을 씁니다.
  • 정규화된 호스트 이름에서는 마침표 대신 밑줄을 씁니다.

다음 예는 Xconfig에서 디스플레이 이름을 설정한 것입니다.

text
Dtlogin.claaa_0.resource: value
Dtlogin.sysaaa_prsm_ld_edu_0.resource: value

디스플레이마다 다른 로그인 관리자 자원 쓰기

디스플레이마다 다른 로그인 관리자 자원을 쓰려면 다음 단계를 따릅니다.

  1. /etc/dt/config/Xconfig 파일이 없으면 /usr/dt/config/Xconfig 파일을 /etc/dt/config 디렉터리로 복사합니다.
  2. /etc/dt/config/Xconfig 파일을 고쳐 디스플레이마다 다른 자원 파일을 지정합니다. 예:
text
Dtlogin.DisplayName.resources: path / file

path는 쓸 Xresource 파일의 경로 이름이고 file은 쓸 Xresource 파일의 파일 이름입니다. 3. Xconfig 파일에 지정한 자원 파일을 각각 만듭니다. 언어별 Xresources 파일은 /usr/dt/config/LANG(언어 디렉터리)에 설치됩니다. 4. 각 파일에 그 디스플레이용 dtlogin 자원을 둡니다.

다음 예는 디스플레이 셋에 서로 다른 자원 파일을 지정하는 Xconfig 파일 줄입니다.

text
Dtlogin.sysaaa_0.resources: /etc/dt/config/Xresources0
Dtlogin.sysaaa_1.resources: /etc/dt/config/Xresources1
Dtlogin.sysaaa_2.resources: /etc/dt/config/Xresources2

디스플레이마다 다른 스크립트 실행

다음 절차로 특정 디스플레이에 특정 스크립트를 실행합니다.

  1. /etc/dt/config/Xconfig 파일이 없으면 /usr/dt/config/Xconfig 파일을 /etc/dt/config 디렉터리로 복사합니다.
  2. /etc/dt/config/Xconfig의 startup, reset, setup 자원으로 디스플레이마다 다른 스크립트를 지정합니다(이 파일은 Xstartup, Xreset, Xsetup 파일 대신 실행됩니다).
text
Dtlogin*DisplayName*startup: / path / file
Dtlogin*DisplayName*reset: / path / file
Dtlogin*DisplayName*setup: / path / file

path는 쓸 파일의 경로 이름이고 file은 쓸 파일의 이름입니다. startup 스크립트는 사용자가 로그인한 뒤, CDE 세션이 시작되기 전에 root로 실행됩니다.

/usr/dt/config/Xreset 스크립트로 Xstartup 파일에서 한 설정을 되돌릴 수 있습니다. Xreset 파일은 사용자가 로그아웃할 때 실행됩니다.

다음 예는 디스플레이 둘에 서로 다른 스크립트를 지정하는 Xconfig 파일 줄입니다.

text
Dtlogin.sysaaa_0*startup:   /etc/dt/config/Xstartup0
Dtlogin.sysaaa_1*startup:    /etc/dt/config/Xstartup1
Dtlogin.sysaaa_0*setup:      /etc/dt/config/Xsetup0
Dtlogin.sysaaa_1*setup:      /etc/dt/config/Xsetup1
Dtlogin.sysaaa_0*reset:      /etc/dt/config/Xreset0
Dtlogin.sysaaa_1*reset:      /etc/dt/config/Xreset1

디스플레이마다 다른 시스템 전체 환경 변수 설정

다음 절차로 디스플레이마다 시스템 전체 환경 변수를 맞춥니다.

디스플레이마다 다른 시스템 전체 환경 변수를 설정하려면 다음을 합니다.

  1. /etc/dt/config/Xconfig 파일이 없으면 /usr/dt/config/Xconfig 파일을 /etc/dt/config 디렉터리로 복사합니다.
  2. /etc/dt/config/Xconfig에서 디스플레이마다 따로 environment 자원을 설정합니다.
text
Dtlogin*DisplayName*environment: value

디스플레이별 환경 변수에는 다음 규칙이 적용됩니다.

  • 변수 대입은 공백이나 탭으로 구분합니다.
  • environment 자원으로 TZ와 LANG을 설정하지 않습니다.
  • Xconfig 파일 안에서는 셸 처리가 없습니다.

다음 예는 디스플레이 둘의 변수를 설정하는 Xconfig 파일 줄입니다.

text
Dtlogin*syshere_0*environment:EDITOR=vi SB_DISPLAY_ADDR=0xB00000
Dtlogin*syshere_1*environment: EDITOR=emacs \
         SB_DISPLAY_ADDR=0xB00000
영어 원문

Displaying device customization for the Common Desktop Environment

You can configure the Common Desktop Environment Login Manager to run on systems with two or more display devices.

When a system includes multiple displays, the following configuration requirements must be met:

  • A server must be started on each display.

  • No Windows Mode must be configured for each display.

It might be necessary or desirable to use different dtlogin resources for each display.

It might also be necessary or desirable to use different system-wide environment variables for each display device.

Starting the server on each display device

Start a server on each display device using this procedure.

  1. If the /etc/dt/config/Xservers file does not exist, copy the /usr/dt/config/Xservers file to the /etc/dt/config directory.

  2. If you have to copy the Xservers file to /etc/dt/config, change the Dtlogin.servers: line in /etc/dt/config/Xconfig to:

text
Dtlogin*servers: /etc/dt/config/Xservers
  1. Edit /etc/dt/config/Xservers to start an X Server on each display device.

The general syntax for starting the server is:

text
DisplayName DisplayClass DisplayType [ @ite ] Command

Only displays with an associated Internal Terminal Emulator (ITE) can operate in No Windows Mode. No Windows Mode temporarily disables the desktop for the display and runs a getty process if one is not already started. A getty process is a UNIX program that sets terminal type and is used in the login process.

This allows you to log in and perform tasks not possible under the Common Desktop Environment. When you log out, the desktop is restarted for the display device. If a getty process is not already running on a display device, Login Manager starts one when No Windows Mode is initiated.

In the default configuration, when ite is omitted, display:0 is associated with the ITE (/dev/console).

Setting up a different display as ITE

Use this procedure to set up a different display as ITE.

To specify a different display as ITE:

  • On the ITE display, set ITE to the character device.

  • On all other displays, set ITE to none.

The following examples show entries in the Xserver file which start a server on three local displays on sysaaa:0. Display :0 will be the console (ITE).

text
sysaaa:0 Local local /usr/bin/X11/X :0
sysaaa:1 Local local /usr/bin/X11/X :1
sysaaa:2 Local local /usr/bin/X11/X :2

On host sysbbb, the bitmap display :0 is not the ITE; the ITE is associated with device /dev/ttyi1. The following entries in the Xserver file start servers on the two bitmap displays with No Windows Mode enabled on :1.

text
sysaaa:0 Local local@none /usr/bin/X11/X :0
sysaaa:1 Local local@ttyi1 /usr/bin/X11/X :1

Setting up the display name in Xconfig

You cannot use regular hostname:0 syntax for the display name in /etc/dt/config/Xconfig.

To specify the display name in Xconfig:

  • Use an underscore in place of the colon.

  • In a fully qualified host name, use underscores in place of the periods.

The following example shows the setup of the display name in Xconfig:

text
Dtlogin.claaa_0.resource: value
Dtlogin.sysaaa_prsm_ld_edu_0.resource: value

Using different Login Manager resources for each display

To use different Login Manager resources for each display, perform the following steps:

  1. If the /etc/dt/config/Xconfig file does not exist, copy the /usr/dt/config/Xconfig file to the /etc/dt/config directory.

  2. Edit the /etc/dt/config/Xconfig file to specify a different resource file for each display. For example:

text
Dtlogin.DisplayName.resources: path / file

where path is the path name of the Xresource files to be used, and file is the file name of the Xresource files to be used.

  1. Create each of the resource files specified in the Xconfig file. A language-specific Xresources file is installed in /usr/dt/config/<LANG>.

  2. In each file, place the dtlogin resources for that display.

The following example shows lines in the Xconfig file which specify different resource files for three displays:

text
Dtlogin.sysaaa_0.resources: /etc/dt/config/Xresources0
Dtlogin.sysaaa_1.resources: /etc/dt/config/Xresources1
Dtlogin.sysaaa_2.resources: /etc/dt/config/Xresources2

Running different scripts for each display

Use this procedure to run a particular script for a specific display.

  1. If the /etc/dt/config/Xconfig file does not exist, copy the /usr/dt/config/Xconfig file to the /etc/dt/config directory.

  2. Use the startup, reset, and setup resources in /etc/dt/config/Xconfig to specify different scripts for each display (these files are run instead of the Xstartup, Xreset, and Xsetup files):

text
Dtlogin*DisplayName*startup: / path / file
Dtlogin*DisplayName*reset: / path / file
Dtlogin*DisplayName*setup: / path / file

where path is the path name of the file to be used, and file is the file name of the file to be used. The startup script is run as root after the user has logged in, before the Common Desktop Environment session is started.

The script /usr/dt/config/Xreset can be used to reverse the setting made in the Xstartup file. The Xreset file runs when the user logs out.

The following example shows lines in the Xconfig file which specify different scripts for two displays:

text
Dtlogin.sysaaa_0*startup:   /etc/dt/config/Xstartup0
Dtlogin.sysaaa_1*startup:    /etc/dt/config/Xstartup1
Dtlogin.sysaaa_0*setup:      /etc/dt/config/Xsetup0
Dtlogin.sysaaa_1*setup:      /etc/dt/config/Xsetup1
Dtlogin.sysaaa_0*reset:      /etc/dt/config/Xreset0
Dtlogin.sysaaa_1*reset:      /etc/dt/config/Xreset1

Setting different system-wide environment variables for each display:

Use this procedure to customize system-wide environment variables to each display.

To set different system-wide environment variables for each display:

  1. If the /etc/dt/config/Xconfig file does not exist, copy the /usr/dt/config/Xconfig file to the /etc/dt/config directory.

  2. Set the environment resource in /etc/dt/config/Xconfig separately for each display:

text
Dtlogin*DisplayName*environment: value

The following rules apply to environment variables for each display:

  • Separate variable assignments with a space or tab.

  • Do not use the environment resource to set TZ and LANG.

  • There is no shell processing within the Xconfig file.

The following example shows lines in the Xconfig file which set variables for two displays:

text
Dtlogin*syshere_0*environment:EDITOR=vi SB_DISPLAY_ADDR=0xB00000
Dtlogin*syshere_1*environment: EDITOR=emacs \
         SB_DISPLAY_ADDR=0xB00000

인쇄와 인쇄 작업

AIX의 인쇄에는 아주 많은 구성과 설정 옵션이 있습니다.

쓰는 프린터에 따라 AIX 운영 체제는 최종 출력의 모양과 특성을 제어합니다. 프린터가 시스템 장치와 시스템 콘솔과 같은 곳에 있을 필요는 없습니다. 프린터를 로컬 시스템에 직접 붙일 수도 있고, 상황에 따라 인쇄 작업을 네트워크로 원격 시스템에 보내야 할 수도 있습니다.

인쇄 작업을 가장 효율적으로 처리하려고 AIX 운영 체제는 작업마다 큐에 넣어 프린터가 비기를 기다리게 합니다. 시스템은 하나 이상의 파일 출력을 큐에 저장할 수 있습니다. 프린터가 한 파일의 출력을 내는 동안 시스템은 큐의 다음 작업을 처리합니다. 큐의 모든 작업이 인쇄될 때까지 이 과정이 이어집니다.

영어 원문

Printing and print jobs

Printing in AIX offers a myriad of configuration and setup options.

Depending on the printer you use, the AIX operating system controls the appearance and characteristics of the final output. The printers are not required to be in the same area as the system unit and the system

console. You might decide to attach your printer directly to a local system, or your situation might require you to send print jobs over a network to a remote system.

To handle print jobs with maximum efficiency, the AIX operating system places each job into a queue to await printer availability. The system can save output from one or more files in the queue. As the printer produces the output from one file, the system processes the next job in the queue. This process continues until each job in the queue is printed.

인쇄 작업 시작

qprt나 smit 명령으로 인쇄 작업을 요청합니다.

  • 로컬 인쇄 작업은 프린터가 시스템에 물리적으로 붙어 있거나, 네트워크 프린터이면 네트워크에 붙어 구성돼 있어야 합니다.
  • 원격 인쇄 작업은 시스템이 원격 인쇄 서버와 통신하도록 구성돼 있어야 합니다.
  • 파일을 인쇄하려면 그 파일에 읽기 권한이 있어야 합니다. 인쇄한 뒤 파일을 지우려면 파일이 든 디렉터리에 쓰기 권한이 있어야 합니다.

인쇄 작업을 요청하려면 다음 정보를 지정합니다.

  • 인쇄할 파일 이름
  • 인쇄 큐 이름
  • 인쇄 부수
  • 원격 호스트에 파일 사본을 만들지
  • 인쇄 뒤 파일을 지울지
  • 작업 상태 알림을 보낼지
  • 시스템 메일로 작업 상태 알림을 보낼지
  • 버스트 상태
  • "Delivery To" 레이블에 넣을 사용자 이름
  • 원격 인쇄의 콘솔 확인 메시지
  • 원격 인쇄의 파일 확인 메시지
  • 우선순위 수준

qprt 명령으로 지정한 파일을 인쇄하는 인쇄 작업을 만들어 큐에 넣습니다. 파일을 둘 이상 지정하면 모든 파일이 함께 인쇄 작업 하나를 이룹니다. 파일은 명령행에 지정한 순서대로 인쇄됩니다.

qprt 명령의 기본 형식은 다음과 같습니다.

text
qprt -P QueueName FileName

다음 qprt 명령 플래그가 쓸모 있습니다.

플래그 설명
-b Number 아래 여백을 지정합니다. 아래 여백은 각 페이지 아래에 남길 빈 줄 수입니다.
-B Value 버스트 페이지(천공 자리에서 나뉘는 연속 용지 페이지)를 인쇄할지 지정합니다. Value는 두 글자 문자열입니다. 첫 글자는 머리말 페이지, 둘째 글자는 꼬리말 페이지에 적용됩니다. 각 글자는 a(각 인쇄 작업의 파일마다 (머리말이나 꼬리말) 페이지를 늘 인쇄), n(인쇄하지 않음), g(인쇄 작업(파일 묶음)마다 한 번 인쇄) 가운데 하나입니다. 예를 들어 -B ga는 각 인쇄 작업 처음에 머리말 페이지를, 각 인쇄 작업의 파일마다 뒤에 꼬리말 페이지를 인쇄합니다. 원격 인쇄 환경에서는 서버의 원격 큐가 기본값을 정합니다.
-e Option 강조 인쇄를 원하는지 지정합니다. +는 원함, !는 원하지 않음입니다.
-E Option 두 배 높이 인쇄를 원하는지 지정합니다. +는 원함, !는 원하지 않음입니다.
-f FilterType 프린터로 보내기 전에 인쇄 파일을 거치게 할 필터를 지정하는 한 글자 식별자입니다. 쓸 수 있는 필터 식별자는 pr 필터를 부르는 p와, troff 명령 출력을 처리하는 n입니다.
-i Number 각 줄을 지정한 공백 수만큼 들여씁니다. Number는 -w 플래그로 지정한 페이지 너비에 포함돼야 합니다.
-K Option 축소 인쇄를 원하는지 지정합니다. +는 원함, !는 원하지 않음입니다.
-l Number 페이지 길이를 지정한 줄 수로 설정합니다. Number가 0이면 페이지 길이를 무시하고 출력을 연속된 한 페이지로 봅니다. 페이지 길이에는 위아래 여백이 포함되며 용지의 인쇄 가능 길이를 나타냅니다.
-L Option 페이지 너비보다 긴 줄을 다음 줄로 넘길지, 오른쪽 여백에서 자를지 지정합니다. +는 다음 줄로 넘김, !는 넘기지 않고 오른쪽 여백에서 자름입니다.
-N Number 인쇄할 부수를 지정합니다. 이 플래그가 없으면 한 부 인쇄합니다.
-p Number 피치를 인치당 Number 글자로 설정합니다. 보통 값은 10과 12입니다. 실제 인쇄 글자 피치는 -K(축소)와 -W(두 배 너비) 플래그 값에도 영향을 받습니다.
-P Queue[:QueueDevice] 인쇄 큐 이름과 선택적인 큐 장치 이름을 지정합니다. 이 플래그가 없으면 기본 프린터를 씁니다.
-Q Value 인쇄 작업의 용지 크기를 지정합니다. 값은 프린터에 따라 다릅니다. 보통 레터 용지는 1, 리걸은 2 등입니다. 특정 용지 크기에 할당된 값은 프린터 설명서를 봅니다.
-t Number 위 여백을 지정합니다. 위 여백은 각 페이지 위에 남길 빈 줄 수입니다.
-w Number 페이지 너비를 Number 글자로 설정합니다. 페이지 너비에는 -i 플래그로 지정한 들여쓰기 공백 수가 포함돼야 합니다.
-W Option 두 배 너비 인쇄를 원하는지 지정합니다. +는 원함, !는 원하지 않음입니다.
-z Value 페이지 프린터 출력을 Value만큼 시계 방향으로 4분의 1 회전합니다. 길이(-l)와 너비(-w) 값이 자동으로 맞춰집니다. 0 세로, 1 오른쪽 가로, 2 거꾸로 세로, 3 왼쪽 가로입니다.
-# Value 특수 기능을 지정합니다. j는 지정한 인쇄 작업의 작업 번호를 표시합니다. h는 인쇄 작업을 큐에 넣되 다시 해제할 때까지 HELD 상태로 둡니다. v는 지정한 프린터 백엔드 플래그 값을 검증합니다. 인쇄 작업을 제출할 때 잘못된 플래그 값을 확인하는 데 쓸모 있습니다. 검증하지 않으면 잘못된 플래그 값은 나중에 작업을 실제로 처리할 때 인쇄 작업을 멈춥니다.

다음은 qprt 명령 플래그 사용 예입니다.

  • 기본값으로 기본 인쇄 큐에 구성된 첫 번째 사용 가능한 프린터에서 myfile 파일을 인쇄하도록 요청하려면 다음을 입력합니다.
text
qprt myfile
  • 특정 플래그 값으로 특정 큐에서 myfile 파일을 인쇄하도록 요청하고, 인쇄 작업을 제출할 때 플래그 값을 검증하려면 다음을 입력합니다.
text
qprt -f p -e + -Pfastest -# v myfile

myfile 파일을 pr 필터 명령(-f p 플래그)에 통과시켜, fastest라는 큐(-Pfastest 플래그)에 구성된 첫 번째 사용 가능한 프린터에서 강조 모드(-e + 플래그)로 인쇄합니다.

  • myfile 파일을 리걸 크기 용지에 인쇄하려면 다음을 입력합니다.
text
qprt -Q2 myfile
  • 인쇄 큐 Msp1에서 new.index.c, print.index.c, more.c 파일을 각각 세 부씩 인쇄하려면 다음을 입력합니다.
text
qprt -PMsp1 -N 3 new.index.c print.index.c more.c
  • new.index.c, print.index.c, more.c 세 파일을 이어 붙인 것을 세 부 인쇄하려면 다음을 입력합니다.
text
cat new.index.c print.index.c more.c | qprt -PMsp1 -N 3

참고: 기본 운영 체제는 BSD UNIX 인쇄 명령(lpr)과 System V UNIX 인쇄 명령(lp)도 지원합니다. 전체 구문은 Commands Reference, Volume 3의 lpr과 lp 명령을 봅니다.

전체 구문은 Commands Reference, Volume 4의 qprt 명령을 봅니다.

SMIT로도 인쇄 작업을 요청할 수 있습니다. SMIT로 인쇄 작업을 시작하려면 다음을 입력합니다.

text
smit qprt
영어 원문

Starting a print job

Use the qprt or smit command to request a print job.

  • For local print jobs, the printer must be physically attached to your system or, in the case of a network printer, attached and configured on the network.

  • For remote print jobs, your system must be configured to communicate with the remote print server.

  • Before you can print a file, you must have read access to it. To remove a file after it has printed, you must have write access to the directory that contains the file.

Specify the following information to request a print job:

  • Name of the file to print

  • Print queue name

  • Number of copies to print

  • Whether to make a copy of the file on the remote host

  • Whether to erase the file after printing

  • Whether to send notification of the job status

  • Whether to send notification of the job status by the system mail

  • Burst status

  • User name for "Delivery To" label

  • Console acknowledgment message for remote print

  • File acknowledgment message for remote print

  • Priority level

Use the qprt command to create and queue a print job to print the file you specify. If you specify more than one file, all the files together make up one print job. These files are printed in the order specified on the command line.

The basic format of the qprt command is:

text
qprt -P QueueName FileName

The following qprt command flags are useful:

  • -b Number — Specifies the bottom margin. The bottom margin is the number of blank lines to be left at the bottom of each page.
  • -B Value — Specifies whether burst pages (continuous-form pages separated at perforations) should be printed. The Value variable consists of a two-character string. The first character applies to header pages. The second character applies to trailer pages. Each of the two characters can be one of the following: a Always prints the (header or trailer) page for each file in each print job. n Never prints the (header or trailer) page. g Prints the (header or trailer) page once for each print job (group of files). For example, the -B ga flag specifies that a header page be printed at the beginning of each print job and that a trailer page be printed after each file in each print job. In a remote print environment, the default is determined by the remote queue on the server.
  • -e Option — Specifies whether emphasized print is wanted. + Indicates emphasized print is wanted. ! Indicates emphasized print is not wanted.
  • -E Option — Specifies whether double-high print is wanted. + Indicates double-high print is wanted. ! Indicates double-high print is not wanted.
  • -f FilterType — A one-character identifier that specifies a filter through which your print file or files are to be passed before being sent to the printer. The available filter identifiers are p, which invokes the pr filter, and n, which processes output from the troff command.
  • -i Number — Causes each line to be indented the specified number of spaces. The Number variable must be included in the page width specified by the -w flag.
  • -K Option — Specifies whether condensed print is wanted. + Indicates condensed print is wanted. ! Indicates condensed print is not wanted.
  • -l Number — Sets the page length to the specified number of lines. If the Number variable is 0, the page length is ignored, and the output is considered to be one continuous page. The page length includes the top and bottom margins and indicates the printable length of the paper.
  • -L Option — Specifies whether lines wider than the page width should be wrapped to the next line or truncated at the right margin. + Indicates that long lines should wrap to the next line. ! Indicates that long lines should not wrap but instead should be truncated at the right margin.
  • -N Number — Specifies the number of copies to be printed. If this flag is not specified, one copy is printed.
  • -p Number — Sets the pitch to Number characters per inch. Typical values for Number are 10 and 12. The actual pitch of the characters printed is also affected by the values for the -K (condensed) flag and the -W (double-wide) flag.
  • -P Queue[:QueueDevice] — Specifies the print queue name and the optional queue device name. If this flag is not specified, the default printer is assumed.
  • -Q Value — Specifies paper size for the print job. The Value for paper size is printer-dependent. Typical values are 1 for letter-size paper, 2 for legal, and so on. Consult your printer manual for the values assigned to specific paper sizes.
  • -t Number — Specifies the top margin. The top margin is the number of blank lines to be left at the top of each page.
  • -w Number — Sets the page width to the number of characters specified by the Number variable. The page width must include the number of indention spaces specified with the -i flag.
  • -W Option — Specifies whether double-wide print is wanted. + Indicates double-wide print is wanted. ! Indicates double-wide print is not wanted.
  • -z Value — Rotates page printer output the number of quarter-turns clockwise as specified by the Value variable. The length (-l) and width (-w) values are automatically adjusted accordingly. 0 Portrait 1 Landscape right 2 Portrait upside-down 3 Landscape left
  • -# Value — Specifies a special function. j Displays the job number for the specified print job. h Queues the print job, but puts it in the HELD state until it is released again. v Validates the specified printer backend flag values. This validation is useful in checking for illegal flag values at the time of submitting a print job. If the validation is not specified, an incorrect flag value will stop the print job later when the job is actually being processed.

The following list contains examples of how to use the qprt command flags:

  • To request that the myfile file be printed on the first available printer configured for the default print queue using default values, type:
text
qprt myfile
  • To request that the myfile file be printed on a specific queue using specific flag values and to validate the flag values at the time of print job submission, type:
text
qprt -f p -e + -Pfastest -# v myfile

This passes the myfile file through the pr filter command (the -f p flag) and prints it using emphasized mode (the -e + flag) on the first available printer configured for the queue named fastest (the -Pfastest flag).

  • To print the myfile file on legal-size paper, type:
text
qprt -Q2 myfile
  • To print three copies of each of the new.index.c, print.index.c, and more.c files at the print queue Msp1, type:
text
qprt -PMsp1 -N 3 new.index.c print.index.c more.c
  • To print three copies of the concatenation of three files, new.index.c, print.index.c, and more.c, type:
text
cat new.index.c print.index.c more.c | qprt -PMsp1 -N 3

Note: The base operating system also supports the BSD UNIX print command (lpr) and the System V UNIX print command (lp). For the complete syntaxes, see the lpr and lp commands in Commands Reference, Volume 3.

For the complete syntax, see the qprt command in Commands Reference, Volume 4.

You can also use SMIT to request a print job. To start a print job using SMIT, type:

text
smit qprt

인쇄 작업 취소(qcan 명령)

qcan 명령으로 인쇄 작업을 취소할 수 있습니다.

  • 로컬 인쇄 작업은 프린터가 시스템에 물리적으로 붙어 있거나, 네트워크 프린터이면 네트워크에 붙어 구성돼 있어야 합니다.
  • 원격 인쇄 작업은 시스템이 원격 인쇄 서버와 통신하도록 구성돼 있어야 합니다.

인쇄 작업을 취소할 때는 작업이 있는 인쇄 큐 이름과 취소할 작업 번호를 입력하라는 요청을 받습니다.

이 절차는 로컬과 원격 인쇄 작업 모두에 적용됩니다.

qcan 명령으로 로컬이나 원격 인쇄 큐의 특정 작업 번호, 또는 로컬 인쇄 큐의 모든 작업을 취소합니다. 작업 번호를 알려면 qchk 명령을 씁니다.

qcan 명령의 기본 형식은 다음과 같습니다.

text
qcan -P QueueName -x JobNumber

전체 구문은 Commands Reference, Volume 4의 qcan 명령을 봅니다.

다음은 qcan 명령 사용 예입니다.

  • 작업이 어느 프린터에 있든 작업 번호 123을 취소하려면 qcan -x 123을 입력합니다.
  • 프린터 lp0에 큐에 든 모든 작업을 취소하려면 qcan -X -Plp0을 입력합니다.

참고: 기본 운영 체제는 BSD UNIX 인쇄 취소 명령(lprm)과 System V UNIX 인쇄 취소 명령(cancel)도 지원합니다. 전체 구문은 Commands Reference의 lprm과 cancel 명령을 봅니다.

영어 원문

Canceling a print job (qcan command)

You can use the qcan command to cancel a print job.

  • For local print jobs, the printer must be physically attached to your system or, in the case of a network printer, attached and configured on the network.

  • For remote print jobs, your system must be configured to communicate with the remote print server.

When you cancel a print job, you are prompted to provide the name of the print queue where the job resides and the job number to be canceled.

This procedure applies to both local and remote print jobs.

Use the qcan command to cancel either a particular job number in a local or remote print queue, or all jobs in a local print queue. To determine the job number, use the qchk command.

The basic format of the qcan command is:

text
qcan -P QueueName -x JobNumber

For the complete syntax, see the qcan command in Commands Reference, Volume 4.

The following list contains examples of how to use the qcan command:

  • To cancel job number 123 on whichever printer the job is on, type: qcan -x 123

  • To cancel all jobs queued on printer lp0, type: qcan -X -Plp0

Note: The base operating system also supports the BSD UNIX cancel print command (lprm) and the System V UNIX cancel print command (cancel). For the complete syntaxes, see the lprm and cancel commands in Commands Reference.

인쇄 작업 취소(SMIT)

SMIT로 인쇄 작업을 취소할 수 있습니다.

  • 로컬 인쇄 작업은 프린터가 시스템에 물리적으로 붙어 있거나, 네트워크 프린터이면 네트워크에 붙어 구성돼 있어야 합니다.
  • 원격 인쇄 작업은 시스템이 원격 인쇄 서버와 통신하도록 구성돼 있어야 합니다.

SMIT로 인쇄 작업을 취소하려면 다음을 입력합니다.

text
smit qcan

그런 다음 인쇄 작업 번호나 프린터를 고를 수 있습니다.

영어 원문

Canceling a print job (SMIT)

You can use SMIT to cancel a print job.

  • For local print jobs, the printer must be physically attached to your system or, in the case of a network printer, attached and configured on the network.

  • For remote print jobs, your system must be configured to communicate with the remote print server.

To cancel a print job using SMIT, type:

text
smit qcan

You can then select the print job number or printer.

인쇄 작업 취소(Web-based System Manager)

Web-based System Manager로 인쇄 작업을 취소할 수 있습니다.

  • 로컬 인쇄 작업은 프린터가 시스템에 물리적으로 붙어 있거나, 네트워크 프린터이면 네트워크에 붙어 구성돼 있어야 합니다.
  • 원격 인쇄 작업은 시스템이 원격 인쇄 서버와 통신하도록 구성돼 있어야 합니다.
  1. Web-based System Manager 빠른 경로로 인쇄 작업을 취소하려면 다음을 입력합니다.
text
wsm printers
  1. Printer Queues 창에서 인쇄 작업을 고른 뒤 메뉴로 인쇄 큐에서 인쇄 작업을 취소합니다.
영어 원문

Canceling a print job (Web-based System Manager)

You can use the Web-based System Manager to cancel a print job.

  • For local print jobs, the printer must be physically attached to your system or, in the case of a network printer, attached and configured on the network.

  • For remote print jobs, your system must be configured to communicate with the remote print server.

  1. To cancel a print job using the Web-based System Manager fast path, type:
text
wsm printers
  1. In the Printer Queues window, select the print job, and then use the menus to cancel the print job from a print queue.

인쇄 작업 우선순위 지정(qpri 명령)

qpri 명령으로 로컬 큐에서만 작업 우선순위를 지정할 수 있습니다.

프린터가 시스템에 물리적으로 붙어 있어야 합니다.

값이 클수록 인쇄 작업의 우선순위가 높습니다. 기본 우선순위는 15입니다. 최대 우선순위는 대부분 사용자에게 20이고, root 사용자 특권이 있는 사용자와 printq 그룹(그룹 9) 구성원에게 30입니다.

참고: 원격 인쇄 작업에는 우선순위를 줄 수 없습니다.

qpri 명령으로 제출한 인쇄 작업의 우선순위를 다시 지정합니다. root 사용자 권한이 있거나 printq 그룹에 속하면 인쇄 큐에 있는 어떤 작업에든 우선순위를 지정할 수 있습니다.

qpri 명령의 기본 형식은 다음과 같습니다.

text
qpri -# JobNumber -a PriorityLevel

전체 구문은 Commands Reference, Volume 4의 qpri 명령을 봅니다.

다음은 qpri 명령 사용 예입니다.

  • 작업 번호 123을 우선순위 18로 바꾸려면 다음을 입력합니다.
text
qpri -# 123 -a 18
  • 로컬 인쇄 작업을 제출하면서 우선순위를 지정하려면 다음을 입력합니다.
text
qprt -P QueueName -R PriorityLevel FileName
영어 원문

Prioritizing a print job (qpri command)

You can assign job priority only on local queues using the qpri command.

The printer must be physically attached to your system.

Higher values indicate a higher priority for the print job. The default priority is 15. The maximum priority is 20 for most users, and 30 for users with root user privilege and members of the printq group (group 9).

Note: You cannot assign a priority to a remote print job.

Use the qpri command to reassign the priority of a print job that you submitted. If you have root user authority or belong to the printq group, you can assign priority to any job while it is in the print queue.

The basic format of the qpri command is:

text
qpri -# JobNumber -a PriorityLevel

For the complete syntax, see the qpri command in Commands Reference, Volume 4.

The following list contains examples of how to use the qpri command:

  • To change job number 123 to priority number 18, type:
text
qpri -# 123 -a 18
  • To prioritize a local print job as it is submitted, type:
text
qprt -P QueueName -R PriorityLevel FileName

인쇄 작업 우선순위 지정(SMIT)

로컬 큐에서만 작업 우선순위를 지정할 수 있습니다.

프린터가 시스템에 물리적으로 붙어 있어야 합니다.

값이 클수록 인쇄 작업의 우선순위가 높습니다. 기본 우선순위는 15입니다. 최대 우선순위는 대부분 사용자에게 20이고, root 사용자 특권이 있는 사용자와 printq 그룹(그룹 9) 구성원에게 30입니다.

참고: 원격 인쇄 작업에는 우선순위를 줄 수 없습니다.

SMIT로 인쇄 작업의 우선순위를 바꾸려면 다음을 입력합니다.

text
smit qpri
영어 원문

Prioritizing a print job (SMIT)

You can assign job priority only on local queues.

The printer must be physically attached to your system.

Higher values indicate a higher priority for the print job. The default priority is 15. The maximum priority is 20 for most users, and 30 for users with root user privilege and members of the printq group (group 9).

Note: You cannot assign a priority to a remote print job.

To change the priority of a print job using SMIT, type:

text
smit qpri

인쇄 작업 우선순위 지정(Web-based System Manager)

Web-based System Manager로 로컬 큐에서만 작업 우선순위를 지정할 수 있습니다.

프린터가 시스템에 물리적으로 붙어 있어야 합니다.

값이 클수록 인쇄 작업의 우선순위가 높습니다. 기본 우선순위는 15입니다. 최대 우선순위는 대부분 사용자에게 20이고, root 사용자 특권이 있는 사용자와 printq 그룹(그룹 9) 구성원에게 30입니다.

참고: 원격 인쇄 작업에는 우선순위를 줄 수 없습니다.

  1. wsm을 입력합니다.
  2. Printers를 고릅니다.
  3. Printer Queues 창에서 인쇄 작업을 고른 뒤 메뉴로 로컬 인쇄 큐에서 그 작업의 우선순위를 설정합니다.
영어 원문

Prioritizing a print job (Web-based System Manager)

You can assign job priority only on local queues using the Web-based System Manager.

The printer must be physically attached to your system.

Higher values indicate a higher priority for the print job. The default priority is 15. The maximum priority is 20 for most users, and 30 for users with root user privilege and members of the printq group (group 9).

Note: You cannot assign a priority to a remote print job.

  1. Type wsm.

  2. Select Printers.

  3. In the Printer Queues window, select the print job, and then use the menus to set the priority for that job in a local print queue.

인쇄 작업을 다른 인쇄 큐로 옮기기(qmov 명령)

qmov 명령으로 인쇄 작업을 큐 사이에서 옮길 수 있습니다.

이 작업을 하려면 다음 전제 조건을 갖춰야 합니다.

  • 프린터가 시스템에 물리적으로 붙어 있어야 합니다.
  • 인쇄 작업 소유자여야 합니다.
  • root 권한이 있어야 합니다.
  • printq 그룹 구성원이어야 합니다.

참고: 원격 인쇄 작업은 다른 인쇄 큐로 옮길 수 없습니다.

qmov 명령으로 인쇄 작업을 다른 인쇄 큐로 옮깁니다. 특정 인쇄 작업을 옮기거나 지정한 인쇄 큐의 모든 인쇄 작업을 옮길 수 있습니다. 지정한 사용자가 보낸 모든 인쇄 작업을 옮길 수도 있습니다. 인쇄 작업 번호를 알려면 qchk 명령을 씁니다. 자세한 내용은 qchk를 봅니다.

qmov 명령의 기본 형식은 다음과 같습니다.

text
qmov  -m NewQueue {[ -# JobNumber ] [ -P Queue ] [ -u User ]}

다음 명령 가운데 하나로 인쇄 작업을 옮길 수 있습니다.

  • qmov -m DestinationQueue -# JobNumber
  • qmov -m DestinationQueue -P Queue
  • qmov -m DestinationQueue -u User

전체 구문은 Commands Reference의 qmov 명령을 봅니다.

다음은 qmov 명령 사용 예입니다.

  • 작업 번호 280을 인쇄 큐 hp2로 옮기려면 다음을 입력합니다.
text
qmov -mhp2 -#280
  • 인쇄 큐 hp4D의 모든 인쇄 작업을 인쇄 큐 hp2로 옮기려면 다음을 입력합니다.
text
qmov -mhp2 -Php4D
영어 원문

Moving a print job to another print queue (qmov command)

You can move a print job between queues with the qmov command.

To perform this task, the following prerequisites must be met:

  • The printer must be physically attached to your system.

  • You must be the print job owner.

  • You must have root authority.

  • You must be a member of the printq group.

Note: You cannot move a remote print job to another print queue.

Use the qmov command to move a print job to another print queue. You can either move a particular print job, or you can move all the print jobs on a specified print queue. You can also move all the print jobs that are sent by a specified user. To determine the print job number, use the qchk command. For more information, see qchk.

The basic format of the qmov command follows:

text
qmov  -m NewQueue {[ -# JobNumber ] [ -P Queue ] [ -u User ]}

You can move a print job with one of the following commands:

  • qmov -m DestinationQueue -# JobNumber

  • qmov -m DestinationQueue -P Queue

  • qmov -m DestinationQueue -u User

For the complete syntax, see the qmov command in Commands Reference.

The following list contains examples of how to use the qmov command:

  • To move job number 280 to print queue hp2, type:
text
qmov -mhp2 -#280
  • To move all print jobs on print queue hp4D to print queue hp2, type:
text
qmov -mhp2 -Php4D

인쇄 작업을 다른 인쇄 큐로 옮기기(SMIT)

프린터가 시스템에 붙어 있으면 SMIT(System Management Interface Tool)로 인쇄 작업을 다른 인쇄 큐로 옮길 수 있습니다.

이 작업을 하려면 다음 전제 조건을 갖춰야 합니다.

  • 프린터가 시스템에 물리적으로 붙어 있어야 합니다.
  • 인쇄 작업 소유자여야 합니다.
  • root 권한이 있어야 합니다.
  • printq 그룹 구성원이어야 합니다.

참고: 원격 인쇄 작업은 다른 인쇄 큐로 옮길 수 없습니다.

다음 명령을 입력합니다.

text
smit qmov
영어 원문

Moving a print job to another print queue (SMIT)

If your printer is attached to your system, you can move a print job to another print queue with SMIT.

If your printer is physically attached to your system, you can move a print job to another print queue with System Management Interface Tool (SMIT).

To perform this task, the following prerequisites must be met:

  • The printer must be physically attached to your system.

  • You must be the print job owner.

  • You must have root authority.

  • You must be a member of the printq group.

Note: You cannot move a remote print job to another print queue.

Type the following command:

text
smit qmov

인쇄 작업을 다른 인쇄 큐로 옮기기(Web-based System Manager)

프린터가 시스템에 붙어 있으면 Web-based System Manager로 인쇄 작업을 다른 인쇄 큐로 옮길 수 있습니다.

이 작업을 하려면 다음 전제 조건을 갖춰야 합니다.

  • 프린터가 시스템에 물리적으로 붙어 있어야 합니다.
  • 인쇄 작업 소유자여야 합니다.
  • root 권한이 있어야 합니다.
  • printq 그룹 구성원이어야 합니다.

참고: 원격 인쇄 작업은 다른 인쇄 큐로 옮길 수 없습니다.

  1. 시스템 프롬프트에 wsm을 입력한 뒤 Printers를 고릅니다.
  2. Web-based System Manager Printer Queues 창에서 옮길 인쇄 작업을 고릅니다.
  3. 대상 큐를 골라 인쇄 작업을 한 인쇄 큐에서 다른 큐로 옮깁니다.
영어 원문

Moving a print job to another print queue (Web-based System Manager)

If your printer is attached to your system, you can move a print job to another print queue with the Web-based System Manager.

To perform this task, the following prerequisites must be met:

  • The printer must be physically attached to your system.

  • You must be the print job owner.

  • You must have root authority.

  • You must be a member of the printq group.

Note: You cannot move a remote print job to another print queue.

  1. At the system prompt, type wsm, and then select Printers.

  2. In the Web-based System Manager Printer Queues window, select the print job that you want to move.

  3. Select the destination queue to move the print job from one print queue to another.

인쇄 작업 보류와 해제(qhld 명령)

qhld 명령으로 인쇄 작업을 보류하고 해제할 수 있습니다.

참고: 원격 인쇄 작업은 보류하거나 해제할 수 없습니다.

이 작업을 하려면 다음 전제 조건을 갖춰야 합니다.

  • 프린터가 시스템에 물리적으로 붙어 있어야 합니다.
  • 인쇄 작업 소유자여야 합니다.
  • root 권한이 있어야 합니다.
  • printq 그룹 구성원이어야 합니다.

qhld 명령으로 보낸 인쇄 작업을 보류합니다. 특정 인쇄 작업을 보류하거나 지정한 인쇄 큐의 모든 인쇄 작업을 보류할 수 있습니다. 인쇄 작업 번호를 알려면 qchk 명령을 입력합니다. qhld 명령의 기본 형식은 다음과 같습니다.

text
qhld [ -r ] {[ -# JobNumber ] [ -P Queue ] [ -u User ]}

다음 명령 가운데 하나로 인쇄 작업을 보류할 수 있습니다.

  • qhld -#JobNumber
  • qhld -PQueue
  • qhld -uUser

다음 명령 가운데 하나로 인쇄 작업을 해제할 수 있습니다.

  • qhld -r -#Jobnumber
  • qhld -r -PQueue
  • qhld -r -uUser

다음은 qhld 명령 사용 예입니다.

  1. 작업이 어느 인쇄 큐에 있든 작업 번호 452를 보류하려면 다음 명령을 입력합니다.
text
qhld -#452
  1. 인쇄 큐 hp2에 든 모든 작업을 보류하려면 다음 명령을 입력합니다.
text
qhld -Php2
  1. 작업이 어느 인쇄 큐에 있든 작업 번호 452를 해제하려면 다음 명령을 입력합니다.
text
qhld -#452 -r
  1. 인쇄 큐 hp2에 든 모든 작업을 해제하려면 다음 명령을 입력합니다.
text
qhld -Php2 -r
영어 원문

Holding and releasing print jobs (qhld command)

You can hold and release print jobs with the qhld command.

Note: You cannot hold and release remote print jobs.

To perform this task, the following prerequisites must be met:

  • The printer must be physically attached to your system.

  • You must be the print job owner.

  • You must have root authority.

  • You must be a member of the printq group.

Use the qhld command to put a print job on hold after you sent it. You can either put a particular print job on hold, or you can hold all the print jobs on a specified print queue. To determine the print job number, enter the qchk command. The basic format of the qhld command follows:

text
qhld [ -r ] {[ -# JobNumber ] [ -P Queue ] [ -u User ]}

You can hold a print job by using one of the following commands:

  • qhld -#JobNumber

  • qhld -PQueue

  • qhld -uUser

You can release a print job by using one of the following commands:

  • qhld -r -#Jobnumber

  • qhld -r -PQueue

  • qhld -r -uUser

The following list contains examples of how to use the qhld command:

  1. To hold job number 452 on whichever print queue the job is on, type the following command:
text
qhld -#452
  1. To hold all jobs queued on print queue hp2, type the following command:
text
qhld -Php2
  1. To release job number 452 on whichever print queue the job is on, type the following command:
text
qhld -#452 -r
  1. To release all jobs queued on print queue hp2, type the following command:
text
qhld -Php2 -r

인쇄 작업 보류와 해제(SMIT)

SMIT로 인쇄 작업을 보류하고 해제할 수 있습니다.

인쇄 작업을 보류하거나 해제하려면 다음 가운데 하나여야 합니다.

  • 인쇄 작업 소유자
  • root 권한이 있는 사용자
  • printq 그룹 구성원

인쇄 작업을 보류하거나 해제하려면 다음을 입력합니다.

  • smit qhld
영어 원문

Holding and releasing print jobs (SMIT)

You can hold and release print jobs using SMIT.

To hold or release a print job, you must be one of the following people:

  • Print job owner

  • A user with root authority

  • A member of the printq group

To hold or release a print job:

  • smit qhld

인쇄 작업 보류와 해제(Web-based System Manager)

Web-based System Manager로 인쇄 작업을 보류하고 해제할 수 있습니다.

인쇄 작업을 보류하거나 해제하려면 다음 가운데 하나여야 합니다.

  • 인쇄 작업 소유자
  • root 권한이 있는 사용자
  • printq 그룹 구성원

인쇄 작업을 보류하거나 해제하려면 다음을 합니다.

  1. 시스템 프롬프트에 wsm을 입력한 뒤 Printers를 고릅니다.
  2. Web-based System Manager Printer Queues 창에서 메뉴로 인쇄 작업을 보류하거나 지금 보류 중인 인쇄 작업을 해제하는 단계를 마칩니다.
영어 원문

Holding and releasing print jobs (Web-based System Manager)

You can hold and release print jobs with the Web-based System Manager.

To hold or release a print job, you must be one of the following people:

  • Print job owner

  • A user with root authority

  • A member of the printq group

To hold or release a print job:

  1. At the system prompt, type wsm, and then select Printers.

  2. In the Web-based System Manager Printer Queues window, use the menus to complete the steps that hold a print job or that release a print job currently on hold.