[Gambas-user] lpt printer
gunartha
gunartha.nyoman at ...1817...
Wed Feb 6 04:37:30 CET 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scan0003.jpg
Type: image/jpeg
Size: 16673 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080206/87ad57b8/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMG_0190.jpg
Type: image/jpeg
Size: 94243 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080206/87ad57b8/attachment-0001.jpg>
More information about the User
mailing list