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. "
1) Windows has no printing design. Unless it's ascii, every program has to have its own filter for output to the printer driver. 2) Ghostscript acts like a super-filter; postscript in and hundreds of supported printers out. 3) You have to replace lpr with LPRng to pass arguments thru to ghostscript. Causes problems on RH which I haven't fixed yet. LPRng is the modern printing system you may be missing.
tcboo
What's the difference between CUPS and lprng+magicfilter?
They license out their Postscript name and technologies. The reason Mac OS x is supposedly still delayed is that the drawing API was based on Display Postscript. Besides being slow (from what I heard), Adobe wanted a lot of money for them to use Display Postscript. So they went and started work on a new graphics API (which, funnily enough, sounds like Display PDF)
DFSG Analysis of CUPS
1. Free Redistribution No. Cups does NOT allow the name CUPS to be used in any redistribution of the software. Trademark law covers variations of a name as well. Therefore, the product known as CUPS is not redistributable as CUPS.
2. Source Code
Yes, source code is provided. 3. Derived Works Dependant on whether or not the work is non-free. For this assessment, we will assume that all modifications are free (in compliance with GPL. Yes.
4. Integrity of the source No restrictions on this aspect. Yes, it passes.
5. No discrimination against persons or groups The release does not violate this clause.
6. No Discrimination against fields of endeavor None, however the moment a binary only patch is made to the official GPL'd package, the entire GPL'dness of the product is violated.
7. Distribution of License The program is NOT REDISTRIBUTABLE under the same license , as a different license exists for those who wish to remain closed sourced in API development
8. Not a debian specific license License is blanket.
9. License must not contaminate software License does not contaminate. 10. Example licenses License is GPL
Analysis: While this does tread on shaky areas of the GPL, it is clear that this program does violate the DFSG and the Debian Social Contract. The point of contention lies with the 7th and 1st law of the DFSG, where the 1st law is conflicted by disallowing of the same name (which covers blanketed through the system, much like a patent) of the subsequent patches, and the 7th law, which states that the PROGRAM must be redistributable under the same license. The inclusion of the Binary license and the program's redistribution under this seperate, GPL exclusive license violates the policy of the Debian social contract. Jarrod K. Henry
As far as I know, there are laws in the United States preventing the facsimile of unsolicited advertisements. I don't know if this law only applies to telephone networks, but it seems to me that government types wouldn't bother to make such a distinction.
Summary: I think net-based spam faxes would probably be prohibited by this law (if it exists in the first place).
---
chahast at pangaea dot dhs dot org
AFAIK, X itself doesn't provide outlines, ligature or kerning information, and some other junk. If X doesn't provide it, I'd doubt that xprint would, and if so, it's deficient. (Think for a moment why almost no linux word processor uses X fonts for much of anything. It's not because they're stupid.)
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.
Hmmm... there may be a fairly serious problem with this. Interestingly enough, reminds me exactly of the /. article earlier today on the proposed TGPL (transitional GPL... don't have a link here, sorry). Anyway, the problem I see is that these people plan on selling proprietary versions of their copyrighted software... fine, no problem with that. But they are distributing their software under the GPL -- presumably this means that outside developers (GPL hackers) will contribute work, bug fixing and new features to the CUPS code base. Now, I have trouble believing that these changes, improvements and new features won't get folded back into the main CUPS code base. But are they then going to relicense versions of this software, containing code that they *don't* hold copyright to, which has been "imprisoned" as closed source software? This would be clear violation of the GPL, unless the submitters give explicit permission for this to be done (the patches written and submitted would otherwise, presumably be GPLed). Perhaps this really would more properly call for the TGPL, afterall, which would allow for a business model such as this, and allow submitters of patches and new work on the CUPS code to choose either GPL or TGPL for their own code. Anyway, just some thoughts about some possible problematic issues with this practice. Hope I'm just misunderstanding something here, but I kinda doubt it.
Go look at any of the FSF's projects. You can't get code in GCC without turning the rights over to the FSF
Does that mean *all* printer drivers have to be GPL? What if the company doesn't want to release the source? I don't see how it would encourage companies to release more printer drivers.
___
If you think big enough, you'll never have to do it.
You're thinking of EMF, Enhanced Meta-File. The unfortunate thing there is that it does not play well with PCL on the higher-end LaserJet printers. At least, in all of my testing, it didn't.
Otherwise, you're quite correct.
By the way, one of the annoying thing about Windows client printing is that the drivers are pulled down with each print job. You'd think someone would come up with some way of checking the version or something to save network traffic... oh well!
--
QDMerge 0.21!
how to invest, a novice's guide
Well, I just managed to answer my own question by reading the FAQs on www.cups.org. Here's the relevant portion: Can I Contribute Code/Drivers to CUPS? Certainly. If you want to retain ownership of the code, filters and drivers can be contributed to the CUPS Bazaar. To contribute code to the base CUPS distribution, please contact us via email at cups-info@cups.org. Because we also provide CUPS under a binary distribution license, we will require that all ownership of the code be transferred to Easy Software Products, or that Easy Software Products be granted unlimited distribution rights to the code (possibly via payment of a fee to the contributor.) Code contributed to the base CUPS distribution must conform to the coding and documentation standards outlined in the Configuration Management Plan. In addition, a short outline of the changes and/or added functions must be provided so that we can update the CUPS documentation accurately.
Just a heads up here, for those who want to replace NT servers with SAMBA, Jetdirect internal and external units will not function for longer than 5 minutes with your average (redhat) lpr daemon
I'd be interested to know what you are doing to screw things up so horribly. I have used redhat from v4.2 to v6.0 with no problems whatsoever. This is with 1 and 3 port external JetDirects, and the internal JetDirects in HP4 series, HP5 series and HP4000 series printers. That sure does seem to cover most of what is currently in use. For more than just 5 minutes even. I have printed whole users manuals (300-400 pages) all at once with these tools.
I dont know, though. Although simplifying things is almost always a good thing, I'm concerned that this is just going to complicate an already complicated field. I am assuming it is completely backward compatable, is it?
What I don't know is, how widely supported is this? Has an companies with linux or unix distro's jumped on the bandwagon? I guess maybe we should take a wait and see approach.
-- Moondog
The early Xerox networks ran XNS (Xerox Network Service?)
Which was the basis for the Novell IPX protocol, just to add to the things that Xerox never made any money from.
Business. Numbers. Money. People. Computer World.
Sticks!!! You had sticks?!?!?! We had to scratch the dirt with our finger nails.
-matt
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 in a pretty short period of time, the average PC monitor has gone from about 60 dpi to 100 dpi+. Eventually we're going to have display technology which gives us "laser print" resolution (200-300 dpi). Maybe then it will become obvious to the overlords of the X Window System (the commercial UNIX companies) that X's font handling and general pixel-dependancy is broken.
Business. Numbers. Money. People. Computer World.
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
perhaps we should instead be looking for printer drivers that accept something like HTML, and render it as they see fit for the target device.
Like, uhh, PostScript?
Business. Numbers. Money. People. Computer World.
The only problem I have with the current printing
system is print quality. Documents and web pages
print pretty good. But if I want photo quality
output, i have to boot to windows.
This is most uncool. Printing graphics in linux on my epson stylus 600 is awful.
"you look like the gay version of a homo in a fag costume" - Greg_L
I can only say..
IT'S ABOUT TIME!!!
UNIX printing has always struck me as a total relic. I can see how it was appropriate years ago when everyone printed text and printers didn't need drivers, etc., but in today's printing world something more advanced was needed.
Hopefully, this is it
MoNsTeR
I wasn't saying that NDA printer drivers should or would be part of the GPL'd version. Some distributions would choose to ship all the free (beer) printer drivers with the free (speech) version of the program, some wouldn't. This would not compromise the free version of the program.
As far as not being able to called a forked version of CUPS CUPS, it's their choice and it doesn't violate the DFSG. They want to retain control of the product called "CUPS", and that's their right.
Another example of this is the Open Sound System. The linux kernel ships with a version of OSS called OSS/Lite. OSS/Lite is the GPL version of OSS, which isn't free in any sense of the word. However neither the existance of OSS, nor the existance of binary only drivers for OSS/Lite mean that Debian can't ship OSS/Lite. I have a SBLive on my computer, and as you may know, the SBlive driver is binary only. For obvious reasons, Debian does not include the driver to this card as part of it's distribution. However I was able to download this driver and use it with the kernel that ships with Debian because the OSS/Lite code is GPL and therefore DFSG compliant.
To use your example of QT, the QPL is DFSG compliant. KDE could not be included in Debian because there was no free version of QT. There was a commercial version and there was a pseudo open source version. There was no version of QT which met their standards. However, when QT 2.0 came out, it was released under a license which was basically the GPL with a clause saying you can pay Troll Tech to write commercial programs, and it was accepted into Debian. Take a look at Debian's ftp server if you don't believe me. You will find Qt right there.
For every lab I administer, I would MUCH rather have proprietary and/or "quirky" drivers to the complete lack of drivers that are out there now.
:)
You may say that windows has buggy drivers, but there's not a current desktop printer out there that won't work under win32.
-Chris
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
Another example - most of the current Lexmark Laser printers (1625, etc.) not only have an IP stack, not only support jet-direct protocol (port 9100), not only support tftp'ing files to the printer, not only support ftp'ing files to the print, but they have built in lpd support - that is, you can establish a remote queue definition pointing directly to the printer (IP = address of printer, queue = raw1). And the 1625 is a fairly low-end printer.
The Norton Anthology of English Literature, 4th Ed., Vol 2
AFAIK most printers who isn't a matrix printer or similair (line printers and such) uses PCL and/or PS.
And LPD/LPR is a pain to setup. Printing is one of Linux's real problem before it goes out to the newbies who wants to run it.
You should know that the copyright holder *is* the licensor and thus has the power to do whatever they want with respect to having different multiply licensed versions of software. Only if they *take* code others have contributed to the GPL version (i.e. code they don't hold the copyright to) and try to roll that into their binary version would they be violating the GPL. If you read their web site, they clearly don't plan on doing this. There will just be a forked GPL amalgamated version, I would imagine and a separate version containing only code they hold copyright to (and thus can license in any way they please). As much as some of this may violate the *spirit* of free software, it is all within their rights, and remember that as this is GPLed software, you can take the code and do any damned thing you want with it (i.e. maintain your own GPL only version for bazaar style driver development of fully free software).
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 remember running a filter suite called "magickfilter" (or something spelling variation of that) back in about 1994 on my slackware linux box. You could do "lpr pr0n.gif" and it worked flawlessly on my HP LaserJet. It was also very easy to set up.
One thing it did not have, however, was the ability to have custom printer filters applied by a printer server. In other words, I wanted to be able to send the job from a client workstation to a central printer server, have a custom PostScript-based coverpage (with the printee's username on it) prepended to the print job. Since it used plain ole lpd, this was not possible. It was only possible to do printer filters on the client workstation, not the print server. We wanted to print out a cool coverpage with our schools logo and the username in a nice helvetica font but could never find something to do the job. Perhaps CUPS has this figured out?
It's very unfortunate that people still insist on printing stuff out, but if they have to do it, might as well do it right! chris
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.
It's not Linux, its most likely the print filter you're using that was causing you headaches. You just gave up on using Linux too quickly. Other distributions such as Debian and Caldera install LPRng by default.
_ _______________
Use LPRng rather than Redhat's stock lpd - for a serious print server you want all the extra features LPRng offers, such as being able to send postscript directly to port 9100 on the Jetdirect card, web management (with lpinfo), the ability to have one printcap file that works across all print servers, support for installation on most commercial Unices, etc... LPRng comes on the Applications CD that comes with RedHat, is GPL'd for non-commercial uses, and is free for commercial implementations, but I'm unsure of other restrictions besides price for commercial uses. Anyway, if the license was good enough for the Debian group, it's good enough for me.
_______________________________________________
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
Yeah, if you can use a printer that supports Postscript directly rather than having to use Ghostscript, it will work better.
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
Absolutely not. See their FAQ on this at http://www.cups.org/faq0006.html. You have to give it to them and give them ownership of it before it becomes their property (i.e. you must consent to transfer your copyright to them). I certainly wouldn't do that for any significant chunk of code I had written. They also have what they call the CUPS bazaar at www.cups.org/bazaar.cgi, basically just a friendly database of patches, filters, or whatever that are not part of the base distribution. Anyway, the point is there's nothing here stopping somebody from forking a GPL only version off from this and taking GPL only patches from people and building it into a better CUPS. In fact, if there's enough interest in the community I could definitely see this happening. The people at Easy Software Products might not let them use the CUPS name, but it's not like CUPS has market share or name recognition at this point. Anyway, my point is that these people may not Get It (TM), but they aren't so stupid as to steal other people's code against their will. Or else, goodbye community support, hello forked GPL version and no more Easy Software Products. :)
I had a problem like that with some networked printers. The solution I found was to add an "empty: field :if=/bin/cat: for every networked printer as in: hp4000:\ :sd=/var/spool/lpd/hp4000:\ :mx#0:\ :sh:\ :rm=hp4000.printer.ip:\ :if=/bin/cat: I don't know about your case, but this might help
On a historical, semi-ironical note, wasn't it a proprietary printer driver that sent RMS on the GNU trip in the early 80's? :-)
---
I've done this before myself. It works great on a small installation with one printer, less well when you have many printers with different characteristics (your end-user software has to understand all of them; if you add a new one, you have to reconfigure the "print" script on every client machine).
Of course, the real problem is that there are M different formats people want to output to the printer (in some sense, many GUI applications have their own internal format which you can include in the M) and N different printers you want to render those formats to.
The traditional Unix answer has been to declare PostScript the intermediate language: turn all M into PS, then figure out how to render PS on all N. It makes sense to put the first step as close to the user as possible (since it's the user that cares about what kind of data they're printing) and the second as close to the printer as possible (to make it easy to add new printers).
(Is PS the right intermediate? *shrug*)
This is, of course, what almost no currently operating system does -- they mostly put _all_ the logic on the server side (a la CUPS or magicfilter) or all the logic on the client side (your solution, or the default Unix behavior of just giving raw access to the printer via 'lpr'). From what I hear, the X printing stuff might be a step in that direction... CUPS is not, AFAICT.
Parallel Distributed banner printing! One giant letter per page from each of fifty classic epson dot matrix units. Parties will never be the same again.
--
blinko - "the nail that sticks up gets hammered down"
That's what the XPRINT extension supports; it then hands the resulting output to whatever print spooler system you have.
Time will tell. There's no way either of us are going to change the others mind, so we'll just have to see what debian thinks of it.
Actually, magicfilter is more than one level "deep". The "fpipe" "pipe" "filter" and "ffilter" commands, by definition, send the results back into the filter script. I personally have text files going through enscript, to ghostscript, and with my old printer it then continues through pnm2ppa into the printer.
Maybe printer companies should stick this PCL garbage up thei... nevermind. Why dont companies make low-mid end printers with postscript. argh!. I have been looking for a 1200 dpi b+w laser with postscript forever, at a relatively ( $1000) low price. I may be dreaming, but postscript is way to rare. Seemed like a nice standard to me....
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"
I have had mixed results with RH6 and a Jet Direct. Most apps print fine, however Star Office still seems a bit buggy. I can print from the spreadsheet just fine, but the word processor and presentation packages almost always fail.
That being said, printing from Netscape (the majority of my printing) works fine most of the time, but I had to kill a 29 day uptime this week to get some jobs out of the queue. Turned out that I just needed to reset the Jet Direct box. After I did that, everything I had printed came spooling out, and no problems since then. I don't know what to blame, since I've had no problem using the same Jet Direct box under other operating systems, and it had been up for many months without a problem.
One other factor I have been considering is memory on the printer. I'm using a 5SI MX, but it has the default amount of memory, and no postscript. Complex graphics usually don't print, with no indication of error from the Jet Direct, printer, or my system. I've tried dropping down to 300 DPI, but with no change (except to the output of less complex graphics). Some sort of integrated solution for all of this would be nice, but I don't think I'm ready for CUPS yet. What I'm doing is (or should be) quite standard and easily supported, but this is one thing that I can't impress the Windows folks at work with.
Fortunately, my home printer has Postscript, for the sole reason of not having to deal with issues like this.
Indeed, as usual. In 1985 I had a Xerox 1108 (Dandelion) workstation with megapixel display, nice three-button optical mouse, and, of course, ethernet. Original big, fat, thick-wire ethernet that you have to cut into with a special tapping tool to add a drop-lead for a workstation (and you could only cut taps at particular intervals which had something to do with the wavelength of the signal.
But this was Ethernet, not TCP/IP; I can't remember the name of the protocol they ran, but I do remember that when our ethernet was (later) connected to the Computing department's ethernet, all their VAXen crashed and they were not best pleased with us...
I'm old enough to remember when discussions on Slashdot were well informed.
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.
It all boils down to this: It isn't your site. They can post whatever they want. If you don't like it, don't read it.
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.
Seems to me it'd be pretty straightfoward to implement the same thing in UNIX. Just set up an X server to emit PostScript code or HPGL or whatever and that should give you essentially the same functionality as you'd get from OS/2, Windows or MacOS.
Also kind of neat is the Universal Printer Description Format (UPDF) being worked on over at The Printer Working Group's web site. I've met with them and it seems like they are a clever bunch of people who do printing for a living trying to set aside corporate differences to come up with a standard that will benefit us all. They've mumbled stuff about CUPS to me and waved their hands vaguely but it seems to me that CUPS doesn't go nearly far enough toward fixing what's wrong with UNIX printing.
YMMV.
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
And that core nerd trait would be... great wealth?
I am a self-taught sysadmin runningan HP-UX network of 60 or so nodes; our office machines are
M$ boxes connected thru samba. Are you suggesting that I buy "only the best" software & hardware for my company? I clean the printers, upgrade the hardware, train the users, write the inventory barcode perl scripts, maintain security, etc.
I'mnothalfas smart as half of you, but by Darwin, I'm doing real work and have real contraints. If it works, I use it. I don't have time for replacing "good enuf" with elegance. A sawmill has a limited budget for their MIS department.
- freehand
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.
Can someone explain me what is the difference between this and Apsfilter (except that network printing and automatic doc. type detection)? I've been using Apsfilter about couple of years without any difficulties (formerly with HPDJ550 and now with Canon BJC-6000, which isn't even a supported printer).
;)
And what was that talk about selecting suitable filter e.g. to print PDF files? I thought that to convert all images, PFDs and text files to PostScript is easy enough.
Well, maybe I'm too old to understand this kind of new technology
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.
Actually, I wasn't commenting on the protocol itself as much as the dripping marketting hype.
IPP development was/is backed largely by Novell and HP, among others. Gee, that's the first time something from HP has been been accused of "dripping marketing hype" since 100VG AnyLAN (yuck!). And it's the first time anything from Novell has been accused of having any hype, ever.
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.
Um, that would be a "WinPrinter," and we don't want no stinking WinPrinters in Linux!
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!
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 would think most of the community here would disagree with you. Nerds or geeks tend to demand technical excellence and won't put up with sub-standard products. That's probably one of the underlying reasons that we support Linux so much. Because we think we can do a technically better job than Microsoft writing an operating system -- and we seem to have done so, no?
I think it would be honest and accurate to say that we would gladly pay top dollar for the technically superior hardware device. Unless we had an absolute immediate need I don't think anyone prefers a cheaper product that has "proprietary and/or 'quirky' drivers."
I believe it was a Xerox printer driver.
Postscript, HP JetDirect IO cards, and lpr. It's worked every time, for me...postscript for 15+ years, lpr forever, and I've used the great HP cards for just a few years, but they have worked beautifully. Don't mess with success.
- real hackers don't have sigs -
The above poster (if nested) has it right. An NT print server will download the driver to a NTWS "transparently". That's why when one updates the print driver on the server, it automatically updates the clients whenever they use the printer in question. You can see this by watching the client screen closely or checking the event viewer.
_damnit_
_damnit_
It's my job to freeze you. -- Logan's Run
The "Meta language" is the EMF Format (Enhanced Meta File), afaik, an extension of the WMF (Windows Meta File) Format, which also is more or less a record of GDI drawing operations.
Actually, some of them do use ghostscript.
They're called "postscript compatible" so that the unwashed masses don't get confused.
If J.K.R wrote Windows: Puteulanus fenestra mortalis!
How is this any different from the printfilters package Red Hat has been shipping for some time now?
www.eFax.com are spammers
This has been discussed elsewhere, but companies wishing to make proprietary printer drivers may buy a non-GPL license.
I would say we (well, GNU. ;) should make an open free standard similar to postscript, but alas we can not seem to affect the hardware industry.
> We're doing that for CUPS for the same reason that Linus trademarked Linux...
Um, Linus _didn't_ trademark Linux, some jerk in New England did, and it ended up being cheaper to pay him to transfer the trademark to Linus than to get the PTO to void it. Now, that in and of itself may be a good reason to trademark CUPS (although I doubt it - after all, it's not like I see a flock of people distorting the LPRng name), but at least get your facts straight.
Not checking for NULL is very poor software engineering. A check for null is a single operation running in theta(1).
for Ibegin
for J
begin
if a[i] 0 then
begin
a[i] = a[i] + 1;
end
a[i] = a[i] * 2;
end
end
Analysing this algorithm, we see that it still runs in theta(n^2) time (n^2
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.
X needs to be improved.
As an example, the WINE project has great difficulties with X's poor font handling. It doesn't provide anywhere near the capabilities of the Win32 interface, and thus makes it very difficult to emulate those parts on Win32.
I have wondered if Display postscript could be the answer to X's font woes, but I don't know enough about what it provides, and in any case, the GNU version isn't at production level yet.
Not checking for NULL is very poor software engineering. A check for null is a single operation running in theta(1).
for Ibegin
for J
begin
if a[i] 0 then
begin
a[i] = a[i] + 1;
end
a[i] = a[i] * 2;
end
end
Analysing this algorithm, we see that it still runs in theta(n^2) time.
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
The sooner X is replaced, the better. And don't whine about "you can write extensions to..."
Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
I saw this on Freshmeat and found it very interesting.
As a pseudo-newbie I'd really appreciate it if somebody who installs this on a Red Hat system provides a report... How to do it, how difficult it is, how useful it is, etc...
I assume SOMEBODY's going to rush right out and set this up...
/* The beatings will continue until morale improves. */
L.
there are 3 kinds of people:
* those who can count
there are 3 kinds of people:
* those who can count
* those who can't
All the drivers are (can be) on the Server, it's been that way since Windows 3.1!
You need to keep your knowledge up to date, before you present it as fact. It only makes Linux Supporters look bad, F.U.D. indeed!
Indeed, as usual. In 1985 I had a Xerox 1108 (Dandelion) workstation with megapixel display, nice three-button optical mouse, and, of course, ethernet. Original big, fat, thick-wire ethernet that you have to cut into with a special tapping tool to add a drop-lead for a workstation (and you could only cut taps at particular intervals which had something to do with the wavelength of the signal.
:-)
And they called the tapping tool a "Vampire Tap"
Most vendors have gotten smart and now release an "alternate" driver for 9x and 3.1 that's just OEMSETUP.INF, for NT client installations. Even HP does this now.
-witz
Just go to their download page. The source is listed in the select box along with the binary platform versions - jwb
Glad to hear Adobe (which contribs to my son's school in Fremont (Seattle)) is moving towards Linux. I think the main reason their tools are beasts is that you have to live with the Win/NT OS. If they could just jettison that, I could move my whole setup off Windoze - since Borland is going Linux too.
... maybe they'd get the hint ...
Maybe I could drape Waiting For The Interurban (across from their offices) with Penguin t-shirts and masks
Will in Seattle
Oops- you probably saw that in the old "overview" document; it should be updated now...
I print, therefore I am.
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!
Well this looks like another step in the unification of Unix versions. Assuming that companies like IBM with there AIX adopt cups at some point, as well SUN and there Solaris. It will be interesting to see how many *NIX flavors adopt cups in the next 6 months. It will also be interesting to see how many printer manufactures use this system to make printer drivers for *NIX flavors.
Only 'flamers' flame!
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.
Red Hat did exactly what you claim Debian did (I don't actually know what Debian did) -- they allow use of Red Hat in the name (e. g. "derived from Red Hat Linux" or whatnot), as long as it's clear that it's not the official package. I don't have the URL to the letter that they sent out about it, but it got heavily publicized on Slashdot and Linux Today, among others.
Red Hat acted honorably here. They want to use the trademark to make it clear to customers what they're getting, not to screw anybody (except people who wanted to pretend that they were selling the official package with support, as opposed to a cloned CD).
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
The printer$ share on a win9x box is actually the %windir%\system directory. Which of course contains the registry.
Just thought that was interesting.
Hands in my pocket
> 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
When I think of free software I think free speech not free beer.
When I think of Easy software should I think of easy women or easy money?
(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.
I am not a lawyer, but I am a law student, and I am taking a class on Trademarks. Basically
what you have said is correct. Any fair use of the trademark is allowed. The courts have interpreted fair use to mean the use does not seem to take away from the trademark owner what is rightfully his.
In other words, what Printman has said. If the company using CUPS attributes the mark to EasySW than it's all good. Trademark's are designed to allow companies to leverage their reputation.
One question for printman, It seems to me that the CUPS is not registered with the PTO, are you guys seeking registration? Have you consulted with lawyers? This isn't a flame, I was just wondering. Based on what I have learned in school, and over the summer doing trademark work for a law firm, it seems like there might be some problems establishing CUPS as a trademark.
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."
We haven't had a chance to finish the incoming LPD interface; it will be a separate thing from the scheduler and *won't* work if you've turned printer authentication on (that is, requiring a username and password.) It'll probably show up on the 'bazaar and then become integrated once we start the 1.1 betas (not anytime soon ;)
The main goal of 1.0 was to implement a new printing system that would work on all UNIX's. We originally were going to base it on LPD but extend the hell out of it.
Shortly after we finalized a preliminary design we discovered IPP. The switch to use IPP caused a complete redesign and required development of the network stuff in a completely different direction, so all of the LPD client stuff went out the door, at least for 1.0.
I print, therefore I am.
Look at the README file at least.
There's a PCL driver for HP LaserJets. If you have a PostScript model just grab the PPD file and you'll have full functionality that way, too.
I print, therefore I am.
..and you can telnet to them om port 9000 and screw them up completely. :)
If J.K.R wrote Windows: Puteulanus fenestra mortalis!
And the C64 and 1541 disk drive, where the 1541
has just as much processing power as the C64.
People used to do some really weird shit with that.
It's seems a little useless to have a free printing subsystem, but the collection of drivers is $300-$500. Granted Laserjet and Deskjet is a big part of the market, but... Does this mean that this thing needs to be drydocked until the community rewrites enough printer drivers to be truly universal? Also, is this truly that big an advance? Does it bring printing under Unix up the standards of NT/Windows (or for that matter, the Mac)?
I've been doing chaining with some success using lpr...i'd like seamless chaining i.e. print_job_on_some_system (mac/pc/unix) -> (server) -> (print server) -> (printer) and proper remote admin (preferably without logging in) with secure authentication...something lpr currently doesnt have.
On NT, the drivers live on the print server. They are never downloaded to the client workstation. Print jobs are handed to the print spooler on the server 'as-is', using whatever internal format Windows uses for print jobs in progress. (this is documented but I am too lazy to look it up :) )
You are confused with 95, which downloads print drivers from an NT server IF the NT server is set up properly. 95 requires print drivers to be local. NT clients do not.
I don't know what 98 does. I've never tried to print with it on our network.
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 don't know why we should complain about this, /.'s source code is effectively unavailable and won't be for a while. That is pretty hypocritical for the champion of open source I think.
--> Fight tyranny and repression.... read
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
Where are my moderator rights when I need them?!
Err, I just downloaded Slashdot's source. Haven't put up a site quite yet but I will soon. It's not GPL, more of a BSDish licence but who cares as long as you have the source.
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.
try browsing their site... they only give you deskjet and laser jet drivers. If you want other ones, it looks like you have to buy their commercial product based on the system. It only costs a few hundred dollars for the free CUPS core plus the drivers they should provide with their GPL software. Doesn't sound like such a hot deal to me.
Actually, Aladdin has been nice enough for some time to rerelease an versions of over a year in age under GPL. So, you can grab Aladdin's current GS under their license, or the GPL'd version.
Win NT Server keeps the printer driver files on the server - when a client adds a network printer it installs them on the client as well.
You can designate in Samba where to keep these printer files so that when windows clients add the network printer the drivers get installed.
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.
While you're waiting for Adobe, check out PDFlib:
http://www.pdflib.com/
It's a PDF file generator that works on Windows and UNIX. You can use it as a CGI. It's not open-source, but it comes with source. It's one of them free-for-individuals, costs money for businesses deals.
Our company does 360 feedback (performance appraisal by bosses, peers, and subordinates), and we use PDFlib to generate a report right on the web!
Patrick Barrett
Yebyen@adelphia.net
Restating the obvious since nineteen aught five.
Vint Cerf was behind TCP/IP.
Scuttlemonkey is a troll
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
For a couple of years now I have had very little trouble with my printer running under linux. First Slackware and now Redhat. It's a Cannon BJC-610 and is now supported under Ghostscript's UPP drivers (filter setup is finally made easy now with RH printfilters.)
/etc/printcap and print to that.
Samba even lets my Win98 box print to it with Cannon's windows drivers. If I want different resolutions for printing in Linux I can just add another entry into
I just don't see what's so great about this CUPS - I thought that there were already a couple of common print spooling systems....
Could it be that this company is just trying to make money by selling the drivers for this?
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
When I tried ESP Print Pro about a week ago, I found that printing took at least twice as long as GS. The output on my HP672C was better than GS, but it was nowhere near as good as the windows driver. Certainly not worth the cost of licensing it, which would be over $200 so I could let 3 machines print to it. (As far as I could tell, the demo shipped with a network-disabled version of CUPS, and it looked contrary to the licensing agreement to fix cups with the single-user/personal edition so that my home net would print.)
Sorry, thanks but no thanks. I'd rather purchase a PS color laser for $1200.
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!
Gotta agree with the cowards here. I just set up network printers on a LAN, and watched the clients suck down drivers from the server and install 'em.
Windows DOES have have a device-independent language that gets passed to the drivers--I think it's GDI--, but it looks like no one was bright enough to send GDI over the network before converting it for a specific printer. Or maybe it was impractical to use GDI. . .
If I am, in fact, wrong, could you explain how to set this up? I guess you could fake it if you had PS files and a PS printer, but otherwise. . .
My Epson Stylus Color 600 is supported very well by Ghostscript. The major annoyance, much like not being able to change bitdepth on X on the fly, is not being able to change the resolution of the printer on the fly (or maybe I just don't know how to do this). Sometimes I want something printed nicely, sometimes draft, and I don't feel like having 2 printer devices to do this. Will CUPS allow this?
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!
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
feeBSD? ;-)
--
Man is most nearly himself when he achieves the seriousness of a child at play.
****Gfx Scrollbar Special case hit!!*****
I believe he invented ethernet while working at Xerox. Then went on to found 3com.
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.
Another success story here..... Almost (we still have one lab that we haven't migrated yet....) every printjob at the Beauregard Parish Public Library has been passing through lpd on a Linux box on it's way to a JetDirect on one of our three HP printers for a year or so now. That's internal staff, patrons, everything.
Will admit though that while stuff printed from Windows is unchanged, printing graphics via Ghostscript kinda sucks compared to the same thing printed out of Windows. After a lot of tinkering I once got a Canon BubbleJet 610 to print a picture ALMOST as good as Windows... But I won't be able to finish converting the Scanning/DTP workstation completely until it's AS good. (Also still waiting on Corel Draw for Linux so it isn't yet a priority.)
Democrat delenda est
Which printers do you have?
I print, therefore I am.
Does Adobe make any money selling Postscript _drivers_? Sure, PS engines, but they give away a decent Adobe PS driver all the time. Download it off their site.
I've been hacking on a driver for the Epson Stylus Photo EX for a while. This is actually Michael Sweet's driver for the Gimp print plugin, ironically enough.
:-) ) could tune the output for different papers.
It turns out that Epson has (at least) two levels of their developer documentation, beyond the standard documentation for their printer language (ESCP/2). The "Level 1" documentation on their developer web site (http://www.ercipd.com/isv/edr_docs.htm) gives fairly detailed documentation on the printer, but there's at least one mroe level of documentation that's available only under NDA, which (obviously) I don't have. So I've been able to get very good print quality, but not the level of quality the printer is ultimately capable of. I've found another Ghostscript driver around that apparently does know how to achieve the higher print quality (looking carefully at the printer output it's obvious -- with an 8x loupe and simply looking at the micro-banding, it's clearly doing something different), but I haven't had time to study the code yet (my driver seems to produce better fidelity).
BTW, if anyone would like to hack on my modifications to Michael's Gimp plugin, it's available at http://www.tiac.net/users/rlk/print.tar.gz. I'd like to find more people to test this and make suggestions; it's become a rather expensive hack (in terms of paper, and particularly ink).
Whatever my thoughts about the multiple levels of documentation, though, I don't particularly blame Epson for putting the smarts in a software driver. Dithering algorithms and such for 6 colors (CMYK + light C + light M) seem to become very complex very quickly, and having this stuff be under software control makes it much easier to experiment with changes. For example, my driver achieves higher color fidelity (visually compared to my monitor) than the driver Epson bundles. It actually makes the printer a MORE open device than if the firmware were embedded. I wish Epson would put the entire programming information on its web site, not just parts of it, but at least I (or others who know more about color and dithering than I do) have a chance of reverse engineering the format and improving the output quality beyond what even Epson achieves. A true PostScript printer certainly has a very open interface, but a closed implementation. As much CPU as this consumes, I think that for printers such as this, having an open implementation is very valuable.
Examples of improvements that could be made:
1) More user-level controls (I've added gamma, contrast, and color level controls to the existing set). This enables fine tuning for a particular image or monitor.
2) Different kinds of paper. Images print very differently on different papers. Photo-quality glossy paper is different from "photo-quality" coated paper, which in turn is much, much different from standard ink-jet paper. This is mostly due to how much ink the paper absorbs. People who actually know what they're doing here (as opposed to dabblers such as myself who like to shoot off our mouths
3) Different inks. I bought a third party cartridge because it was the only one I could find at CompUSA. Its color balance was somewhat different. Conceivably a third party might devise archival inks (that don't fade rapidly) that have different colors and densities. With a software driver the printer really does become open; if it's in ROM on the printer, there's no adjustment for it.
4) Improved dithering algorithms. Someone might devise better dither patterns to get smoother output.
You can use the trademark I know, but can you say your product includes the trademarked name? Like Joe Schmoe's gas station can't say it uses Techron (tm) fuel, can it? They own the rights to commercial use of the name, or something to that effect.
From their FAQ page [http://www.cups.org/faq0006.html], I quote "Because we also provide CUPS under a binary distribution license, we will require that all ownership of the code be transferred to Easy Software Products, or that Easy Software Products be granted unlimited distribution rights to the code (possibly via payment of a fee to the contributor.)" That doesn't seem right ... you have to give all the rights to YOUR code to them or let them sell it for their gain in binary only form or you don't get to contribute. That doesn't sound in the spirit of a true free software project. I wonder if this will die quickly or we will see a code fork.
1. Free Redistribution No. Cups does NOT allow the name CUPS to be used in any redistribution of the software. Trademark law covers variations of a name as well. Therefore, the product known as CUPS is not redistributable as CUPS.
Linus Torvalds has the trademark on Linux. RedHat has the trademark on RedHat. Neither the GPL nor the DFSG says anything about your ability to modify code and claim it's the original version. That is what trademark law was made to prevent. Just as I can't can't write an operating system and call it Linux, you cannot write a printing system and call it CUPS. However since CUPS was released under the GPL, it (the real version) may be freely redistributed as specified in the DFSG.
6. No Discrimination against fields of endeavor None, however the moment a binary only patch is made to the official GPL'd package, the entire GPL'dness of the product is violated.
It is very common for a product to be licensed under more than one license. One example would be GhostScript. Effectively, a product which is dual-licensed can be considered two products, the Free one and the non-Free one. If someone releases a driver based on the non-Free one, that in no way compromises the integrity of the free one. What has been done with CUPS is actually alot better many products, as the version of CUPS which isn't Free is exactly the same as the free version.
7. Distribution of License The program is NOT REDISTRIBUTABLE under the same license , as a different license exists for those who wish to remain closed sourced in API development
CUPS was released under the GPL, therefore it must stay under the GPL. This is consistant with the DFSG guidelines. If companies want to redistribute it under a different license, they may, however once again, they may only do this with the non-Free version. The version which was released under the GPL must be redistributed under the GPL.
CUPS is certainly compliant with the DFSG, as by definition, any GPL'd program is.
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.
--