CUPS 1.0 Enters The World
Well, it's basically a completely new printing system based on the Internet Printing Protocol ("IPP") that supports PostScript and non-PostScript printers and a variety of different file formats to make your life easier.
CUPS provides all of the normal printing commands ("lpr", "lp", etc.) - you still use "lpr" to print from Netscape, etc. However, these commands take on a new life with CUPS - instead of bringing up an application everytime you want to print, you can print most images, PDF files, etc. directly. CUPS figures out the type of file and runs any necessary filters to format it for the printer. Have a file that CUPS doesn't handle? No problem, just add a filter and CUPS will handle it, for any printer you have.
Printer drivers are provided for PostScript and HP PCL based printers. We're hoping that the filters provided with CUPS (including a PostScript RIP based on GNU GhostScript) will encourage independent developers and printer manufacturers like EPSON to start developing drivers that use CUPS. Only time will tell.
CUPS can be downloaded from our website at cups.org and is provided under the terms of the GNU General Public License. Commercial printer drivers based on CUPS are available from our main website. "
Yes, that is true, and that is pretty much what happens. The most common intermediate format is PostScript; most of the magicfilter stuff convert to PostScript or PPM and from there to the printer-native format, usually using GhostScript.
Using magicfilter, to print, say, a JPEG on a DeskJet 550C you do the following sets of conversions:
JPEG -> PPM (using djpeg)
PPM -> PostScript (using ppmtops)
PostScript -> dj550c (using GhostScript)
Magicfilter do these automatically by looking at the output for each conversion stage.
Be aware that printer drivers (at least for non-PS printers) often are a lot more than the implementation of the specs of the printer, and contain a fair ammount of the printer's functionality within.
These companies invest a large ammount of money into software to make their output look as good as it does. This can potentially mean complex (and patented) dithering and colour matching algorithms. Medium end printers instead move this closed code to firmware, along with a PS interpreter and enough RAM and power to handle it, or even (on higher end printers) divide their proprietary code between a dedicated print server and the rest to firmware.
Rudimentary printing is easy, but getting the most out of medium-end (?) printers ends up almost working backwards - you kinda buy the drivers and they come with the hardware to support them.
My point is not that this is good or bad, just that saying that printer vendors must open-source their drivers is to open a whole nother can of worms - is it appropriate for a company to sell closed software that runs on an open platform? I'm still not done eating my last can of worms!
Trees can't go dancing
So do them a big favor
Pretend dancing stinks!
Well, CUPS is pretty useless to me, since it apparently does not accept LPD connections from other print servers. I dug through all their documentation, and as far as I can tell, if this is supported, it's not documented. And, CUPS uninstalls your stock lp* during installation. So, unless I install CUPS on every *NIX box on my network, I can't print to CUPS from *NIX?
According to the Admin docs, CUPS only listens on the IPP port, and you can set it up to listen to the HTTP port. No mention of LPD, other than to say it can SEND jobs via LPD.
By the way, I am near the end of a (so far) extremely successful implementation of LPRng in a commercial environment. I had a brief correspondence with Patrick Powell, author and current maintainer of LPRng, and he has assured me that I can use LPRng with no charge in a commercial environment, but I haven't seen the actual license... all it says in the README is "Released under the GPL for use in non-commercial environments," which is pretty vague for my taste.
Auditing and dentistry are excellent career choices for people who don't
Auditing and dentistry are excellent career choices for people who don't like other people but aren't coordinated enough
So, we're out with CUPS. Now if we could just get Adobe to give us some Linux versions of their tools, life might be (almost) perfect.
Will in Seattle
Whenever someone newly installs Linux, and then asks me about setting up the printer, I ask, ``Does it do PostScript?'' *Blank stare*, then I start to whistle and change the subject.
All that's changed now!
My Freakin Blog
I've been using PPR (http://mouse.trincoll.edu/ppr/docs/index.html) for a while now, and it does an excellent job. It seems to support all the things that modern print spoolers should (media types, printer grouping, charging, etc.), it supports SMB and Appletalk printing, knows about using ghostscript for filtering and printing to LaserJets and other evil non-postscript printers, magically filters (and scales appropriately) JPG, PPM, PDF, TIFF, TeX, text, and heaps of other stuff (it uses netpbm). It can receive jobs from appletalk, smb, and lpr. It can know what paper bins a printer has just by looking at the PPD. It doesn't know about IPP yet, but it does everything a good print system should do, and doesn't have the kludgey feel that LPR tends to have. And it is free software. -Daniel.
That's what the XPRINT extension supports; it then hands the resulting output to whatever print spooler system you have.
ok, this is how it went: Xerox decided to put together Xerox PARC, the most advance computer resurch center in the world, and in doing so, hire some of the smartest computer scientists in the world. Bob Metcalfe was one of them. He was in fact so good that he was able to get a 3 month business trip to Hawaii before he even set foot in the office. On this 'business trip', he studied the way Alohanet (Hawaii's radio network) worked. And within a few months was able to come up with eathernet, the tech that we all love so dearly. The next step was to implement this new technology, and this was acomplished in the halls of Xerox PARC research center in palo alto california. There they built the first eathernet with coaxial cable, capable of acheiving 2.94 megabits per second. Xerox PARC continued to develope some other cool technologies (like the mouse and GUI) until a poor management decision gave apple the chance 'barrow' the ideas to create the Macintosh. At this point the scientists at PARC realized that their jobs were going no where, and went their own entripornorial (sp?) ways. Bob Metcalfe created 3com, the first commercial producers of eathernet cards, and most of his coworkers from Xerox became managers of their own companies too. now how was that for a long reply? from "nerds 2.0.1, a brief history of the internet"
The XPRINT extension for X11R6.1 and later follows a similar model - there are some added calls to start and end pages, select a particular printer, etc., but most of the drawing can be done with Xlib calls (or, if one can get an some toolkit for X to use a particular X display for particular calls, with higher-level toolkit calls)
XPRINT is also similar, in that the X Print server to which you connect generates PCL, PostScript, or whatever page description language, and hands it to your system's print spooler.
UNIX print spooler systems may also have their own mechanisms for turning various file formats into commands for a particular printer, e.g. filters to turn PostScript into rasters for printers that don't support PostScript.
If the X Print server you connect to is on a local machine, printing would work that way with XPRINT, although there's no mechanism for automatically copying printer drivers from the server (it may, after all, not be running the same OS as your machine, or, even if it is, it may not have the same instruction set; how well does that copied print driver stuff work with, say, an Alpha server running NT and x86 clients running NT or W9x?).
If the server's running an X Print server, it could also be done by connecting to an X Print server on that machine, and sending it the X and XPRINT requests to draw stuff over the wire.
Newer versions of the JetDirect firmware have working TCP/IP stacks, which may explain all the wise-asses who wonder what "you're doing wrong".
The easiest solution for those of us unlucky enough to be saddled with bad firmware is to switch to LPRng and, following the advice in the LPRng-HOWTO, use the printer's port 9100 as a direct link to the print engine.
At our site, we had no end of problems with HP printers crashing, locking up, and loosing jobs whenever two people tried to print at once. One day, I bit the LPRng bullet (and even installed "magicfilter" while I was at it). The configuration was a little work, but it was worth the effort. Finally, we have a printing system supporting Linux clients (using both LPRng and legacy "lpr") and Windows clients (via a Samba server acting as an LPRng client) that seems to work flawlessly.
Of course, all our printers are PostScript, so we don't have to worry so much about this newfangled CUPS stuff.
But he wasn't talking about Linux. He was talking about CUPS, an application. The most stable kernel in the world won't make a difference for a crappy application running on it. He didn't say the system went down, just the print-system, the application, there's a difference.
Besides, I fail to see how CUPS is much different from the rhs_printfilters shipped with every RedHat, or the similar filters Debian use. You can print almost anything directly, if you don't care about having some control with how eg. a TIFF is put on your paper (functionality which the Gimp will easily provide).
LPRng is nice though. It's much more fault tolerant than the standard lpr package. It puts a lot of effort into working with printers that aren't exactly acting as the RFC suggests. Too bad about the crappy licence.
Postscript is owned by Adobe, and they charge a fairly hefty fee for every printer you ship with postscript installed. Thus, low- and mid-end printers can't use postscript as the fee would drive the price per unit too high.
I suppose printers could use ghostscript, but for the unwashed masses, being a "ghostscript printer" won't be a convincing selling point.
Trust the Computer. The Computer is your friend.
Anybody know whether it's possible to run an X Print server on a headless machine (i.e., a machine with no display on which an X display server could draw)?
XPRINT doesn't require you to do that, as far as I can tell; all an X Print server does is accept X drawing requests, generate page description language output to draw that stuff on paper, and then hand to the print spooler system a file containing that output. You could, as far as I can tell, run the X Print server on your desktop machine, and have it hand the file to the spooler system, which could send it to the print server.
If you're running the program doing the printing on a server, that program would have to talk to an X Print server somewhere, possibly on that machine, or possible on some other machine.
You cannot imagine the HOURS I spend while working in Tech Support dealing with printing from Mac's and PC's. easy printing is ESSENTIAL for an OS to be used on the business desktop, and it's about time Unix had decent support.
Actually, if you read some electronics mags (Circuit Cellar did this awhile back), a hardware hacker named Don Lancaster uses printers as computational devices! You laugh, but that is what the postscript driver is, in a sense. He has written many articles about the postscript language, and even programs it directly. And he has done mathematical simultions on the printer, and ported the results back to the computer! Kind of ironic but cool stuff. Check out his page .
make world, not war
Just go to their download page. The source is listed in the select box along with the binary platform versions - jwb
Um, that would be a "WinPrinter," and we don't want no stinking WinPrinters in Linux!
Uh, then buy a postscript printer, where they move the closed code to firmware.
I suppose that last can of worms was Open Source operating systems or applications? If you're not done with that one yet I can see why you have the opinion you do. Give it time, you may learn the benefits of OSS some day...
I quite intentionally refrained from expressing my opinion regarding open source, because I wasn't explaining why I don't write fully open source printer drivers.
Trees can't go dancing
So do them a big favor
Pretend dancing stinks!
Of course, the big question is why a printer driver must needs be a trade secret.
I discussed this a little earlier, but thought of a good way to say what I mean, so this gives me the chance to have another go at it.
There are two factors that must be done to get high quality printing. There's the hardware end, which means that if you decide you want a pixel to cover v much area at position x, y, the hardware will actually be able to put the right ammount of ink there and let it dry properly.
The other factor which is as important is deciding where you WANT to put the ink to make a picture look good.
The way the printer market is currently, I would estimate that between half and a third of the R&D resources go into the second element, which is obviously going to be solved in software/firmware (resources, in terms of man-hours, not true for materials, obviously). I don't know if this is true everywhere - this is true for one high-end wide-format printer company I worked for, whose name I feel I shouldn't reveal (though I can't really think of a good reason why not).
See, here's the issue. You have a 150x150 dpi 24bpp image you want to print out on a printer that can handle 1440x720 dpi, 2bpp. Or maybe you can vary the sizes of the dots or use different densities of ink and get 8 bpp or whatever. But either way, you have to perform some deep magic to make what comes out of the paper look like what's on your screen, especially since the way the ink behaves depends on the kind of paper you're printing on. Higher end printers use CCD cameras to calibrate themselves, which also, let-me-tell-you involves some pretty clever hard things.
Consider an alternate model of the printer industry - that the printer companies are selling software bundled with a parallel port dongle which enables it to work. The reality lies at a point inbetween this and "they sell hardware".
If you're business is making and selling software, why should your code be a trade secret? Because your business model relies upon it. I am not aware of business models for pure software development which don't involved closed development somewhere or other. As far as I know most OSS business models treat development as sort of incedental. You make money selling support or something.
It *might* be possible to shift the emphasis to post-sale consumables - special paper and inks, but is this really necessary? Is there no place in this world for commercial software development except for supporting other commercial ventures?
Trees can't go dancing
So do them a big favor
Pretend dancing stinks!
Please support any problems you find to us at "cups-support@easysw.com". We *do* try to fix any problems that are reported as quickly as possible. Remember, the point of Open Source is to allow things like that to happen, making the software better! ;)
As for NULL checks, they aren't always needed, and we've tried to the checks where they aren't needed (or are duplicated) for efficiency... If you've found one missing that needs to be there, please let us know!
I print, therefore I am.
I do have one question, though. Instead of distributing an enormous archive of their custom GhostScript, why don't they just contribute their patches back to the GhostScript folks? I would like to test this, but frankly my own printing setup is working just fine, and I don't want to replace the whole thing en masse.
Cheers
-jwb
> THat's what happened with QT , and why to this DAY KDE is still considered non-free.
Except by RMS, who has personally called it free software.
stupid git.
I've finally had it: until slashdot gets article moderation, I am not coming back.
On one hand, a new printing system sounds really cool. Good that it's backwards compatible, sounds like it can provide some really neat features, but...
On the other hand, I'm not all that excited about a system that seems to encourage non-free printer drivers. Because that's what this is; the core is free, but large portions of the drivers are probably going to be proprietary.
I know some people will probably say I'm just being a whiny free software person, and maybe I am. But look at where proprietary drivers has gotten, oh, windows. You just can't depend on them. The stability of the GNU/Linux system is something we all trumpet, so why toss that out when it comes to something like your printing?
Then, let's look at experiences so far with proprietary drivers on Linux. My roommate complains all the time about his SBLive driver. It only works with some kernel versions, isn't stable, etc. I know that this isn't the same as kernel modules, but it still makes me nervous.
I'm all for new capabilities for my favorite operating system, but let's not forget the freedom that got us here in the first place. Support those manufacturers who make their specs openly available, and support free software.
--
Ian Peters
(more ontopic) This is nice to see, though -- any modern remake of lpr/lpd would be an improvement, and in particular seems a good example of the potential for coexistence between commercial for-profit software and free software -- the architecture is free, and specialized drivers for individual printers can be had for cost. Might not be suitable for home and hackerish uses in that respect, but business environments would lap it up.
Indeed? Digital and Intel were involved in the original 3Mb Ethernet? Or were they just involved in producing the 10Mb standard? (Did Xerox have 10Mb Ethernet before the DIX standard came out?)
Yup, as I said.
Debian comes with magicfilter package which does just that. You can send jpegs and stuff to the printer (besides plain text and postscript). So this is not entirely new concept. But I doubt how useful it is. You cannot make filters for every possible type of file. OK, so I can print pdf without Acrobat reader. Can I do the same with jpeg / gif / png / WordPerfect / as well? I'm sure it will be a cold day in hell before I'll be able to print MS Word documents that way. What I'm trying to say is that not only do you need drivers specific for every printer, but also for every file type...
I don't see what's so bad about the current printing system other then the lack of drivers. What we really need is more drivers for GhostScript.
___
If you think big enough, you'll never have to do it.
Why don't I just download the code, change it, and not tell anybody?
My Freakin Blog
CUPS and the CUPS logo are the trademark property of Easy Software Products.
Now, they've said the code is GPL, but what about the name? Will I need to send money their way if I want to advertise "NekoLinux comes with CUPS!" or something? Or are they simply protecting the name so that someone else can't also put out a program named CUPS? The later I can live with, but I'm going to get suspicious if it's so the trademark can only be used in "approved" ways without them specifying what an "approved use" is. Some clarification on their website would seem to be in order...
Oh, one other great quote:
The Internet Printing Protocol is an exciting new network protocol that provides a common set of network printing services.
I get suspicious whenever a network protocol is described as "exciting"...
Oh, and one more:
One of the many potential applications of IPP is Internet Facsimile services - you can print a document from any machine in the world to any printer in the world using IPP!
Yikes! Gods help us all...
--
"Convictions are more dangerous enemies of truth than lies."
First, it's a real printing system, not something layered on top of LPR that doesn't let you set options.
Second, the RH filters limit the printer support to what is compiled into GhostScript; CUPS allows you to add new drivers without recompiling.
Finally, file filters are a lot easier to deal with in CUPS - it will run multiple filters as needed to get to the "destination format", while the LPR filtering mechanism only runs a single filter.
I print, therefore I am.
Well this is a great step for printing on the Unix side and a bit late if you ask me. Spending my whole life with printers, espeically high speed print servers I must say that this is really too little too late. Unix is in whole, a multi user platform made for networks, and not necesarily the everyday home user. And so most printers that interface nicely with Unix, by no surprise, are multi user, high-speed printers. Now I am going to use two printers as example to point out printer evolution on Unix platforms.
;) ) Total custom boards, nice printing interface, custom RIP software, no use of lp (lpr) anywhere.
On the small color end you have the relitively new Tektronix 780, with network features such as:
Built in HTTP server for printer management and set up, FTP server for instand Postscript file upload, SCSI and IDE HD options for job storage as well as buffering space, SNMP, DHCP, and the list goes on. Now to print to one of these small office color machines from Unix, it is recommended that you have your app create a postscript file and have the app FTP the PS file to the printer. Real simple, real fast, very effective. No configuring anything in your OS for printer ports, print servers, or anything..just the specs of your printer to make the post script file. Here at work, we have mounted the printer's HDD to a point on the network where the PS files are automatically saved and printed.
Now on the high end lets look at how Xerox has developed its high end Docutech series. I cannot say enough about the importance the original 1992 Docutech135 has meant to computers in general. It is one of the projects that led Xerox to give us the mouse, the GUI, and ethernet. Moving away from totally cutom gear now that mice and GUI's are a dime a dozen, Xerox moves the central RIP'ing precess and printer control to a nice Sun Ultra 2 (creator 2). Nice move if you ask me. Using SBus's throughput to move paper through a machine 135 times a munite, duplexing, stapleing, binding etc (controlling a printer about the size of a bus in length). Now Xerox writes a SLEW of new apps to controll this printer, and to accept jobs comming in from IPX novell netoworks, Appletalk (handling IPX and appletalk on solaris, Xerox has gonads
Point in hand.. this app, which is aimed for the home small printer user I am assuming, is nothing real majical, and for most commercial users quit insignifigant. Anyway.. sorry about the spelling grammer etc.. i am in a REAL rush.
Bort
I discussed this with a member of the stampede linux project once before. It seemed like a great feature to add to our distribution. We were slightly worried about the AFPL, which is similar to the original QT license. Luckily, we're not constrained by the same guidelines as Debian, and can provide this, but I am more concerned about this product. Can someone give a better explanation of the APSL license so we can figure out how or if to include it?
The relevant clause is this:
CUPS is available under the terms of the Aladdin Free Public License, which means that it is basically free except for commercial distribution.(1)
Does that mean that Cheapbytes wouldn't be able to sell a Stampede CD that contained it? If so, this is going to have a hard time being accepted in the major distros.
(1) I don't think this is the legal text, but the jist, as provided by cups.org
----------------- "I have a bone to pick, and a few to break." - Refused -------------------
This definitely sounds like an improvement over existing Unix printing systems, but I'm not clear on whether it's going to be all that helpful on the client side.
Modern printing is more than just throwing a stream of data at a printer. When you set up printing in a Windows app, the driver lets you configure dozens of printer-specific options (paper trays, paper types, duplex, halftone settings, etc.) through a series of dialogs.
If CUPS requires a typical user to pass a bunch of command-line options to lp when he wants to run an unusual print job, then it's not going to be the least bit of help at getting Linux/Unix onto more desktops. The ability to print documents without invoking the application is nice, but hardly important to the people who do most of the printing in this world.
I haven't actually tried CUPS yet, so I may be totally off-base here. Actually, I hope I'm wrong, because printing is one of my biggest obstacles to getting Linux into non-geek environments.
Derek
Since I hate stock lpr (who doesn't?), I recently tried a late beta of CUPS. They may have fixed all the problems I encountered, but while I was thrilled by the idea, I found the execution poor. In particular, the server had a tendency to crash with a segmentation fault whenever anything slightly strange happenned; and in the course of blundering about trying to set it up, I managed to cause many slightly strange things.
Trying to figure out why, I started looking at the source... and discovered that in many places they lack even elementary error checking. NULL pointers are passed to functions that don't check for it, system calls are made with no return value tests, etc.
Now, as I mentioned, it's quite plausible that they fixed the specific bugs I ran into (e.g. when I tried to enable a printer class, instead of a specific printer, it died). It's also possible that the code examples I saw were an aberration, and that most of the project has much better quality code.
Still, I was very taken aback; remember, this is code that is implementing a network service directly -- sloppiness often leads to security holes.
Based on this experience, I instead chose to use LPRng: http://www.astart.com/lprng/LPRng.html. It took more effort to set up, and didn't work "magically" out of the box the way CUPS did (I had to install a version of apsfilter myself, for example), but in the end it did most of the same things -- and didn't crash all the time.
Unfortunately, LPRng has "yet another wacky license", which they claim is "Open Source", but which may have restrictions on commercial use. But if you're interested in CUPS, you should check out LPRng too.
First, it's a real printing system, not something layered on top of LPR that doesn't let you set options.
Whew, glad I can finally stop printing everything with a fake printing system now.
What options does CUPS offer that you can't put in a postscript file or pass to lpr? Granted the feedback could be better than "the printer isn't working" when something goes wrong, but that's about all I'd like to improve.
Second, the RH filters limit the printer support to what is compiled into GhostScript; CUPS allows you to add new drivers without recompiling.
This is a technical plus, but not a huge practical plus. GS 5.10 takes up a little over a meg on my hard drive, and is updateable with one command.
Finally, file filters are a lot easier to deal with in CUPS - it will run multiple filters as needed to get to the "destination format", while the LPR filtering mechanism only runs a single filter.
This is factually incorrect. Take a look at the print filters system in Red Hat (or Debian, or anyone else) sometime. If there's a jpgtopnm filter and a pnmtops filter installed, you don't need a jpgtops filter to be able to print through ghostscript.
The only serious problem with Linux printing is the lack of ghostscript drivers for some printers... but since this CUPS only seems to have ps and pcl drivers, we'll need to use ghostscript for 90% of it's printer support for some time.
Granted, CUPS looks like an improvement, but not a huge one.
Look again: from MS Technet
. asp?target=http://technet.microsoft.com/cd online/Content/Complete/windows/winnt/Winntas/manu als/concept/xcp05.htm
http://technet.microsoft.com/cdonline/default-f
[snip]
Windows NT supports true remote printing. When Windows NT and Windows 95 clients connect to a correctly configured Windows NT print server, the printer driver is automatically installed on the client computer. If you install a newer printer driver on the server, Windows NT client computers automatically download the newer printer driver. However, if you install a newer printer driver for Windows 95 clients on a print server, users running Windows 95 must manually update the printer driver to have the newer version copied to their computers
[snip]
You just don't *see* it happen.
Krakken
Although this is an interesting idea, it suffers from a couple of problems. The first is that it's very easy and in fact smarter to use multiple small programs to convert files to send to the print spool, instead of one large thing (see The Unix Philosophy by Mike Gancarcz for the argument with which I agree). The second is that a common printing system for UNIX does exist--but not for Linux. It's called XPRINT, and it's an extension to X11 that is used by standard CDE printing. Now, CDE isn't usually used in Linux, but CDE is _always_ used in something that's officially UNIX, because it's actually part of the UNIX 98 specs (http://www.opengroup.org). XPRINT is network-based, because it runs on top of X11. It allows use of all the X11 and X11 extension calls to draw to a printer instead of a screen. If you have an X server that supports Display Postscript, you can even just send Postscript files.
This is a little late; UNIX already has a common printing system. AFAIK, CUPS isn't network based, it's not as flexible as XPRINT, and it's not an industry standard. Granted, Linux hasn't standardised on XPRINT. But maybe it should--and maybe it would be better if you extended XFree86 to support XPRINT, and then wrote an lpr program that would use XPRINT instead, to encourage people to start using the UNIX standard, making things more interoperable with UNIX systems.
Here's the bottom few lines:
- What's the point if I can't run a program on my Solaris/Be/RiscOS/Windows/Mac/anything-with-Xlib box and print to a printer connected to my Linux box without using potentially unsupported print protocols, and do this all from Japan, printing in California?
- What's the point if there's already a common UNIX printing system?
- What's the point if I can get the same functionality and more by combining lots of small programs in creative ways?
- What's the point, full stop?
Anyway, I don't have the time, but let me just say, before anyone flames me, read the docs for XPRINT, and for that matter, X11. All the standards already exist, and they're open standards. Someone PLEASE write an XPRINT module for XFree. Then printing in Linux will be easy.
Let's end this sillyness.
There is a hidden share on the NT box called PRINTER$ (The doller sign makes it hidden, like IPC$.) In this directory, printer drivers for exported printers are put there (If you have the drivers available when you set up the machine)
The problem is most of the drivers nowadays are not OEMSETUP.INF style but SETUP.EXE style which the clients can't/won't install on their own. That is why you can get your HP laserjet to pull it's drivers, but not your HP Deskjet.
As for the Windows "Meta-language" Question, It's true there is one and it is actually rather good. I think it's called RMF (Raw Meta Format) or something. Basicly it takes the same GDI functions that you use for screen output, and writes them onto a "virtual screen" to be rendered on a printer. The virtual screen keeps track of what was done to it, and "plays it back" to the printer driver. That is why windows always knows how long you are going to have to wait for the print out - it's actually already pre-visulized the whole operation in it's head.
Let's try to make an analogy.
We're all in a church group preparing meals for the homeless and invalid. We all donate food with the understanding that it will be given away for free to anyone to asks for it. Bill Gates could get a free meal from our group, if he wants it.
Bob, a local restaurant owner, offers to give us excess food. This is perfectly fine food, but he can't use leftovers in his four-star restaurant.
Would you claim that you can't use Bob's food because he "discriminates" against his customers by charging them for their meals? Or would you recognize that Bob isn't a single-dimensional caricature of a wild-eyed zealot and he doesn't have to follow an arbitrary standard in all things? Hell, would you even consider the possibility that Bob really wants to serve meals to the homeless and his restaurant is simply a way to acquire and pay for the high quality food for the homeless?
Speaking for myself, my reaction when seeing responses like yours is that the GPL isn't worth the trouble. IIRC the BSD license is still DSFG free but is a lot more tolerant of pragmatic coexistence with unenlightened businesses.
For every complex problem there is an answer that is clear, simple, and wrong. -- H L Mencken
To what extent does the XPRINT extension provide that (at least for X applications), and in what ways doesn't it provide that? ("In what ways doesn't it provide that" could include ways in which X itself is deficient - and which might be ways in which apps don't have good enough display support as well.)
That'd work, of course, only if you have an X Print Server available, which not all UNIX systems necessarily do.
I think a much more important thing we should focus is on ipp. I read the RFC, and am not sure if things are being done right. For instance, if you send a postscript job to the printer, it will have inline information about color, media size, simplex or duplex printing.. How will the printer decide if it uses the data on the ps stream or given to the ipp server? also, why should people on win32 machnes have to download and install a printer driver? couldn't windows/macs/unix produce a generic file, whithout the information set via ipp, and send it gzipped to the printer?
Also, could someone point me to a link which describes the win32 printing system? How does applications send data to the printer driver? Is it a generic format? If so, couldn't this data be passed over the network to a remote printer driver?
I think there is too much things to be improved in this area.. but my knowledge on printing systems is close to null..
That's nothing, pal!
... blablabla...,SYSOUT=B
When I was working at Cook County Hospital as a programmer trainee, I was asked to print their inventory proof sheet for the daily transactions. It was about 50 pages of 132-column text on fanfold paper (remember that?) By mistake, I coded:
// PRINTER
instead of whatever the Hell I was suppoed to do. I remember that SYSOUT because, about an hour later, I got a call from Operations:
"'scuse me, sir, but we have 6 boxes of punched-cards you generated just now. What do you want us to do with them?"
"I'll call you back later," I said.
I told my trainer. He laughed for about 20 minutes, then said:
"You'd better not call them back. I'll take care of it for you."
I'm surprised they didn't make me put all the confetti back in...
--------------Rev. C.C.Chips---------------- For the real truth, visit
Okay, please don't get this mixed up. CUPS *is indeed* under the GPL. This means that all the fun GPL stuff applies to it. If you want to distribute binaries including GNU GhostScript, *then* you need to talk to them about a license.
Just thought I'd clear that up, as most people seemed to have it confused...
æeee!
No, it doesn't violate the DFSG.
With the exception of the GNU GhostScript code (which is owned by Aladdin) we wholly own the CUPS code. We can distribute CUPS under any license we choose.
The DFSG applies to a software distribution and a single license, not to all distributions and licenses that a package may have. Another example is GhostScript, for which there is a non-DFSG version (Aladdin GhostScript 5.50) and DFSG versions (GNU GhostScript up to 5.10).
I print, therefore I am.
This does not fail the DFSG in any way. There is a GPLed version; it trivially is DFSG-compatible. It is also possible to purchase, from the authors, a special dispensation to modify the code for use in a proprietary program. Note that the authors can give out the code under as many different licenses as they feel like.
I'm not sure how they'll deal with third-party modifications to the code, though.
Daniel
Hurry up and jump on the individualist bandwagon!
Patrick Barrett
Yebyen@adelphia.net
Restating the obvious since nineteen aught five.
It's so late that much or all of this might be garbage, but I thought Xerox invented ethernet (physical layer) and Metcalfe invented TCP/IP (transport layer). The early Xerox networks ran XNS (Xerox Network Service?)
For every complex problem there is an answer that is clear, simple, and wrong. -- H L Mencken
Yep, it's useless. Well, not completely useless. As a print queuing system, it's ok. You don't have any drivers unless you purchase them, and you may not get good drivers even then. (For instance, the HP672C driver is only marginally better thaan GS.) Assuming you have good drivers, and applications which begin to support it, you will eventually get the capability to control printer features like paper tray, output quality, paper type, etc. This is a good thing.
However, it doesn't do anything for providing apps with printer support like Windows, Mac, Amiga, OS/2 and basically every non-Unix OS do. It doesn't help apps determine what fonts are ok, it doesn't help them create the output, it doesn't give them a working font model, font metrics, the kind of info in afm files, etc.
feeBSD? ;-)
--
Man is most nearly himself when he achieves the seriousness of a child at play.
****Gfx Scrollbar Special case hit!!*****
Correct.
(Or, rather, he and Dave Boggs invented it; I have the impression Metcalfe isn't the sole inventor.)
Even the GPL allows you to contact the author and attempt to make an alternate licensing arrangement (the author can, of course, refuse). The DSFG, last I checked, allows for this. So CUPS doesn't fail DSFG after all.
There are similarities in the filtering mechanism, just as SGI's Impressario product and several others do.
The main difference is that the driver-application interface is richer (you can actually find out what the printer supports) and you can add different backend interfaces (i.e. a new network protocol, serial ports, etc.), other drivers, etc. without a lot of work.
Also, since IPP is the remote printing interface and CUPS maintains the available printers on the network, you don't have to administer the client machines, and the clients can actually send options to the servers.
I print, therefore I am.
RFC 791, "INTERNET PROTOCOL, DARPA INTERNET PROGRAM, PROTOCOL SPECIFICATION", says that it was "prepared for Defense Advanced Research Projects Agency Information Processing Techniques Office, 1400 Wilson Boulevard, Arlington, Virginia 22209, by Information Sciences Institute, University of Southern California, 4676 Admiralty Way, Marina del Rey, California 90291", and RFC 793 "TRANSMISSION CONTROL PROTOCOL, DARPA INTERNET PROGRAM, PROTOCOL SPECIFICATION" says the same thing.
I have the impression Cerf wasn't the sole author; I think Jon Postel, for one, was involved, and RFC 793 says
so presumably Robert(?) Kahn was involved as well.
In any case, as you note, Bob Metcalfe didn't invent TCP/IP.
Noooo, you just can't call your product "CUPS". You *can* call it "Gnomo CUPS", etc.
Trademarks protect names from getting "diluted". You can use the name all you like, so long as you are referencing *the* CUPS distribution. If you have a derivative then you just have to modify the name accordingly.
Please, think about Linux - it is trademarked but used regularly at part of the name of many Linux distributions.
I print, therefore I am.
CUPS uses filters for various filetypes. So hopefully I can get better quality for massive graphics than I can with postscript which basically vector-based from what I understand.
If CUPS is better and the license is right, then it should become the standard for GNU systems.
I am not sure about the Internet Printing thing. Isn't that what Xerox is doing? I guess it would be neat to print my file at my Uncle's house... kind of like faxing, huh?
The internet is making everything weird.
--