I totally agree Dan. Because I have written several applications for
dot matrix printers, I am getting more requests. There are a lot of
service companies that want printed invoices on two or three part paper.
This little class is really appreciated.
Jeff
---
Jeff Johnson
j...@
Dan Covill wrote:
One more thing on this:
The important part of making this work is to make absolutely sure that
Windows doesn't get its filthy hands on the output. The Okidatas will
happily print whatever comes over the cable, whether you programmed it
or the Windows drivers added it afterw
One more thing on this:
I was looking for a document I wrote several years ago on this topic -
i.e., printing to a DOS (parallel) printer from Windows.
The important part of making this work is to make absolutely sure that
Windows doesn't get its filthy hands on the output. The Okidatas will
I knew I put those SET CONSOLE commands in there for some reason!
(IOW, I had the same problem(s), and kind of lost track of just which
command in which sequence solved which problem!)
Glad you have success, Jeff
Dan
On 06/06/13 12:44 PM, Jeff Johnson wrote:
SET PRINTER TO (p_file)
SET PRINTER TO (p_file)
SET DEVICE TO printer
SET CONSOLE off
SET PRINTER ON
IF print_ok
IF PCOUNT() < 2
DO (printprog)
ELSE
DO (printprog) with tuparm
ENDIF
ENDIF
print_ok = pr_eject()
SET DEVICE TO SCREEN
SET PRINT off
SET CONSOLE on
SET PRINTER TO
Then I do raw
Thanks Dan! It works great. I am now printing invoices with no blank
pages. Only one little problem left; a blank page prints on the default
printer.
I have tried many things but can't see why it is happening. It happens
when I start the second invoice job and when it exits the application
Dan: No exclamation code needed! I have a routine ala Mac Rubel that I
call dosprint. (There is a ton of Mac's stuff still in my code) It
works perfectly with the generic text driver and @say. The only problem
I ran into is this letter quality stuff.
Thanks!
Jeff
---
Jeff J
On 06/04/13 02:33 PM, Jeff Johnson wrote:
Dan: The whole problem is because these invoices print letter quality
bold and wide in the heading. Can your print class do that by sending
the print codes before the text?
Jeff
Apparently, yes. Here's a snippet:
procedure PrintBody
*
:31 PM, Jeff Johnson wrote:
Date: Tue, 04 Jun 2013 14:31:21 -0700
From: Jeff Johnson
To: profoxt...@leafe.com
cc:
Subject: Re: Dot Matrix Printing from VFP
BTW, I am using a generic text print driver.
Jeff
---
Jeff Johnson
j...@san-dc.com
(623) 582-0323
www.san-dc.com
Can you put the initialization code in there rather than in VFP? - Joe
On Tuesday, June 04, 2013 5:31 PM, Jeff Johnson wrote:
>
>Date: Tue, 04 Jun 2013 14:31:21 -0700
>From: Jeff Johnson
>To: profoxt...@leafe.com
>cc:
>Subject: Re: Dot Matrix Printing from VFP
>
>BTW, I
On Tue, Jun 4, 2013 at 2:33 PM, Jeff Johnson wrote:
> Dan: The whole problem is because these invoices print letter quality bold
> and wide in the heading. Can your print class do that by sending the print
> codes before the text?
Just grasping at straws here
But are you send the '???' to t
Dan: The whole problem is because these invoices print letter quality
bold and wide in the heading. Can your print class do that by sending
the print codes before the text?
Jeff
---
Jeff Johnson
j...@san-dc.com
(623) 582-0323
www.san-dc.com
www.arelationshipmanager.com
On 06/04
control the
initialization and deinitialization strings.
HTH - Joe
On Tuesday, June 04, 2013 3:25 PM, Jeff Johnson wrote:
Date: Tue, 04 Jun 2013 12:25:44 -0700
From: Jeff Johnson
To: profoxt...@leafe.com
cc:
Subject: Re: Dot Matrix Printing from VFP
Without the ??? the report does not format
Jeff:
My remaining client has two Okidatas, which print three different forms,
and have been for many years. (The form printing uses @...say to print.)
Our problems began when one of the OkiDatas became a network printer,
using some kind of dongle, so forms could be printed from two different
+ 1 for idea #3...
Mike C
Original Message
Subject: Re: Dot Matrix Printing from VFP
From: Joe Yoder
To: profoxt...@leafe.com
Date: 6/4/2013 3:03 PM
Jeff,
Sounds like VFP or Windows is sending an initialization sequence to the
printer that overwrites what you set manually
Tuesday, June 04, 2013 3:25 PM, Jeff Johnson wrote:
>
>Date: Tue, 04 Jun 2013 12:25:44 -0700
>From: Jeff Johnson
>To: profoxt...@leafe.com
>cc:
>Subject: Re: Dot Matrix Printing from VFP
>
>Without the ??? the report does not format correctly. It *IS* the ???
>that causes the
As a foxil (still working sometimes with DOS !), I see a problem using ??? and a
report at the same time because you can't be sure of what VFP/windows sends to
the printer when it initializes the report printout (you can send your NLQ
command and then VFP sends the DRAFT command) :
wether you
Jun 2013 11:36:15 -0700
From: Jeff Johnson
To: profoxt...@leafe.com
cc:
Subject: Re: Dot Matrix Printing from VFP
Michael: The control character sent with the ??? is to put the printer
in letter quality mode. Without it it does not print properly. The code
has to be sent with a ??? and not an @say
Fred: I am using a prg with @says, not an frx. I failed miserably
using frx's on dot matrix printers and I have had good luck with this
method.
Jeff
---
Jeff Johnson
j...@san-dc.com
(623) 582-0323
www.san-dc.com
www.arelationshipmanager.com
On 06/04/2013 11:57 AM, Fred Taylor
Can you re-direct to another printer via the TO NAME clause?
--Mike
On 6/4/2013 2:36 PM, Jeff Johnson wrote:
Michael: The control character sent with the ??? is to put the printer
in letter quality mode. Without it it does not print properly. The code
has to be sent with a ??? and not an @sa
, Jeff Johnson wrote:
>
>Date: Tue, 04 Jun 2013 11:36:15 -0700
>From: Jeff Johnson
>To: profoxt...@leafe.com
>cc:
>Subject: Re: Dot Matrix Printing from VFP
>
>Michael: The control character sent with the ??? is to put the printer
>in letter quality mode. Without it it do
Can you put a function call in the report that all it does is issue the
proper ??? command, so that code is part of the report output, instead of a
separate print job?
Fred
On Tue, Jun 4, 2013 at 11:36 AM, Jeff Johnson wrote:
> Michael: The control character sent with the ??? is to put the pr
Michael: The control character sent with the ??? is to put the printer
in letter quality mode. Without it it does not print properly. The code
has to be sent with a ??? and not an @say. What I want to do is
suppress the blank pages but still send the code.
Thanks,
Jeff
---
Je
They printed fine even tho you didn't send the control characters? Are they
perhaps unneeded?
Michael Oke, II
oke...@gmail.com
661-349-6221
On Jun 4, 2013, at 10:20 AM, Jeff Johnson wrote:
> I have been printing carbonless forms using VFP for some time. The problem I
> have been hav
I have been printing carbonless forms using VFP for some time. The
problem I have been having is that there are two pages wasted on each
job. One at the beginning and one at the end. The one at the beginning
is caused by a ??? Letter Quality Mode control character sent to the
printer to put
25 matches
Mail list logo