Re: Direct Printing with TCP/IP
From: Lew Pitcher (lpitcher_at_sympatico.ca)
Date: 01/15/05
- Previous message: Ed Morton: "Re: output from cut command"
- In reply to: msskyejohnson_at_hotmail.com: "Direct Printing with TCP/IP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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-----
- Previous message: Ed Morton: "Re: output from cut command"
- In reply to: msskyejohnson_at_hotmail.com: "Direct Printing with TCP/IP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|