Recent

Author Topic: Dot-matrix printers print with LazReport  (Read 27979 times)

elidorio

  • Sr. Member
  • ****
  • Posts: 295
Dot-matrix printers print with LazReport
« on: July 19, 2015, 02:51:19 am »
Hello all,
I need to create a report for dot-matrix printers and would like to know if the printing matrix printers supports LazReport?

--
Edson
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian

Thaddy

  • Hero Member
  • *****
  • Posts: 18934
  • Glad to be alive.
Re: Dot-matrix printers print with LazReport
« Reply #1 on: July 19, 2015, 12:52:42 pm »
If your operating system supports the matrix printer, LazReport will also support it.
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Dot-matrix printers print with LazReport
« Reply #2 on: July 19, 2015, 01:38:07 pm »
Hello all,
I need to create a report for dot-matrix printers and would like to know if the printing matrix printers supports LazReport?

--
Edson
What  do you mean with Dot-Matrix-Printer ? Technically even the Ink-Jet-Printer have a dot-matrix. Each ink-bubble they trow at the paper makes a dot. It's just quite a lot of them.
Or do you mean old needle-printer ? Like e.G: Epson FX-80 ...

[Edit]
But like Thaddy said, get a driver for you OS then you are done.
Maybe you have to select bigger fonts, meaning less information per page. (these old buddys don't have the dpi you are used with nowadays derivates)
« Last Edit: July 19, 2015, 01:44:16 pm by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Dot-matrix printers print with LazReport
« Reply #3 on: July 19, 2015, 03:45:53 pm »
What  do you mean with Dot-Matrix-Printer ? Technically even the Ink-Jet-Printer have a dot-matrix.
Don't be a smart ass ink jet printers do not have a dot matrix that is why they are known as boudle-jet or ink jet printers.

Each ink-bubble they trow at the paper makes a dot. It's just quite a lot of them.
yeah but the printer does not have a dot matrix.
Or do you mean old needle-printer ? Like e.G: Epson FX-80 ...
Yes those are the dot matrix because they have a matrix of dots that are pressed against a ink tape to create each later and do not rely on the older technology that typewriters have where each letter is engraved and you need an equal number of keys to represent the complete alphabet.

And no printing in graphics mode from any windows driver is not considered (and never should be) a dot matrix supported printing. Dot-matrix printers are the priners that support some short of code base printing (like the epson language for dot matrix ) where the end user sends the character that he wants to print and not the image. As far as I know lazreport does not support dot matrix printing try searching fro zreports a report designer for windows that is design and support dot matrix only.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

paweld

  • Hero Member
  • *****
  • Posts: 1596
Re: Dot-matrix printers print with LazReport
« Reply #4 on: July 19, 2015, 04:13:57 pm »
Try FortesReport
Best regards / Pozdrawiam
paweld

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Dot-matrix printers print with LazReport
« Reply #5 on: July 19, 2015, 05:42:01 pm »
What  do you mean with Dot-Matrix-Printer ? Technically even the Ink-Jet-Printer have a dot-matrix.
Don't be a smart ass ink jet printers do not have a dot matrix that is why they are known as boudle-jet or ink jet printers.
I know they are called Laser/Ink/Bubble-Printer ... 
How do you think, they work ? (Taking a pen a draw on the paper really fast ? )
Have you ever took a look at the printing-Head of Buble-Jet-printer ?
They actually have their jets resambled in a (shifted-) matrix, which you could see as a matrix of dots.

Each ink-bubble they trow at the paper makes a dot. It's just quite a lot of them.
yeah but the printer does not have a dot matrix.
As I said above they actually do, but that's not why they are called dot matrix.
The name came because the characters/graphics they print are resambled with dots.
These dots (points) became smaller and smaller so now you don't see them anymore.
What do you think the DPI stands for ? Yea, sometimes it's Dummies per Internet ;)

Or do you mean old needle-printer ? Like e.G: Epson FX-80 ...
Yes those are the dot matrix because they have a matrix of dots that are pressed against a ink tape to create each later and do not rely on the older technology that typewriters have where each letter is engraved and you need an equal number of keys to represent the complete alphabet.

And no printing in graphics mode from any windows driver is not considered (and never should be) a dot matrix supported printing. Dot-matrix printers are the priners that support some short of code base printing (like the epson language for dot matrix ) where the end user sends the character that he wants to print and not the image. As far as I know lazreport does not support dot matrix printing try searching fro zreports a report designer for windows that is design and support dot matrix only.
That's not what he asked !
He wanted to print reports from lazreport with a dot-matrix printer.
  and if the printer supports lazreport (which needs a little clarification)
And I asked him what he actually tries to do, to clarify things a little.
He didn't asked to use the printer-internal-font. (at least not jet.)
So please let HIM answer the questions.

PS: My Printer has only 600 Dots Per Inch (but 24-bit full colour)
PPS: Needle printers are still needed to do real carbon copies.
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Dot-matrix printers print with LazReport
« Reply #6 on: July 19, 2015, 06:05:29 pm »
Or do you mean old needle-printer ? Like e.G: Epson FX-80 ...
Yes those are the dot matrix because they have a matrix of dots that are pressed against a ink tape to create each later and do not rely on the older technology that typewriters have where each letter is engraved and you need an equal number of keys to represent the complete alphabet.
You are right that dot-matrix was opposing the typewriter-style printers and the plotters with their pens.
But especially the FX-80 did not had a matrix of needles ! He had 8 needles in a line. So to your definition this would not be a dot-matrix printer.
Sometimes these needles are called hammers.

I know this buddy personally, it had the ability to feed the paper n/3th of a line. So I programmed a special graphics mode with tripple of the original resolution. (I has sooooo many time in school )
together with a special small font optimized for this graphics mode, I could do magic.   
« Last Edit: July 19, 2015, 06:07:26 pm by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Dot-matrix printers print with LazReport
« Reply #7 on: July 19, 2015, 06:16:10 pm »
in short because I have better things to do.
1) since when a matrix has at least 2 or more dimensions? Are you sure there are no 1 dimension matrices?
2) the standard (industry and market) has already define what is a dot matrix printer, redefining it to suit your logic is not an option.
3) dot matrix printing is all about using the printers internal fonts and sizes mainly for speed and carbon copies it always has been this way even in win3 days where dot matrix printers were the norm and ink jet printers were a curiosity (and expensive as a bike).
4) assumptions outside the industry norm has to be verified by the OP before answering.

So if you come here and ask if I can print in a dot matrix printer using lazreports I assume you already know you can print on that printer from any application and you are asking for dot matrix specific abilities. It is not the windows/linux/MACOS support forum in which case you would assume that he is looking for a way to install hes printer in the OS.

In all cases your misrepresentation of dot matrix is wrong.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Dot-matrix printers print with LazReport
« Reply #8 on: July 19, 2015, 07:22:36 pm »
in short because I have better things to do.
Please do ...
1) since when a matrix has at least 2 or more dimensions? Are you sure there are no 1 dimension matrices?
These a special matrices, and normally called vectors or tupples.

2) the standard (industry and market) has already define what is a dot matrix printer, redefining it to suit your logic is not an option.
I did not redefine these standards. But here they are/were more precisely called needle-printer

3) dot matrix printing is all about using the printers internal fonts and sizes mainly for speed and carbon copies it always has been this way even in win3 days where dot matrix printers were the norm and ink jet printers were a curiosity (and expensive as a bike).
My I remind you, that this is in the General-section so you cannot assume anything, about carbon-copy, I allready mentioned that.
4) assumptions outside the industry norm has to be verified by the OP before answering.

So if you come here and ask if I can print in a dot matrix printer using lazreports I assume you already know you can print on that printer from any application and you are asking for dot matrix specific abilities. It is not the windows/linux/MACOS support forum in which case you would assume that he is looking for a way to install hes printer in the OS.
In the general section no assumtions, what so ever should be made. So asking is the right action
 

In all cases your misrepresentation of dot matrix is wrong.
Sorry wrong again, read
https://en.wikipedia.org/wiki/Dot-matrix
especially:
Quote
However, almost all modern computer printers also create their output as matrices of dots, but use a different technology like laser printing or inkjet printing, and are not called dot matrix printers. Impact printers survive where multi-part forms are needed, as the pins can impress dots through multiple layers of paper to make a carbonless copy, for security purposes.
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Dot-matrix printers print with LazReport
« Reply #9 on: July 19, 2015, 07:48:26 pm »
1) since when a matrix has at least 2 or more dimensions? Are you sure there are no 1 dimension matrices?
These a special matrices, and normally called vectors or tupples.
So a matrix after all.

2) the standard (industry and market) has already define what is a dot matrix printer, redefining it to suit your logic is not an option.
I did not redefine these standards. But here they are/were more precisely called needle-printer

were is exactly "here" I have worked with people all over europe and its the first time I heard the term, unless you from India, China or some exotic (for me) place then you're full of hot air.


3) dot matrix printing is all about using the printers internal fonts and sizes mainly for speed and carbon copies it always has been this way even in win3 days where dot matrix printers were the norm and ink jet printers were a curiosity (and expensive as a bike).
My I remind you, that this is in the General-section so you cannot assume anything, about carbon-copy, I allready mentioned that.

4) assumptions outside the industry norm has to be verified by the OP before answering.

So if you come here and ask if I can print in a dot matrix printer using lazreports I assume you already know you can print on that printer from any application and you are asking for dot matrix specific abilities. It is not the windows/linux/MACOS support forum in which case you would assume that he is looking for a way to install hes printer in the OS.
In the general section no assumtions, what so ever should be made. So asking is the right action

Raising straw men is not in your best interest.

As said it is a forum about programming not technical support and although we will try to help in every technical issue raised the fact remains that asking about dot matrix printing in this forums, the installation of printer drivers as a second rate answer and only if the OP made it clear that this is what has problems with. Just because the sub forum is called generic does not mean that I can ask questions about gay marriage.


In all cases your misrepresentation of dot matrix is wrong.
Sorry wrong again, read
https://en.wikipedia.org/wiki/Dot-matrix
especially:
Quote
However, almost all modern computer printers also create their output as matrices of dots, but use a different technology like laser printing or inkjet printing, and are not called dot matrix printers. Impact printers survive where multi-part forms are needed, as the pins can impress dots through multiple layers of paper to make a carbonless copy, for security purposes.
Yet again you either thick headed or simple can't see outside the window. What makes you think that DPI which is the dots per inch a print can put on the paper has anything to do dot matrix printers? Just because both are named dots that does not mean that they are interchangeable.

You by the way I think my point is clear
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Dot-matrix printers print with LazReport
« Reply #10 on: July 19, 2015, 08:28:20 pm »
So you tell elidorio his problem can't be solved because lazreport doesn't suport native printer-commands ?
And flying over FortesReport-docs neither can this.
« Last Edit: July 19, 2015, 08:33:56 pm by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

balazsszekely

  • Guest
Re: Dot-matrix printers print with LazReport
« Reply #11 on: July 19, 2015, 08:35:55 pm »
TOOOO FUNNY! .. I was dying after I read this.
I only wish I understood half the jargon they used(@taazz  @jc99). But in the end, all I could think was: Damn these guys need to get outside.  :D

paweld

  • Hero Member
  • *****
  • Posts: 1596
Re: Dot-matrix printers print with LazReport
« Reply #12 on: July 19, 2015, 08:40:18 pm »
http://fortesreport.com.br/?page_id=16
Quote
Como utilizar o filtro para impressoras matriciais?
O filtro draft implementado pelo componente TRLDraftFilter atua enviando códigos de controle nativos da impressora diretamente para a porta ou caminho de rede do dispositivo. Uma vez inserido em um form ativo do projeto, preferencialmente o módulo principal, ele aparecerá como mais uma opção na lista de impressoras no diálogo de impressão dos relatórios. Os dispositivos configurados como padrão são o /dev/lp0 para o Linux e prn para o Windows. Isto pode ser alterado a qualquer tempo através da propriedade DevicePath do componente de filtro.
Best regards / Pozdrawiam
paweld

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Dot-matrix printers print with LazReport
« Reply #13 on: July 19, 2015, 09:59:23 pm »
TOOOO FUNNY! .. I was dying after I read this.
I only wish I understood half the jargon they used(@taazz  @jc99). But in the end, all I could think was: Damn these guys need to get outside.  :D
;D Oh no, outside it's dark, stormy and rainy, it's much more cosy inside. :)

@paweld: could you translate this ?
http://fortesreport.com.br/?page_id=16
Quote
Como utilizar o filtro para impressoras matriciais?
O filtro draft implementado pelo componente TRLDraftFilter atua enviando códigos de controle nativos da impressora diretamente para a porta ou caminho de rede do dispositivo. Uma vez inserido em um form ativo do projeto, preferencialmente o módulo principal, ele aparecerá como mais uma opção na lista de impressoras no diálogo de impressão dos relatórios. Os dispositivos configurados como padrão são o /dev/lp0 para o Linux e prn para o Windows. Isto pode ser alterado a qualquer tempo através da propriedade DevicePath do componente de filtro.
I see a TRLDraftFilter and someting  /dev/lp0 direct printer port. But I didn't see any printer-specific or printer-type-specific unit.
I'd expect something like ESC_p ESC_p2 PCL PS to support a little more precise direct printing.
https://en.wikipedia.org/wiki/ESC/P (BTW Here these printers are called impact-printer, but it's only Wikipedia, what do they know ;) )
https://en.wikipedia.org/wiki/Printer_Command_Language
https://en.wikipedia.org/wiki/PostScript_Printer_Description
Otherwise you can just output the text directly to the printer, but then why use a report-designer, you just do a query of your data and output the text with
Code: [Select]
writeln(PrnFile,<text>);
But then how can they support charts, and barcodes without printer specific commands ?
« Last Edit: July 19, 2015, 10:05:48 pm by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

elidorio

  • Sr. Member
  • ****
  • Posts: 295
Re: Dot-matrix printers print with LazReport
« Reply #14 on: July 20, 2015, 05:59:37 am »
I want to create a report for dot matrix printers same type Epson FX-80.
I thought the LazReport also had support matrix printers, type FastReport for Delphi and Lazarus that is supported.
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian

 

TinyPortal © 2005-2018