PFPOSTPRINT printing double to number of labels requested

Don Coleman dcoleman at dgcreact.com
Wed Aug 23 09:03:50 PDT 2006


I installed Print Wizard v3.0 & fP v5.6.03 at a site last week.  When I
request bar-code labels (*clerk using @KEY processing)) PW takes whatever
number of labels I request and doubles it.  I've checked the file I print to
(via the fP PFPOSTPRINT command) and the data is only in the file once.
Plus, if I manually have PW process that file it only prints once (v3.0).
Yet if I have my fP application print it automatically it doubles the #
requested.  If I change my PFPOSTPRINT command to open a NOTEPAD file
instead of starting Print Wizard it only opens NOTEPAD once.

I've also changed my application to print from my USB drive using an older
copy of Print Wizard (v2.5P)and then it prints the requested # of labels.

Bob Rasmussen asked me to create a log file and send it to him which is
below.  The log shows two entries where PW is printing the file.  Bob feels
PFPOSTPRINT is sending the job twice.  He says the critical piece is that,
as PW3 shows you in its debug, the command line contains the name of the
data file twice. I've already explained that PW2.5 didn't respond to that
fact.  Can anyone shed any advice on this?  My fP table follows the log.

Print Wizard version 3, build 3.0.18.0 Copyright C 1999-2006 by 
Rasmussen Software, Inc.
Command line: "C:\PROGRAM FILES\PRINTWIZ30\PRINTWIZ.EXE" /P"DATAMAXE" 
C:\TEMP\HARDCOPY.TXT C:\TEMP\HARDCOPY.TXT
Debug: License number is 31005
Processing C:\TEMP\HARDCOPY.TXT
Printing file C:\TEMP\HARDCOPY.TXT
Opening printer: DATAMAXE
Data contains no pagefeeds; processed 6 lines Longest line is 30 
columns Maximum page size unknown (no pagefeeds in data) Couldn't 
guess page length Paper bin code = 256; paper size code = 279; paper 
media code = 1 Printable page height = 229 dots at 203 dots per inch 
(1.13 inches) top offset = 0 dots (0.0 inches)
Printable page width = 533 dots at 203 dots per inch (2.63 inches)
left offset = 10 dots (0.05 inches) Character width = 17.0 dots
yielding 11.94 columns per inch, 30.76 columns per page Left margin 
(from edge of paper) = 20 dots (0.1 inches) Font height = 33.83 dots 
(0.17 inches)
Top margin (from edge of paper) = 0 dots (0.0 inches) Line spacing 
= 33.83 dots
yielding 6.0 lines per inch, 6.77 lines per page Closed print job 
File C:\TEMP\HARDCOPY.TXT printed on "DATAMAXE"
finished
Processing C:\TEMP\HARDCOPY.TXT
Printing file C:\TEMP\HARDCOPY.TXT
Opening printer: DATAMAXE
Data contains no pagefeeds; processed 6 lines Longest line is 30 
columns Maximum page size unknown (no pagefeeds in data) Couldn't 
guess page length Paper bin code = 256; paper size code = 279; paper 
media code = 1 Printable page height = 229 dots at 203 dots per inch 
(1.13 inches)
top offset = 0 dots (0.0 inches)
Printable page width = 533 dots at 203 dots per inch (2.63 inches)
left offset = 10 dots (0.05 inches) Character width = 17.0 dots
yielding 11.94 columns per inch, 30.76 columns per page Left margin 
(from edge of paper) = 20 dots (0.1 inches) Font height = 33.83 dots 
(0.17 inches)
Top margin (from edge of paper) = 0 dots (0.0 inches) Line spacing 
= 33.83 dots
yielding 6.0 lines per inch, 6.77 lines per page Closed print job 
File C:\TEMP\HARDCOPY.TXT printed on "DATAMAXE"
finished

> Aug 18, 2006  10:11           File Name: STKCOST                   Page
1
>                              Processing: Input
>
>   62 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
> @KEYL    If:
>        Then: PRINTER TYPE "CONCORDIA";PRINTER NAME "DATAMAXE"
>   63 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
>          If:
>        Then: 'PUTENV "PFPOSTPRINT","C:\WINDOWS\NOTEPAD.EXE"
>   64 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
>          If:
>        Then: PUTENV "PFPOSTPRINT","C:\\PRINTWIZ\PRINTWIZ.EXE
/P\"DATAMAXE\"
> C:\TEMP\HARDCOPY.TXT"
>   65 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
>          If:
>        Then: 'PUTENV "PFPOSTPRINT","C:\PROGRAM 
> FILES\PRINTWIZ30\PRINTWIZ.EXE /P\"DATAMAXE\" C:\TEMP\HARDCOPY.TXT"
>   66 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
>          If:
>        Then: INPUT POPUP N(4,.0) "\r Enter Number of Bar-code Labels 
> to
> Print: \r"
>   67 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
> next     If: N lt "1"
>        Then: end
>   68 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
>          If:
>        Then: FORM "LABEL"
>   69 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
-
>          If:
>        Then: N=(N-"1");goto next

Don Coleman
Donald G. Coleman, Consultant
402 Andrew Circle
Indiana, PA 15701
dcoleman at dgcreact.com
(724) 349-6302





More information about the Filepro-list mailing list