Setting up a network printer to use CUPS

I have a Samsung ML-1740 Laser printer connected to a Hawking wireless print server. I want CUPS on Ubuntu to print to them, but the current setup causes CUPS to jam and send the same job to the printer every time the computer is restarted.

The current (broken) setup is that the printer server can accept lpt, cups, ipp, mac protocols, and is 192.168.1.250 on my internal network.

CUPS is configured on my home machine via the "Printing" under System => Administration.

General: Name: ML-1740 Description: printer Location: house Resolution: 600 DPI

Driver: Manufacturer: Samsung Model: ML-1740 Driver: gdi

Connection: Printer type: Network Printer IPP printer (IPP) URI: ipp://192.168.1.250/lpt1

This setup sends a page to the printer, and the printer prints the page. The CUPS server on the computer does not register that the print job is completed, though, and so the job remains in the queue.

When the computer is rebooted, the print job is senat again to the printer, and the printer job remains in the queue.

Removing the job unjams the queue and starts with the next job.

The job appears with the state of Printing:job-printing

localhost - - [12/Jun/2007:21:40:42 -0700] "GET /ppd/ML-1740.ppd HTTP/1.1" 200 27978 - - localhost - - [12/Jun/2007:21:40:42 -0700] "GET /ppd/ML-1740.ppd HTTP/1.1" 200 27978 - - localhost - - [12/Jun/2007:21:40:42 -0700] "POST / HTTP/1.1" 200 958334 CUPS-Get-PPDs - localhost - - [12/Jun/2007:21:40:58 -0700] "POST / HTTP/1.1" 200 1966 CUPS-Get-Devices - localhost - - [12/Jun/2007:22:01:11 -0700] "POST /printers/ML-1740 HTTP/1.1" 200 153636 Print-Job successful-ok localhost - - [12/Jun/2007:22:01:17 -0700] "POST / HTTP/1.1" 200 127 Get-Jobs successful-ok localhost - - [12/Jun/2007:22:01:20 -0700] "POST / HTTP/1.1" 200 127 Get-Jobs successful-ok localhost - - [12/Jun/2007:22:01:23 -0700] "POST / HTTP/1.1" 200 127 Get-Jobs successful-ok localhost - - [12/Jun/2007:22:01:26 -0700] "POST / HTTP/1.1" 200 127 Get-Jobs successful-ok localhost - - [12/Jun/2007:22:01:29 -0700] "POST / HTTP/1.1" 200 127 Get-Jobs successful-ok

...so it looks as if the printer comes back from printing the job

Possible Solution

LPT printing is enabled for the printer server.

Adding a network printer with LPD printer daemon and specifying the address 192.168.1.250 and the queue lpt1.

Printing a test page works! The queue empties out.

The pages show ghosting on the image and a faint copy of the ubuntu logo. I am not sure if this is the toner cartrideg running out.

Last updated: Wednesday January 02, 2008

Valid HTML