Link to home
Start Free TrialLog in
Avatar of swage
swage

asked on

linux & ghostscript, possible??

I installed gs, got lots of errors as shown below. I tried to compile gs3.33, gs4.03 but still no luck. I don't have Xwindow installed and installed jpeg-6a without a problem.

Basically, I have 2 computers and a linux box as my server. One of the computers is a PowerMac, that prints to a LaserJet3-compatible (attached to the linux box) that doesn't use postscript.

Is there anyway to print from the p-mac to the linux LJIII-compat. without using ghostscript? Or if I have to install GS, what are the steps? What needs to be installed?
I tried gcc and cc, and still nothing. Links to FAQ web pages would be fine, if you can find 'em.

scfe.c:430: warning: left-hand operand of comma expression has no effect
scfe.c:447: warning: left-hand operand of comma expression has no effect
scfe.c:456: warning: left-hand operand of comma expression has no effect
gcc  -O -Dconst= -Wall -Wpointer-arith -Wstrict-prototypes  -c -Izlib
zfzlib.c
In file included from zfzlib.c:28:
szlibx.h:23: zlib.h: No such file or directory
make: *** [zfzlib.o] Error 1


jay.
   
ASKER CERTIFIED SOLUTION
Avatar of smichel
smichel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smichel
smichel

I am running linux slackware 2.0.27...
The ghostscript i use is Ghostscript 2.6.2 and it is located on the first disk of the ap series from the slackware distribution. These are the disks you might have used for installing your linux box.
Check that your lp command works well..
Once it works, install ghostscript and the fonts that you need...
After that try printing a ps document using .
gs -dSAFER -dNOPAUSE -sDEVICE=deskjet -sOutputFile=|lpr thesis.ps     or something like that...
I don't know if there is a device for the LJ III but you might try using the device for the deskjet or a generic device. (have a look at the options in the gs man or FAQ)
Gs needs very little configuration...
Once you are able to print a ps document from your linux box, all you have to do is automatize the process by assigning in samba a new share you could name Postscript.
Make the link between this share and a "virtual" printer in your smb.conf, define the virtual printer in your /etc/printcap and assign it the gs command line....
And it should work...