OS X ã«ãããä»®æ³ PDF ããªã³ã¿ïŒïŒïŒã Linux Mint ã«ã€ã³ã¹ããŒã«ãããšãã®ã¡ã¢ã
ã³ãã³ãã©ã€ã³ããç»é²ããæ·±ãæå³ã¯ç¹ã«ãããŸããããã¹ã¯ãããç°å¢ã䜿ã£ãŠãããªã GUI ããã¡ãã¡ãã£ãšãã£ãŠããŸãã¹ãã§ãããã
cups-pdf ããã±ãŒãžã®ã€ã³ã¹ããŒã«
sudo aptitude install cups-pdf
lpinfo ã§ããªã³ã¿æ å ±ã調ã¹ã
lpadmin
ã§ããªã³ã¿ãç»é²ããéã«ããªã³ã¿åãããŒããªã©ãæå®ããå¿
èŠããããCUPS-PDF ã«é¢ããŠã¯ç¹ã«èª¿ã¹ãå¿
èŠããªãããã©äžå¿ç·Žç¿ãšããŠã
lpinfo
ã䜿ãããšã§ããªã³ã¿æ
å ±ã®æ€çŽ¢ãã§ãããããã§ãã€ã³ããªã®ã -m
以å€ã®ãªãã·ã§ã³ã¯ãããããåã«æå®ããå¿
èŠãããã-m
以éã«è¿œå ãããªãã·ã§ã³ã¯ç¡èŠããããããããšãããã man lpinfo
ã® SYNOPSIS éãã«èšè¿°ããã° OKã-l
㯠long ãªãã·ã§ã³ã
lpinfo -l --make-and-model CUPS-PDF -m
ããã§ãã€ã³ããªã®ã¯ååã
ã¢ãã«: åå = lsb/usr/cups-pdf/CUPS-PDF.ppd èšèª = en ããªã³ã¿ãŒãã©ã€ã㌠= Generic CUPS-PDF Printer ããã€ã¹ ID = MFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT;
ããã€ã¹ããŒãã«é¢ããŠã¯ lpinfo -v
ã§æ€çŽ¢ãã§ããã
lpinfo -l -v
ããã§ã®ãã€ã³ã㯠URIã
ããã€ã¹: uri = cups-pdf:/ class = file info = CUPS-PDF make-and-model = Virtual PDF Printer device-id = MFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT; location =
lpadmin ã§ããªã³ã¿ãç»é²ãã
ãªãã·ã§ã³ | æå³ |
---|---|
-p | ããªã³ã¿åã®æå®ãã¹ããŒã¹ãå«ããã®ã¯ NGã |
-v | URIïŒããŒãïŒã®æå®ã |
-m | ã¢ãã«ã«ããæå®ãlpinfo -m ã§è¡šç€ºããããã®ãæå®ããã |
-P | PPD ãã¡ã€ã«ã«ããæå®ãå Žæãããããªããã° cups-pdf ããã±ãŒãžã®ã³ã³ãã³ããåç
§ãããäŸïŒ dpkg -L cups-pdf | grep '\.ppd$' |
-E | ç»é²ããããªã³ã¿ãæå¹ã«ããããŸãã¯æå·åãè¡ããã©ãããæå¹ã«ããå Žå㯠cupsaccept ãš cupsenable ãšåãããšãè¡ããïŒ -E ãªãã·ã§ã³ã -p ã-d ã-x ãããåã«æå®ããå ŽåããµãŒãã«æ¥ç¶ããéã«æå·åãè¡ãæå®ãšãªãã詳ãã㯠man lpadmin åç
§ã |
-d {PRINTER_NAME} | {PRINTER_NAME} ãããã©ã«ãããªã³ã¿ã«æå®ããã |
ãªãã·ã§ã³ã®å€æŽã¯ lpoptions
ãªã©ã§è¡ãã
ã¢ãã«ã§æå®ããå Žå
lpadmin -p CUPS-PDF -v cups-pdf:/ -m lsb/usr/cups-pdf/CUPS-PDF.ppd -E
PPD ãã¡ã€ã«ã§æå®ããå Žå
lpadmin -p CUPS-PDF -v cups-pdf:/ -P /usr/share/ppd/cups-pdf/CUPS-PDF.ppd -E
ããã©ã«ãããªã³ã¿ã«æå®
lpadmin -d CUPS-PDF
ãããªæãã§ç»é²ãããŸãã
ãã¹ãããªã³ã
lpr
ã§å°å·ããŠã¿ãŸãããã~/PDF
ã« PDF ãã¡ã€ã«ãä¿åãããŸããããã©ã«ãããªã³ã¿ãšããŠæå®ããŠããªãå Žå㯠-P {PRINTER_NAME}
ã§æå®ããŸãã
lpr /etc/lsb-release # OR lpr -P CUPS-PDF /etc/lsb-release
çªå€ç·šã»ãã©ãŠã¶ããç»é²ãã
é©åœãªãã©ãŠã¶ã§ http://localhost:631
ã«ã¢ã¯ã»ã¹ããã
管çç»é¢ã®ããªã³ã¿ãŒé
ç®ãããããªã³ã¿ãŒã®è¿œå ããéžæããããŠãŒã¶åãšãã¹ã¯ãŒããèãããã®ã§ãŠãŒã¶åã« root
ããã¹ã¯ãŒã㯠root ã®ãã¹ã¯ãŒããå
¥åãæè¿ã®ãã©ãŠã¶ã¯ãã¹ã¯ãŒãä¿ç®¡ããããããã©ããã§ã¯ä¿åããªãæ¹ããããšæããã
ããŒã«ã«ããªã³ã¿ãŒé ç®ã«ãããCUPS-PDFïŒVirtual PDF PrinterïŒããéžæã
ååãå ±æèšå®ã¯ã奜ã¿ã§ã
ã¡ãŒã«ãŒã¯æå®ããã«äžã®é ç®ã§ PPD ãã¡ã€ã«ãæå®ããã
ãªãã·ã§ã³ãæå®ãããããã§ã¯çšçŽãµã€ãºããèšå®ãããã®ã¯ãªãã
ç»é²å®äºã
ããªã³ã¿ã®ç®¡çããžã§ãã®ç §äŒãªã©ãã§ããŸãã
åœç¶ã ãã©ãã¹ã¯ãããç°å¢ã®æ¹ã«ããã¡ããšåæ ãããã