Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > how to print postscript file?

how to print postscript file?
Thread Tools
macunix
Junior Member
Join Date: Oct 2000
Location: boston ma
Status: Offline
Reply With Quote
Apr 19, 2001, 02:14 PM
 
in unix i just lpr the file
in MacOS9 i just drag to desktop ps printer

i don't know how to set up lpr in X, and there are no desktop printers. how do i print the .ps file?
     
naepstn
Forum Regular
Join Date: Apr 1999
Location: Edmonton, AB, Canada
Status: Offline
Reply With Quote
Apr 19, 2001, 02:46 PM
 
Isn't there an OSX version of GhostScript released? I would imagine (though I've never tried it) that you could access the standard Aqua "print" command from within it.

Just a thought.
Cheers!
     
macunix  (op)
Junior Member
Join Date: Oct 2000
Location: boston ma
Status: Offline
Reply With Quote
Apr 20, 2001, 09:18 AM
 
Hey-lpr works fine! when you set up a lpr printer in Printcenter it gets
entered in netinfo and is automatically set up for unix. then from terminal
lpr -P(IP#) filename.ps prints the doc. I'm very happy about this!
     
Frodo
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Middle Earth
Status: Offline
Reply With Quote
Apr 26, 2001, 07:30 PM
 
I've been trying (unsuccessfully) to coax lpr into working on my system- iMac CDRW w/ Epson Stylus 777. Printer works fine in Aqua, but lpr fails from the command line- messages tell me that the jobs are queued, but the lpd daemon cannot be started (unknown printer: lp). The lp device, in turn, is not listed in my /dev directory and hence cannot be invoked by the lpd at startup.

Does anyone have any bright ideas how to create a /dev/lp entry that will enable command line printing?

- My /etc/printcap file specifies the /dev/lp printer and the appropriate spool directory- can this be modified to point somewhere else more relevant?
- Is there a link that can be made so /dev/lp will redirect to the device driver itself (wherever it lives)?
- Anything else I'm missing here?

Thanks,

Jason

     
Frodo
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Middle Earth
Status: Offline
Reply With Quote
Apr 26, 2001, 07:49 PM
 
I've been trying (unsuccessfully) to coax lpr into working on my system- iMac CDRW w/ Epson Stylus 777. Printer works fine in Aqua, but lpr fails from the command line- messages tell me that the jobs are queued, but the lpd daemon cannot be started (unknown printer: lp). The lp device, in turn, is not listed in my /dev directory and hence cannot be invoked by the lpd at startup.

Does anyone have any bright ideas how to create a /dev/lp entry that will enable command line printing?

- My /etc/printcap file specifies the /dev/lp printer and the appropriate spool directory- can this be modified to point somewhere else more relevant?
- Is there a link that can be made so /dev/lp will redirect to the device driver itself (wherever it lives)?
- Anything else I'm missing here?

Thanks,

Jason

     
JLL
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Apr 27, 2001, 07:43 AM
 
Originally posted by macunix:
in unix i just lpr the file
in MacOS9 i just drag to desktop ps printer

i don't know how to set up lpr in X, and there are no desktop printers. how do i print the .ps file?
How about opening Print Center and double click on the printer.

A printer window opens and perhaps you can drag the PS file in there?

------------------
JLL
JLL

- My opinions may have changed, but not the fact that I am right.
     
macunix  (op)
Junior Member
Join Date: Oct 2000
Location: boston ma
Status: Offline
Reply With Quote
Apr 27, 2001, 10:30 AM
 
>Does anyone have any bright ideas how to create a /dev/lp entry that will
>enable command line printing?

Frodo, i don't know if you can do it with the stylus-is that a .ps printer?
like i said in #3 of this thread if you set up a 'lpr printer' in printcenter
it gets entered in netinfo and you can print to it from the command line. i don't
know where the corresponding files are, /etc/printcap says:
#....At other times this information is handled by lookupd. By default,
# lookupd gets information from NetInfo, so this file will not be consulted
# unless you have changed lookupd's configuration.

if you think it can be done, why not try via netinfo?

JLL, see #3 in the thread-cli printing is working fine.
     
bleen
Senior User
Join Date: Sep 2000
Location: Orange County, Ca
Status: Offline
Reply With Quote
Apr 27, 2001, 12:28 PM
 
Do you need a PostScript File? You can easially make a PDF in OS X, by going File->Print->Print Preview->Save as PDF.

If you need to make a PostScript file, you can get MacGS View for Mac OS X (It's on VersionTracker) open the PDF file then Export to PostScript.
     
JLL
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Apr 27, 2001, 07:34 PM
 
Originally posted by macunix:
JLL, see #3 in the thread-cli printing is working fine.
My suggestion was just a more Mac like solution (if it works)

Bleen: Perhaps he got the PS files from someone?

------------------
JLL
JLL

- My opinions may have changed, but not the fact that I am right.
     
bleen
Senior User
Join Date: Sep 2000
Location: Orange County, Ca
Status: Offline
Reply With Quote
Apr 27, 2001, 07:49 PM
 
MacGS View would still help
     
macunix  (op)
Junior Member
Join Date: Oct 2000
Location: boston ma
Status: Offline
Reply With Quote
Apr 27, 2001, 09:19 PM
 
>My suggestion was just a more Mac like solution (if it works)?

Absolutely, a fine suggestion and i will try it.

>Bleen: Perhaps he got the PS files from someone

some of us have *lots* of .ps files. standard doc preparation for scientific
literature is laTex-> .ps files for manuscripts, uses .ps or .eps for graphics.
a total change in how i do this was not part of the X-plan
     
Frodo
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Middle Earth
Status: Offline
Reply With Quote
Apr 30, 2001, 07:39 PM
 
Macunix-

It doesn't appear that ip printing is an option for the Epson- this is a non-PostScript printer, but should easily fall under the category of Line Printer (lp). Print Center makes the assumption that the printer itself is granted an IP address (deduction based on available ppd's in the list)- in this case, I'm trying to create a local spool folder for local jobs, and then (eventually) share that spool via SMB to the rest of our lab network.

I suppose we could tinker around in NetInfo Manager and try stuffing values in the printing services directory (/printers or /services/printer) but without a viable setup to modify, we're flying blind (*NOT* a good idea with a service like NetInfo). Just for kicks I tried putting in the IP of this system and created an LPR printer for Print Center, but to no avail - the job simply sat spooled at var/spool/lpd/10.13.1.18.

Anything else to try?

Frodo
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 04:43 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,