[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

linux & ghostscript, possible??

Posted on 1997-03-27
2
Medium Priority
?
326 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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…
Suggested Courses
Course of the Month20 days, left to enroll

872 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