Gremlin in dreport

Nancy Palmquist nlp at vss3.com
Mon Jul 11 07:12:45 PDT 2005


Doug Luurs wrote:
> REF:  SCO OpenServer 5.0.7
>       Filepro 5.11
> 
> This is not really a problem with filepro, but it is with my
> application.
> 
> I have a Zebra QL420 printer (Wireless Thermal Label Printer), and it
> runs CPCL
> for the programming language.  Works great save one "LITTLE" detail
> (It's always the
> details isn't it).
> 
> Label prints fine if I create a text file, and send it via "LP".
> If filepro sends the same file, it adds a "Blank" line (Blank meaning LF
> only on the line)
> at the end of the label, thus throwing the labels alignment off a line
> each time.
> 
> I can manually "edit" the output if I send the report to a text file,
> remove 
> the blank lines, and the output works.
> 
> Question is now .. Is there a way tell dreport to remove that final
> blank line from the report?
> or Can I remove a blank line from a file via script some how (Added into
> the print Driver on unix)
> 
> Printer Driver is defined as "1" line form / "1" line printable.
> Output is 41 lines, yet it prints 42 (42nd being the Blank (LF) line)
> 
Douglas,
You should get 1 line for every print command or record on a 1 line form.

When you send the output to a file - how many lines do you find in that 
version?

You should get exactly the same thing when you send it directly to the 
printer.  FilePro does not distinguish between output destinations, 
unless you change the print code table when you send the output to a 
file.  Make sure the same table is used in both tests.

To test this, I might add a code to the beginning of the line to tell 
you what is printing on each line.  rn(8,.0)=@rn and print *rn on the 
form.  If the line is added after the job, it will be blank.  You can 
count the number of lines per record.

Let us know.  I think it might be a different table or something.  I 
have used that Zebra language it makes for some strange reports.

Nancy


-- 
Nancy Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com



More information about the Filepro-list mailing list