Quick Print Wizard question - resolved

Richard Hane yoresoft at sbcglobal.net
Fri Aug 7 09:15:18 PDT 2009






________________________________
From: Boaz Bezborodko <boaz at mirrotek.com>
To: filepro-list at lists.celestial.com
Sent: Friday, August 7, 2009 10:48:32 AM
Subject: Quick Print Wizard question

>
> Date: Thu, 6 Aug 2009 11:51:16 -0700 (PDT)
> From: Richard Hane <yoresoft at sbcglobal.net>
> Subject: Quick Print Wizard question
> To: filepro-list at lists.celestial.com, Bob Rasmussen <ras at anzio.com>
> Cc: Rick Hane <rhane at deluxestitcher.com>
> Message-ID: <802935.99947.qm at web81408.mail.mud.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> System:
> fileProODBC 5.0.15 (16 user network)
> Testing on a workstation with Windows XP Pro
> Print Wizard verion 3.0
>
> Here is my batch file:
> @echo off
> rem This File created by install shield on 8-25-2004
> set PATH=C:\WINDOWS\COMMAND
> set PFDSK=V
> set PFDATA=V:
> set PFPROG=V:
> set PFDIR=
> set PFLMHOST=server2007
> set PFMENU=V:\fp\menus\rick
> set PFGLOB=
> set PFCONFIG=
> set pfpostprint=c:\program files\printwiz30\printwiz.exe /fpdf c:\quote.txt /q
> set PATH=%pfprog%;%PFPROG%\fp;%path%
> echo stuff > fp$$$$$$.bat
> del fp$$*.bat>NUL
> %pfprog%\fp\p
>
> My printer definition
> printer12|? rickpdf,printwiz,c:\quote.txt,Create PDF
>
> I am trying to create a pdf of the output from filepro called quote.? The file quote.txt is created correctly and exists in the C:\directory.? But the above does not create a file called quote.pdf.? If I remove the "/fpdf c:\quote.txt" it will print correctly.? It does create a file called pdf that can not be opened.
>
> What am I doing wrong?? Also on the printer definition is it possible to let fp create the name of the output based on the data in a field?
>
> Thank you in advance,
> Rick Hane
> Deluxe Stitcher Company Inc.
> www.deluxestitcher.com
My own preference in using PrintWizard is to print to a file starting 
with a !PDF command to make Printwizard generate the file I want and 
then open it from within processing.  By controlling file names I can 
avoid multiple users trying to use the same file as might happen when 
using PFPOSTPRINT.

Boaz

First I want to thank Bob Rasmussen for his helpful email yesterday.  I am posting this to the list in case anyone else needs this info.

Boaz, I accomplised the same thing but did it a little differently.

Here is what I did.

In my batch file I have this line - set pfpostprint=c:\program files\printwiz30\printwiz /fpDF://u:\pdfquote\quote.pdf /quiet
My printer definition is - printer12| rickpdf,printwiz,c:\quote.txt,Create PDF
Here is the filepro menu scrip file which does everything.  Note V: is the mapped drive for fpodbc and u: is mapped to the users folder on the main server.
cd\
cd fp
rreport repair -f quote -v what -a -u  (this process prints the quote.txt file and places it in u:\pdfquote)
u:
cd pdfquote
rreport reprqte -f cleanup -a (this process renames the pdf with a unique repair number, then deletes the files quote.txt & quote.pdf)
cd ..
v:
cd\

This works perfectly and is very fast.

Again thanks to all who replied.

Rick Hane
Deluxe Stitcher Company Inc
www.deluxestitcher.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090807/fa431fbf/attachment.html 


More information about the Filepro-list mailing list