John Mann's Weblog (on sng)
 

String around my finger
A 'blog to remember things I found.
Tie a string around your finger
My Home Page
I work for NIS ITS Monash University Australia.

Index

Flavours

  • index
  • circa 1993
  • RSS
  • Links
    These are a few of my favourite links.

  • Home Page
  • Live weblog
  • Static weblog
  • raelity bytes ;-)
  • Slashdot
  • Subscribe
    Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.


    blosxom

    GeoURL

    IP Geotargeting
    Visit eBay

    Click to call me FWD# 61159

       
    Sun, 12 Sep 2004

    Windows to CUPS
    http://www.tldp.org/HOWTO/Debian-and-Windows-Shared-Printing/sharing_with_windows.html#share_cups_config
    The basic problem is that in the Unix model, applications create print files in whatever generic format they wish (e.g. PostScript), and the print system spools it as-is and changes it into whatever (binary print stream) the printer needs just before sending it to the printer.

    On the other hand hand, in the Windows world, each application calls a print driver to create the binary print stream that the destination printer needs, and the print system blindly shuffles the bytes to the correct place.

    So, a Unix print system given a application/octet-stream doesn't understand what format it is, and doesn't know how to translate it into what the printer needs.

    You must configure CUPS to accept the pre-formatted output by uncommenting the following line from /etc/cups/mime.convs:

    application/octet-stream   application/vnd.cups-raw   0   -
    
    Also uncomment the following line from /etc/cups/mime.types:
    application/octet-stream
    
    And then print via Samba

    Also, http://networking.earthweb.com/netsecur/print.php/10951_2236011_2 it should be possible to directly print to a CUPS printer from Windows via a URL like

    http://192.168.1.2:631/printers/hplaserjet 
    

    [ /networks | # ]