Unix questions - Direct Printing with TCP/IP

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > January 2005 > Direct Printing with TCP/IP





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Direct Printing with TCP/IP
msskyejohnson@hotmail.com

2005-01-14, 5:52 pm

Hi,

I would like to know if there is a way to print over TCP/IP in Unix
using direct printing instead of spooling.

Thanks in advance,

Skye.

Lew Pitcher

2005-01-15, 5:49 pm

-----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

iD8DBQFB6TvmagVFX4UWr64RAh8bAKCSEaIcKcko
KOY6A0dKmioOGAOQ+ACeP1Vf
1ZYGcyGlQu3CE0zJGmeQag4=
=5RHm
-----END PGP SIGNATURE-----
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com