Solved

linux & ghostscript, possible??

Posted on 1997-03-27
2
312 Views
Last Modified: 2013-12-15
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.
   
0
Comment
Question by:swage
  • 2
2 Comments
 

Accepted Solution

by:
smichel earned 100 total points
ID: 1627020
I need to know which version and distribution of linux you are using... But here's a piece of answer...
If your printer is not a postscript one, and you need to print .PS files, you will need to install GS.
I installed GS from the slackware 2.0.xx version and it works perfectly.. I never tried to compile another version...
Maybe you should try and get the version from the distrib you are using... Don't forget to install the fonts, because I think GS needs it... You will also need the package to manage lpt ports...
Hope this helps...
0
 

Expert Comment

by:smichel
ID: 1627021
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...

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question