Re: Direct Printing with TCP/IP

From: Lew Pitcher (lpitcher_at_sympatico.ca)
Date: 01/15/05

  • Next message: Will Renkel: "RE: Variable substitution in sed with pathname"
    Date: Sat, 15 Jan 2005 10:51:02 -0500
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    msskyejohnson@hotmail.com wrote:
    > Hi,
    >
    > I would like to know if there is a way to print over TCP/IP in Unix
    > using direct printing instead of spooling.

    Certainly there is a way. All your program has to do is duplicate the way that
    the spooler uses TCP/IP to communicate with the printer, and do it yourself.
    This is /not/ a good idea, but there's nothing in the rules that says that we
    have to (or even can) stop you from using bad ideas.

    You might want to read up on network printing, and look into libraries that
    implement network printing APIs; this might simplify your efforts a bit. In any
    case, look for doc (and RFCs) on
    - - SMB printing (for "Microsoft file and print sharing" shared printers),
    - - Netware printing (for Novell Netware shared printers),
    - - Berkeley LPD, and
    - - Internet Printing Protocol

    - --
    Lew Pitcher

    Master Codewright and JOAT-in-training
    Registered Linux User #112576 (http://counter.li.org/)
    Slackware - Because I know what I'm doing.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFB6TvmagVFX4UWr64RAh8bAKCSEaIcKckoKOY6A0dKmioOGAOQ+ACeP1Vf
    1ZYGcyGlQu3CE0zJGmeQag4=
    =5RHm
    -----END PGP SIGNATURE-----


  • Next message: Will Renkel: "RE: Variable substitution in sed with pathname"

    Relevant Pages

    • Re: wireless printer problems
      ... Otherwise try in printer properties, advanced, select start printing after last page is spooled. ... Setting up Netgear WGPS606 for TCP/IP using Vista Home Premium: ... Run the cd of the print server to get the IP address of the print server. ... Click Add a Network, Wireless, or Bluetooth Printer. ...
      (microsoft.public.windows.vista.print_fax_scan)
    • Re: Stopping the test page?
      ... ago--doesn't natively support printing over TCP/IP. ... What you're looking for is lpr printing. ... Do some research on lpr printing and Windows 98 and 2000 and XP and how ...
      (comp.periphs.printers)
    • Re: Printer Problem
      ... I try printing from the server (using the tcp/ip printer I set up and shared) ...
      (microsoft.public.windows.server.networking)
    • Re: [kde] Duplexing prints on one side only
      ... and from the KDE4 print setup it does turn the ... are you printing something that is continuous or is it already paginated? ... 'The Linux Documentation Project' http://www.tldp.org/ ... Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org ...
      (KDE)
    • Re: error messages during ctorrent download
      ... using yellow ink. ... printing more difficult than cursive. ... 'The Linux Documentation Project' http://www.tldp.org/ ... Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org ...
      (Fedora)