| United States-English |
|
|
|
![]() |
Technical Print Service System Administrator's Guide: > Chapter 4 Chapter 4: Configuring
an X Print Server Starting the Technical Print Service |
|
When you use SAM to configure an X print server, the Technical Print Service is automatically started. Two processes — an X print server and a Print Dialog Manager daemon — are started as a matched set. The default startup option can be turned off in SAM. To start the Technical Print Service at a later time, use SAM to select and start the X print server you have previously configured. Error MessagesError messages for the X print server and Print Dialog Manager daemon are written to log files located in the /var/dt directory. For example, if you have started an X print server using display number 3, error messages will be written to these files: XPserver:3.err and dtpdmd.3.log. Manual Startup: Using the Command LineYou can also start both processes, the X print server and Print Dialog Manager daemon, by entering commands in a terminal window. Before you can start the X print server manually, you must have previously configured an X print server X*screens and X*devices file. These files are created automatically when you use SAM to configure an X print server. Both the X print server and a Print Dialog Manager daemon must be started. Be sure to start the X print server first. To Start the X Print ServerUse this command syntax to start an X print server:
The option -XpFile specifies the X*printers file to be used by the X print server. If an X*printers file is not specified, the X print server uses the default file, /usr/lib/X11/LANG/print/Xprinters. Or, if the XPCONFIGDIR environment variable has been defined, it will search the directory specified by this variable. An explanation of the XPCONFIGDIR variable is found in Chapter 5 “Chapter 5: Printer Configuration Files ”. ExampleThis entry:
starts an X print server whose display number is 4. The -XpFile option specifies the corresponding X*printers file.
To Start the Print Dialog Manager DaemonUse this command syntax to start a Print Dialog Manager daemon:
where hostname is the name of the local machine and displaynumber is the display number of the X print server that has been started. ExampleThis command:
starts a Print Dialog Manager daemon in conjunction with the X print server shown in the previous example. Error messages are written to the dtpdmd.4.log file in /var/dt. The Print Dialog Manager daemon (dtpdmd) will maintain an X-Selection on the X server, and will start one or more Print Dialog Managers as needed to service requests.
For more information about the Print Dialog Manager refer to Chapter 7 “Chapter 7: Print Dialog Manager Daemon ” or the dtpdm(1M) and dtpdmd(1M) man pages. In the absence of certain configuration files, the X print server uses this default behavior:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||