Sco Openserver permissions problem (still 1 more error)

Mike Schwartz mschw at athenet.net
Thu Nov 29 12:19:53 PST 2012


> > On Thu, Nov 29, 2012 at 11:29:29AM -0600, Mike Schwartz thus spoke:
> > > 113  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-   -
> > >        þ If: 'Create a print file name   (temporarily borrow variable
DF)
> > >        Then: DF="/tmp/" {de {".PRN"
> > > 114  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-   -
> > >        þ If: 'Create the print file, change its permissions
> > >        Then: DC=">" {DF {"; chmod 666" <DF
> > > 115  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-   -
> > >        þ If: 'Create the print file, change its permissions
> > >        Then: system noredraw DC
> > > 116  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-   -
> > >        þ If: 'Send a PCL form to the ImageRight temporary storage
> > > subdirectory
> > >        Then: PRINTER FILE DF
> > >
> > > ----- ----- (Debug half-step)
> > > --------------------------------------------------------------------
> > > --
> > > ------
> > > -----------
> > > [ True }
> > > Prc. Name: GLTVHOx
> > >         If: 'Send a PCL form to the ImageRight temporary storage
> > > subdirectory
> > >  116  Then:  PRINTER FILE DF
> > > Enter Command > sh: /tmp/GLH1000.PRN: cannot execute
> > > ------ -----
> > > --------------------------------------------------------------------
> > > --
> > > ------
> > > --------------------
> > >
> > >      The permissions on the output file look OK:
> > >
> > > -rw-rw-rw-   1 filepro  ins            0 Nov 29 11:20 GLH1000.PRN
> > >
> > >      I've also tried:
> > >
> > > PRINTER FILE (DF)
> > >
> > >    and
> > >
> > > PRINTER FILE  "/tmp/" {de {".PRN"
> > >
> > >     All of these variations display this error in debug:
> > >
> > > Enter Command > sh: /tmp/GLH1000.PRN: cannot execute
> > >
> > > Thanks!
> >
> > Okay, you're only creating the file for DF.  You're not trying to
> > execute it directly.  What you -are- apparently doing is trying to print
to that
> file.
> >
> > Bourne shell is telling you "some program cannot execute".  Which
> > tells me that if it's coughing on the printer line, it's trying to use
> > a command it can't, probably located in the printer definitions.
> > Check your printer definitions in Printer Maintenance, and possibly
> > set PRINTER TYPE to the right kind of printer.
> >
> > mark->
> 
>      Hmmm...  I don't recall having to set a printer type before when I
used
> Printer File, but I will try that...
> 
> Thanks again!
> 
> Mike

     I tried adding this  "Printer Type" line, but debug still showed the
same error message.

Then:    PRINTER TYPE "hplaser5"

118  Then:
Enter Command > sh: /tmp/GLH1000.PRN: cannot execute
  
   
Mike






More information about the Filepro-list mailing list