Re: SQL*ReportWriter v1.1 printdef problems

From: Dom <form999v_at_hotmail.com>
Date: 22 May 2003 02:27:31 -0700
Message-ID: <52400398.0305220127.55c6ac7f_at_posting.google.com>


[Quoted] Thanks very much for your reply (and apologies for my limited Unix/ReportWriter knowledge) and I'm sure this is a stupid question but how do I add it?!? I assumed the command in my original post would have done it (printdef lab_xerox xerox default) but I got the error 'Printer not in printdef database'. I've included the contents of our printdef.dat file in case it sheds any light on the problem - the wierd thing is that other printers print with the same parameters sent to ReportWriter.

Cheers

Dom

#
[Quoted] # DEC -- DEC printers in portrait mode
#
DC|DEC|DEC printers:\
        :ff=^L:cr=^M:nl=^J:is=^L:so=\E[1m:se=\E[0m:li#66:co#80:\
	:ap:us=\E[4m:ue=\E[0m:
#

# DECWIDE -- DEC printers in portrait mode with compressed characters #
DW|DECWIDE|DEC printers:\
        :ff=^L:cr=^M:nl=^J:is=^L\E[4w:so=\E[1m:se=\E[0m:li#66:co#132:\
	:ap:us=\E[4m:ue=\E[0m:
#

# DECLAND -- DEC printers in landscape mode (/FORM=LAND) #
DL|DECLAND|DEC printers:\
        :ff=^L:cr=^M:nl=^J:so=\E[1m:se=\E[0m:li#66:co#132:\
	:ap:us=\E[4m:ue=\E[0m:\
	:is=\E[!p\E[?21 J\E[15m:\
	:fs=\E[!p:
#

# DEC180 -- DEC printers, landscape wide mode (/FORM=LANDWIDE) #
D1|DEC180|DEC printers:\
        :ff=^L:cr=^M:nl=^J:so=\E[1m:se=\E[0m:li#66:co#180:\
        :ap:us=\E[4m:ue=\E[0m:
	:is=\E[!p\E[?21 J\E[15m:\
	:fs=\E[!p:
#

# DFLT -- Printer with no special codes -- also used for files #
DF|DFLT|default logical printer:\

        :ap:li#66:co#80:

#
# WIDE -- Wide printer with no special codes
#
WI|WIDE|default wide logical printer:\
        :ap:li#66:co#132:
#

# WIDE180 -- 180 wide printer with no special codes #
W1|WIDE180|default 180 wide logical printer:\

        :ap:li#66:co#180:

#
# HPL -- HP LaserJet in portrait mode
#
HP|HPL|HP LaserJet:\
        :ff=^L:cr=^M:nl=^J:is=\E(s0P\E&k0S\E&l7.27c66F:so=\E(s7B:se=\E(s0B:\
	:li#66:co#80:ap:us=\E&dD:ue=\E&d_at_:
#

# HPLWIDE -- HP LaserJet in portrait mode with compressed characters #
HW|HPLWIDE|HP LaserJet:\
        :ff=^L:cr=^M:nl=^J:is=\E(s0P\E&k2S\E&l7.27c66F:so=\E(s7B:se=\E(s0B:\
	:li#66:co#132:ap:us=\E&dD:ue=\E&d_at_:

"Ms. D.H. Harvey" <qq45_at_liverpool.ac.uk> wrote in message news:<bafmlj$4nu$1_at_news.liv.ac.uk>...

> ,Dom <form999v_at_hotmail.com> wrote:

> : We are running SQL*ReportWriter on a Unix platform (DG-UX) and are
> : running into problems adding a new printer. The printer works as a
> : normal UNIX printer but when it comes to using it with
> : SQL*ReportWriter we get the following error
>  

> : The printer file specified was not a valid printer description
> : (printdef) file.
>  

> : We then try add the printer definition file using printdef but then
> : get the following error:
>  

> : root> printdef lab_xerox xerox default
> : SQL*ReportWriter: Version 1.1.14.16.1 - Production on Tue May 20
> : 17:57:25 2003
> : Copyright (c) Oracle Corporation 1979, 1993. All rights reserved.
> : Generating printer file for lab_xerox...
> : Printer not in printdef database.
>  

> : Apologies if this is a trivial question, but we're stuck!
> : Any help would be much appreciated, thanks in advance
>  

> : Dom
> 
> Hi Dom
> 
> The definition for printer lab_xerox is not in your printdef file ie the
> one named default ...
> 
> HTH Helen
Received on Thu May 22 2003 - 11:27:31 CEST

Original text of this message