← 返回命令列表

Linux command

ppdi 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Import PPD files

ppdi [file.ppd]

Import to specific directory

ppdi -d [output_dir] [file.ppd]

Import multiple files

ppdi [file1.ppd] [file2.ppd]

说明

ppdi imports existing PPD (PostScript Printer Description) files into the CUPS driver source format (.drv). This is the reverse operation of ppdc, allowing administrators to convert standalone PPD files into the compact driver source format for easier maintenance and distribution. The imported driver source files can then be edited to add new printer models or modify options, and recompiled with ppdc. This workflow simplifies managing large collections of printer definitions by consolidating them into shared driver source files.

参数

-d _DIR_
Output directory.
-o _FILE_
Output file name.

FAQ

What is the ppdi command used for?

ppdi imports existing PPD (PostScript Printer Description) files into the CUPS driver source format (.drv). This is the reverse operation of ppdc, allowing administrators to convert standalone PPD files into the compact driver source format for easier maintenance and distribution. The imported driver source files can then be edited to add new printer models or modify options, and recompiled with ppdc. This workflow simplifies managing large collections of printer definitions by consolidating them into shared driver source files.

How do I run a basic ppdi example?

Run `ppdi [file.ppd]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d _DIR_ do in ppdi?

Output directory.