Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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???
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.