Chris Hardy wrote:> > I've searched both the archives and dejanews, to no avail. I'm trying > to get a hp 4mp (PostScript) print out sane output. I've got a old > machine running Red Hat Linux, hooked up to the 4MP. The printcap > prints up postscript just fine. I make the printer a share, tell it > that the printer is postscript, then go to the win98 box, choose the HP > 4MP driver and try printing and get goobly gook. Any ideas? Have I > missed something?Let me be so bold: You've selected the standard 4MP driver, which is *not* a PostScript driver but an HP PCL driver. The printer is printing exactly what you're sending it, which is gobbledy-gook. If you have an HP 4MP Postscript driver, then use that one; otherwise, any standard PostScript driver will do. Good luck, and let me know how it goes. -Stephen-
I've searched both the archives and dejanews, to no avail. I'm trying to get a hp 4mp (PostScript) print out sane output. I've got a old machine running Red Hat Linux, hooked up to the 4MP. The printcap prints up postscript just fine. I make the printer a share, tell it that the printer is postscript, then go to the win98 box, choose the HP 4MP driver and try printing and get goobly gook. Any ideas? Have I missed something? -- This will be a day long remembered. -- Darth Vader "Star Wars : A New Hope" Chris Hardy -
On Mon, 22 May 2000, Chris Hardy wrote:> I've searched both the archives and dejanews, to no avail. I'm trying > to get a hp 4mp (PostScript) print out sane output. I've got a old > machine running Red Hat Linux, hooked up to the 4MP. The printcap > prints up postscript just fine. I make the printer a share, tell it > that the printer is postscript, then go to the win98 box, choose the HP > 4MP driver and try printing and get goobly gook. Any ideas? Have I > missed something?This may be a stupid question but does the 4MP driver generate postscript? I assume that (unless the 4MP is a postscript printer) on the linux side you have a printcap that runs a script to convert the postscript input to PCL or something. But if you feed that conversion non-postscript it gets confused. I think there are HP xyz drivers under windows that generate postscript and those who don't. Well, at least some of them have PostScript after their name (who knows what they actually do). /Urban
I had a little problem printing to postscript from Windows on my RedHat box before too. But I don't know if it is the same problem, but I will write just in case it is. The garbage you get from the printer, is it postscript? I found that the filter RedHat uses tests to see if the the file is postscript from the first few characters otherwise it will translate the ascii file into a postscript layout so the printer can understand. But the MS driver for my printer prepended some control characters specific for the printer which caused the filter to mistakenly translate the file to postscript. So I had a postscript output with postscript. To solve this, I created another entry in the printcap file that had no filter. A "raw" printer. Then I added this printer to the Windows machine and tried again. The print out was perfect. Another thing you might want to do to debug this, is create a printer with "lp=/tmp/lpfile" and have Windows write to that. That way you can see what windows is sending by examining the /tmp/lpfile output. Hope this helps. Steven Rostedt> "Stephen F. Bosch" wrote: > > > > > > > The 4MP is a postscript. For the most part, when I print the windows > > > test page, I get the windows graphic, and then some way oversized > > > letters, plusses and dollar signs. It's really starting to frustrate > > > me. > > > > If neither driver will work then you should try a generic PostScript > > driver, like the one for the Apple Laserwriter 380. > > > > Tell me, what happens when you specify a generic PostScript printer on > > the Linux box? > > It will print postscript just fine on the linux box, but when I print > from samba, it creates a garbage test page. > > > > > -Stephen- > > -- > Well, short help is better than no help at all. > -- Han Solo > "Star Wars : Return of the Jedi" > > Chris Hardy
Ahh that one :-) The defauklt in Postscript for this driver is to prepernd and append a ctrl-D character. This confuses the Filter. Also the Driver sends a PCL job control header before the postscript - this also confuses the filter. The Filter then doesn't recognise this so sends the job to the printer as text - hence the output you see. You can (in NT4) control these options I think you also can on 98. Or upgrade the Linux print filter. Good luck, /James Chris Hardy wrote:> > I've searched both the archives and dejanews, to no avail. I'm trying > to get a hp 4mp (PostScript) print out sane output. I've got a old > machine running Red Hat Linux, hooked up to the 4MP. The printcap > prints up postscript just fine. I make the printer a share, tell it > that the printer is postscript, then go to the win98 box, choose the HP > 4MP driver and try printing and get goobly gook. Any ideas? Have I > missed something? > > -- > This will be a day long remembered. > -- Darth Vader > "Star Wars : A New Hope" > > Chris Hardy --- Technology is a word that describes something that doesn't work yet. Douglas Adams