วิธีแก้ปัญหา CUPS Print หน้า Classified ออกมาก่อนงานที่สั่งพิมพ์
ไม่ทราบว่าใครเคยเจอปัญหา CUPS Print หน้า Classified ที่แสดงยี่ห้อ Printer และรายละเอียดอื่นๆ บ้างครับ มันเป็นปัญหาคาใจผมมานานละ วันนี้นั่ง Print งานให้เพื่อน ก็เลยต้องสะสางกับมันสักทีเพราะมันทำให้เปลืองกระดาษมาก ขึ้นชื่อว่า Classified ผมก็ลองเข้าไปหาใน /etc/cups ลองเข้าไปในไฟล์ classes.conf แต่ปรากฎว่ายังไม่ใช่คำตอบ มองหาในไฟล์ /etc/cups.conf ก็ยังไม่ใช่ ก็เลยลองเปิดไฟล์ /etc/cups/printers.conf ก็เจอบรรทัดน่าสงสัย นั้นก็คือบรรทัด
Info Ricoh Aficio AP610N Location 10.30.1.201 MakeModel Ricoh Aficio AP610N , Postscript-Ricoh 20090617 (OpenPrinting LSB 3.2) DeviceURI socket://10.30.1.201:9100 State Idle StateTime 1280749475 Type 8433876 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-postscript 0 foomatic-rip Accepting Yes Shared Yes JobSheets classified none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job Attribute marker-colors \#000000,#000000 Attribute marker-levels -1,-1 Attribute marker-names Toner,Waste Toner Attribute marker-types toner,wasteToner Attribute marker-change-time 1280749475
ตอนแรกผมลองโดยการใส่ # ไว้หน้าบรรทัด JobSheets ไว้แล้วลอง Restart CUPS
root@mrgill-laptop:~# /etc/init.d/cups restart * Restarting Common Unix Printing System: cupsd [ OK ]
แล้วลองสั่ง print งานใหม่
ผลออกมาเป็นอย่างที่คิด นั้นคือหน้า classified หายไปแว้วววว เย้
ที่นี้ผมลองกลับไปดูที่ไฟล์ /etc/cups/printers.conf ปรากฎว่าไฟล์ /etc/cups/printers.conf ได้เปลี่ยนจาก JobSheets classified none เป็น
Info Ricoh Aficio AP610N Location 10.30.1.201 MakeModel Ricoh Aficio AP610N , Postscript-Ricoh 20090617 (OpenPrinting LSB 3.2) DeviceURI socket://10.30.1.201:9100 State Idle StateTime 1280749475 Type 8433876 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-postscript 0 foomatic-rip Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job Attribute marker-colors \#000000,#000000 Attribute marker-levels -1,-1 Attribute marker-names Toner,Waste Toner Attribute marker-types toner,wasteToner Attribute marker-change-time 1280749475
ใครเจอปัญหานี้รบกวนจิตใจอยู่ ก็ลองทำวิธีนี้ไปแก้ปัญหากันดูนะครับ
Leave a Comment August 2, 2010

