printing to file
Bob Rasmussen
ras at anzio.com
Thu Nov 4 10:16:31 PDT 2010
Let me reinforce Richard Kreiss's recommendation. It is certainly smart to
store printouts as PDF's rather than plain text or text with printer
control codesin it. PDF's are universally readable and printable. And it
is a great advantage if the formatting that is contained within the
control sequences is maintained.
It would appear that your filePro runs on a Unix or Linux system. There
are two primary ways you can use Print Wizard (our family of products) to
render PDF's from a Unix/Linux-based filePro:
1) Run AnzioWin as your terminal emulator. It contains most of the Print
Wizard code and capabilities for the passthrough print channel. Then tell
filePro that you want to do passthrough print.
OR
2) Run a Print Wizard service (of type LPD) on a PC. Define a remote
printer to the Unix/Linux box, that routes to the Print Wizard service.
There's more information, including some filePro-specific info, on our
website at www.anzio.com, along with demo versions. Take a look at the
video also for more ideas about document handling.
On Thu, 4 Nov 2010, Rkreiss at verizon.net] wrote:
> >From phone:
>
> You should set this on the command line
>
> /fp/rreport foobar -f report -v select -a -p /temp/report-name
>
> Keep in mind that any control codes placed in the report will be sent as text to the report.
>
> You might want to consider a program like printwizard from Anzio.com to convert your reoorts to a PDF file. This will keep all of your formatting.
>
> Richard Kreiss
> GCC Consulting
>
> -----Original Message-----
> From: scooter6 at gmail.com <scooter6 at gmail.com>
> Sent: Thursday, November 04, 2010 12:07 PM
> To: filePro Mailing List <filepro-list at lists.celestial.com>
> Subject: printing to file
>
> I am trying to diminish some of the paper we're using here and am trying to
> divert certain reports, etc to be printed to a file rather than printed to a
> printer.
>
> This is my first attempt at doing this, so forgive my ignorance to a degree
> ha
> In looking at the filePro manual, you should enter:
>
> printer file "/tmp/output" <--- as path to where you want the output
> directed to
> printer reset <---- to reset all printer functions back to where they
> started before processing started
>
> So, I have a report called recap for a file called PDMbal
>
> So, in output processing for 'recap', I do one simple looking to grabt the
> value of a dummy field
>
> Then: lookup sta = filename k=16 i=A -nx
> Then: aa(4,allup)=sta(2)
>
> Then: printer file "/tmp/output"
> Then: printer reset
>
> It DOES create /tmp/output, however it appears all it captures in that is
> the print code hex values or something....
> If I look at the output of /tmp/output, using vi:
> ^[%100^[(10OU^O^[E
>
> The actual report then does print (kind of) to my system default printer,
> but prints it in 2 pages, the first page looks normal like it should,
> then it prints the 2nd record on a 2nd page, with much larger print
> type....(there are only 2 records on this report, and when printed
> 'normally' it prints both records out in condensed print style just as I've
> asked it to.
>
> I also even tried putting the printer commands above in a -v processing
> table, but that had no effect and I got the same results.
>
> What am I missing here???
>
> BTW this is SCO OpenServer 5.0.5 w/filePro 5.6.07R4
>
> Thanks
>
> Scott
> PDM
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20101104/5affd8d2/attachment.html
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
Regards,
....Bob Rasmussen, President, Rasmussen Software, Inc.
personal e-mail: ras at anzio.com
company e-mail: rsi at anzio.com
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
street address: Rasmussen Software, Inc.
10240 SW Nimbus, Suite L9
Portland, OR 97223 USA
More information about the Filepro-list
mailing list