Solved

linux & ghostscript, possible??

Posted on 1997-03-27
2
301 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

With the recent demise of Windows XP support, you may be a new convert to Windows 7 or Windows 8. Or perhaps you've been on W7 or W8 for a while, but just recently acquired your first scanner for the new OS. In either case, you are likely to be very…
This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
This video is the first in a two-part series that discusses PaperPort's "Send To Bar" feature . This first video tutorial explains the purpose of the Send To Bar, how to use it, and how to hide unwanted items that are automatically created on it whe…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now