raw queue makes manufacture driver unstable

Helge Blischke h.blischke at srz.de
Tue Mar 7 04:13:11 PST 2006


Thai wrote:
> 
> Hi,
> I have a samsung laser printer ML-2010 with manufacture linux and windows driver (the printer does not understand postscript, it use Samsung Printing Language II)
> The printer is connect by USB cable to a Red Hat Enterprise Linux 4.2 machine with cups 1.1.22 release 0.rc1.9.10 installed. I want to share this printer to 3 windows XP machines on my LAN by samba. I have read the http://samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id2600333  In that document, i found the following instructions:
> ----------------------------------
>    1.Edit /etc/cups/mime.types to uncomment the line near the end of the file that has:
>     #application/octet-...
>    2.Do the same for the file /etc/cups/mime.convs.
>    3.Add a raw printer using the Web interface. Point your browser at http://localhost:631. Enter Administration, and add the printer following the prompts. Do not install any drivers for it. Choose Raw. Choose queue name Raw Queue.
>    4.In the smb.conf file [printers] section add use client driver = Yes, and in the [global] section add printing = CUPS, plus printcap = CUPS.
>    5.Install the printer as if it is a local printer, that is, Printing to LPT1:.
>    6.Edit the configuration under the Detail tab and create a local port that points to the raw printer queue that you have configured above. Example: \\server\raw_q. Here, the name raw_q is the name you gave the print queue in the CUPS environment.
> ------------------------------------
> The instruction 6 is not clear since i dont know what application the "Detail tab" belong to. Moreover, ignoreing that instruction, my /etc/cups/printers.conf is liked this:
> -----------------------------------
> # Printer configuration file for CUPS v1.1.22rc1
> # Written by cupsd on Tue 07 Mar 2006 12:15:31 AM EST
> <DefaultPrinter nimbus>
> Info Samsung ML-2010 Series (SPL II)
> Location darkportal
> DeviceURI usb:/dev/usb/lp0
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer vernus>
> Info Samsung white printer on Thai's desk
> Location darkportal
> DeviceURI usb:/dev/usb/lp0
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> -------------------------------
> However, although all windows machine can now use windows driver to prepare print job and sent to the server, on the server itself, the linux driver become unstable. In fact, i can not print a series of page or choose to print odd or even page only from a series of page.
> The question is, how can i make the local linux driver(print from the linux machine) as it supposed to be while still letting the windows machine use the printer as a shared resource.
> Hope anyone can help
> Thai

In your smb.conf, specify "printing = cups" and "cups options = raw" in your globals section.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list