Unconventional and Different Document Type

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Unconventional and Different Document Type

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:40 pm

by tyc >> Sat, 9 Nov 2002 3:45:07 GMT

Hi Jade Developer,
Recent requirements stated that we need to print on designed forms for printing on the dot matrix printer [due to need of high speed and duplicate forms].

The problem is the form size is 11.5(width) and 8.5 (length) per
form. Jade's document type closest to it is 11.5 (width) by 5.5
(length).

Is there any way we can define the size of the printing page form document type.

Appreciate all advise

Regards,
L.C. Lim

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Unconventional and Different Document Type

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:40 pm

by allistar >> Sun, 10 Nov 2002 22:59:29 GMT

Hi there,
Are you using the Jade report writer for this? (I was not aware that Jade have definitions for page sizes).

The way our product prints to dot matrix is by streaming teat to the printer port (either LPT1 or a UNC name) via a .dll. It works quite
well and we are in control of the length of the page.

Allistar.

------------------------------------------------------------------
Allistar Melville
Software Developer
Auckland, NEW ZEALAND

Greentree International,
Developer of Greentree Financial Software. ------------------------------------------------------------------

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Unconventional and Different Document Type

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:40 pm

by cnwjhp1 >> Tue, 12 Nov 2002 3:03:59 GMT

When we have needed to support dot matrix printing, we have used printUnformatted, and controlled page throws, italics, line spacing etc using printer-defined control codes.

Cheers,
John P

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Unconventional and Different Document Type

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:40 pm

by ConcrdDev >> Wed, 20 Nov 2002 23:00:37 GMT

Hi,

We also found the same problem.

We write the dot matrix document data to a text file, include the printer control codes/strings as part of the text we output the the file.

After the file is closed we issue a copyFile external function call which will accept either an lpt port or the unc of the printer (the the filename of the saved file).

We find this works more reliably than printUnformatted - It is also faster than going through the operating systems spooler for the printer.

It works for Win98, Win2000. We have had a problem with WinNT4.0

Best advantage - Its simple

Peter - at the home of Concord Systems


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 12 guests