pcl6 program? Filepro-list Digest, Vol 132, Issue 11

tob at b-e-s-t.com tob at b-e-s-t.com
Sat Jan 17 12:30:05 PST 2015


In message 3 what does he mean by 'pcl6 program'?
 
-----Original Message-----
From: filepro-list-request at lists.celestial.com
Sent: Saturday, January 17, 2015 5:31am
To: filepro-list at lists.celestial.com
Subject: Filepro-list Digest, Vol 132, Issue 11



Send Filepro-list mailing list submissions to
 filepro-list at lists.celestial.com

To subscribe or unsubscribe via the World Wide Web, visit
 http://mailman.celestial.com/mailman/listinfo/filepro-list
or, via email, send a message with subject or body 'help' to
 filepro-list-request at lists.celestial.com

You can reach the person managing the list at
 filepro-list-owner at lists.celestial.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Filepro-list digest..."


Today's Topics:

 1. happy birthday Brian White on Sunday (tony)
 2. Creating directory from within Filepro (Mike Fedkiw)
 3. PCL 3/5 printer died; did I slit my throat?
 (Jean-Pierre A. Radley)
 4. Re: Creating directory from within Filepro (Kenneth Brody)
 5. RE: PCL 3/5 printer died; did I slit my throat? (Mike Schwartz)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Jan 2015 11:22:47 -0600
From: tony <tony at ynotsoftware.com>
To: filepro-list at lists.celestial.com
Subject: happy birthday Brian White on Sunday
Message-ID: <54B948E7.5090802 at ynotsoftware.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

happy birthday Brian White on Sunday - old tony



------------------------------

Message: 2
Date: Fri, 16 Jan 2015 16:34:20 -0500
From: Mike Fedkiw <mikefedkiwfp at aol.com>
To: 0 Filepro List <filepro-list at lists.celestial.com>
Subject: Creating directory from within Filepro
Message-ID: <54B983DC.3070408 at aol.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Using FIlepro 5.0.09

Somehow from within Filepro I need to change to a specified directory on 
my hard drive and create a folder for the individual customer's invoice 
being printed. I thought I could do it using the system command but it 
doesn't seem to work?


There's only a couple lines of code here so I'll just post what I am trying.


system "cd c:\!output\invoice\Invoice_to_PDF"

system "md"<arag(10) 'arag(10) being the customer number

The directory is not being created. I could swear I've made directories 
before but I cant remember when, where or how...


I'm someone will show me the error of my ways, Lol

Thank You in advance, I always appreciate the help I get from the site.

Mike


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150116/6673538c/attachment.html>

------------------------------

Message: 3
Date: Fri, 16 Jan 2015 18:27:09 -0500
From: "Jean-Pierre A. Radley" <appl at jpr.com>
To: filePro Mailing List <filepro-list at lists.celestial.com>
Subject: PCL 3/5 printer died; did I slit my throat?
Message-ID: <20150116232709.GA2137 at jpradley.jpr.com>
Content-Type: text/plain; charset=us-ascii

I was in the midst of printing 1099 forms from my OSR6 server, using
filePro output involving some subtle PCL3 coding (courtesy of Jim
Asman) to make the printed text properly nestle in the boxes of the
IRS-designed forms one obtains from any stationer.

Of a sudden, my HP OfficeJet quit, popped, turned off, dropped dead.

I surprised myself with what then ensued. I used the 'pcl6' program to
convert filePro's PCL3 output to a PDF file. I dispatched that PDF to
my wife's Brother MFC J625DW (Windoze only) printer. All the text was
placed in the boxes of the 1099 forms just as precisely as it used to be
on the OfficeJet.

-- 
JP


------------------------------

Message: 4
Date: Fri, 16 Jan 2015 18:39:24 -0500
From: Kenneth Brody <kenbrody at spamcop.net>
To: Mike Fedkiw <mikefedkiwfp at aol.com>, 0 Filepro List
 <filepro-list at lists.celestial.com>
Subject: Re: Creating directory from within Filepro
Message-ID: <54B9A12C.7050204 at spamcop.net>
Content-Type: text/plain; charset=utf-8; format=flowed

On 1/16/2015 4:34 PM, Mike Fedkiw via Filepro-list wrote:
> Using FIlepro 5.0.09
[...]
> system "cd c:\!output\invoice\Invoice_to_PDF"

That starts a command shell, which cd's to the specified directory, and then 
exits. This might have worked in ancient 16-bit MS-DOS days, but not 
anywhere else.

> system "md"<arag(10) 'arag(10) being the customer number

This starts a new command shell, whose current directory is the same as the 
one filePro is running in, and creates the directory there.

> The directory is not being created. I could swear I've made directories
> before but I cant remember when, where or how...

Check the directory in which you are running filePro. I'm pretty sure 
you'll see it there.

> I'm someone will show me the error of my ways, Lol
>
> Thank You in advance, I always appreciate the help I get from the site.

You can:

 (1) use CHDIR to have filePro cd to that directory, and use the
 same "md" command

or:

 (2) Put both commands into the same SYSTEM command, using the "&"
 character on the command line. (On the command itself, not as
 filePro's "&" concatenation operator.)

 system "cd c:\!output\invoice\Invoice_to_PDF & md" < arag(10)

or, best (IMHO):

 (3) Simply pass the entire path to "md":

 system "md c:\!output\invoice\Invoice_to_PDF\ " { arag(10)

 (Note the bachslash-space-quote ending, and the "{"
 operator.)


-- 
Kenneth Brody


------------------------------

Message: 5
Date: Fri, 16 Jan 2015 17:47:34 -0600
From: "Mike Schwartz" <mschw at athenet.net>
To: "'Jean-Pierre A. Radley'" <appl at jpr.com>, "'filePro Mailing List'"
 <filepro-list at lists.celestial.com>
Subject: RE: PCL 3/5 printer died; did I slit my throat?
Message-ID: <071f01d031e6$cd106ff0$67314fd0$@athenet.net>
Content-Type: text/plain; charset="us-ascii"

> I was in the midst of printing 1099 forms from my OSR6 server, using
filePro
> output involving some subtle PCL3 coding (courtesy of Jim
> Asman) to make the printed text properly nestle in the boxes of the IRS-
> designed forms one obtains from any stationer.
> 
> Of a sudden, my HP OfficeJet quit, popped, turned off, dropped dead.
> 
> I surprised myself with what then ensued. I used the 'pcl6' program to
> convert filePro's PCL3 output to a PDF file. I dispatched that PDF to my
wife's
> Brother MFC J625DW (Windoze only) printer. All the text was placed in the
> boxes of the 1099 forms just as precisely as it used to be on the
OfficeJet.
> 
> --
> JP

 Wow! Good to know!!! 

Mike Schwartz



------------------------------

Subject: Digest Footer

_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list


------------------------------

End of Filepro-list Digest, Vol 132, Issue 11
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150117/b726e23c/attachment.html>


More information about the Filepro-list mailing list