[Gambas-user] lpt printer

Leonardo Miliani leonardo at ...1237...
Wed Feb 6 11:11:16 CET 2008


gunartha ha scritto:
> Hi Everybody,
> 
> I very sorry , I ask you again about printer.
> I use roll paper (like picture1) and I want to get a print result like
> picture2.
>> From the some example code and I have tried but I still don't get what I 
> want
> 
> Could someone help me or give me a simple code, how to print a report to
> printer and paper don't scroll to end of paper
> 
> Thank you for your help
> Regards
> Nyoman Gunartha
> 
> ----- Original Message ----- From: "Scott Castaline" <hscast at ...407...>
> To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Sent: Friday, February 01, 2008 12:58 AM
> Subject: Re: [Gambas-user] lpt printer
> 
> 
>> Leonardo Miliani wrote:
>>> gunartha ha scritto:
>>>
>>>> yes, my printer set on /dev/lp0  type Epson LX-00
>>>> and I get a sample as below : I try this sample and when end of data,
>>>> printer still scroll the paper.
>>>>
>>>
>>> What does it mean "printer still scroll the paper"?
>>> If you mean that the printer scrolls the paper until the sheet end, it's
>>> the normal way of working of the Printer object: you use it as a sheet
>>> where you design your graphics and write your text. When you terminate
>>> your job (Draw.End) it is printed, but all the sheet of paper is used.
>>>
>>>
>>>> How to open/print a file to printer so when end of data  the paper
>>>> stop/no
>>>> scroll
>>>>
>>>
>>> The printer is set to eject the sheet, even you used just a line of the
>>> paper.
>>>
>>>
>> I get the impression that he wants to disable this function. He may have
>> an app that generates a few lines of text at a time, prints it then will
>> generate a few more lines later. We used to do this to UNIX servers back
>> in the 80's and earlier where a system message normally went to the main
>> console and we wanted to save it in print we would redirect it to a dot
>> matrix continuous feed printer without the page eject command being sent.
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Maybe you have to set the paper size in your printer properties...

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...

Co-fondatore di Gambas-it.org: www.gambas-it.org
(il sito italiano dedicato alla comunità di Gambas)

Scegli software opensource - Choose opensource software




More information about the User mailing list