Solved

linux & ghostscript, possible??

Posted on 1997-03-27
2
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

734 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