LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   want to ditch Postscript default printing (https://www.linuxquestions.org/questions/linux-general-1/want-to-ditch-postscript-default-printing-3173/)

drobson 06-07-2001 08:33 PM

Hello helpful Linux community!

I recently got my Linux box to use my HP LaserJet 4
printer attached to my other machine (Windoze 98) via
Samba. (A major accomplishment for a newbie!)
Doing a "lpr somePlainTextFile" works fine.

But it seems that the default printer language for all
the apps that run on this RedHat 7.1 system is postscript.

Now my problem is, the printer is not set up as a
postscript printer on my Windoze box, so when I try to
print a page from Netscape, or gedit for instance, all
I get is a bit of garbage on the printer.

Is there a way to make Linux output conform to the same
printer language that is set up on my Windoze machine?
AND to make it work as a default to all apps that I may
launch on Linux???

Thanks,
Doug
drobson@chartertn.net


unSpawn 06-07-2001 08:45 PM

soz Doug, not really an answer to ure question, but isnt printing PS in Windows just changing the driver? I use PS a lot for making pdf's (not paper prints, heh), using Microsoft & Adobe PS drivers which are downloadable for free. Btw, I thought PS was like the std printing language?

mcleodnine 06-07-2001 11:42 PM

Quote:

Originally posted by drobson
Hello helpful Linux community!

I recently got my Linux box to use my HP LaserJet 4
printer attached to my other machine (Windoze 98) via
Samba. (A major accomplishment for a newbie!)
Doing a "lpr somePlainTextFile" works fine.

But it seems that the default printer language for all
the apps that run on this RedHat 7.1 system is postscript.

Now my problem is, the printer is not set up as a
postscript printer on my Windoze box, so when I try to
print a page from Netscape, or gedit for instance, all
I get is a bit of garbage on the printer.

Is there a way to make Linux output conform to the same
printer language that is set up on my Windoze machine?
AND to make it work as a default to all apps that I may
launch on Linux???

Thanks,
Doug
drobson@chartertn.net


look at ghostscript and apsfilter. usunig them yu can take postscript output and pump it to a nonpostscript device.

drobson 06-08-2001 10:37 AM

Ah ghostscript, but how and where?
 
Well, ghostscript looks promising.
But the question for me now is:
If I want this to work as a default, where do I put
the pipe to filter out the postscript?
There is a place in samba.conf where you put
the "Print Command", which now is
"lpr -r -P%p %s". Should I put the pipe ahead
of that?
Second question:
Pardon for asking others to do all the work but,
what exactly would that command look like?

Ghostscript is already loaded under RH 7.1 distrib, so it's
there, I just don't know how to ask it to do what I want it
to do. Sorry to be such a lame brain.

Doug


All times are GMT -5. The time now is 03:25 AM.