[Prev][Next][Index][Thread]

Re: Printing to non NeXT printers



> The biggest thing that's holding 1.3 back is the inability to print to  
non-NeXT printers.  This doesn't affect most of you, but those who it does  
affect have been stranded with an old copy of Executor for a while.
> 

> I plan to work on this problem almost exclusively until I have it solved.   
Please correct me if my information is incorrect:
> 

> 	1) Printing used to work to non-NeXT printers with 1.2.1
> 

> 	2) Printing has not worked since 1.2.2
> 

> 		On some printers (e.g. Apple based) only the
> 		first page comes out
> 

> 		On others (e.g. HP based) *nothing* comes out
> 

> 	3) Printing to preview has always worked
> 

> 

I have an Apple LaserWriter connected via AppleTalk and have been able to work  
around this with 1.2.1/1.2.2 as follows:

1) Print and use Next print dialog "Save" option.

2) Run the .ps thru this script:

grep -v __NXsheetsavetoken $1 | grep -v undef |  lpr


I call this lprexec, so I would do "lprexec myjob.ps".  


I was able to figure out the offending PS command by looking at the  
/usr/adm/lpd-errs file.  As you can see, I am merely removing some offending  
lines.  I would recommend that others look at /usr/adm/lpd-errs to see if  
there are any PS error messages when you print from Executor.

---
Dirk Herr-Hoyman                            | 

Internet Publishing Specialist              | Practice 

Electronic Journal of Extension             | random acts of kindness
  Project Coordinator                       | and
University of Wisconsin-Extension           | senseless beauty
hoymand@joe.uwex.edu (NeXTmail accepted)    |
608-265-3893 (voice) 608-265-2530 (fax)     |