Results 1 to 19 of 19

Thread: printing with dot matrix

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    printing with dot matrix

    im tryin to make the printer stop ejecting the paper after printing the last line..anybody experience on doing that? im using vb6, my printer is epson lx-300+..thank you

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: printing with dot matrix

    I had that printer earlier. I dont think you can do that through software.
    Check your manual, you have to set it on the printer. I cant remember how, something like hold the three butons for 3 seconds, then something etc...

  3. #3
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: printing with dot matrix

    i think it's on the page setup, coz it will depend on the paper size of the form, cyril, i've used the code and it work for me. i ain't getting any error

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    problem is, i cant set the papersize property or even the height of the printer object..in the control panel > printers and faxes, i cant even choose which paper to use because there is no option there of a continuous paper or something...is there an escape character that whenever i print that, the printing will stop? thanks

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: printing with dot matrix

    Here is a link for the manual. I haven't looked at it yet.

    http://www.epson.com.sg/epson/manual...catid=2&pid=21

    Better link: page 98

    http://www.epson.co.uk/support/manua...sers_Guide.pdf

    Looks like this:

    Esc O
    VB Code:
    1. Printer.Print chr$(27) & "O"
    Attached Images Attached Images  
    Last edited by dglienna; May 26th, 2005 at 10:54 PM.

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    how do i use that in vb? is it like "printer.print cdec(79)" ???

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: printing with dot matrix

    chr(27) is the escape key
    VB Code:
    1. Printer.Print chr$(27) & "O"

  8. #8

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    still not working, it just prints out a small square and a O at the end, then ejects the paper to a full 11 inch height

  9. #9

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    by the way sir, my printer is LX-300+, i just noticed the user guide u gave me was for LQ-300

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: printing with dot matrix

    now that site is down. i'll keep trying.
    the 300 does epson escape codes.

  11. #11
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: printing with dot matrix

    This looks good. The Escape and Abort api's that i never heard of.

    http://www.kather.net/VisualBasicSource/VBTips/116.html

  12. #12

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    have you tried running the code in this site? mine says "overflow"..

  13. #13
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: printing with dot matrix

    Did you create the structure? Don't try the orientation, i don't think it would work on dot matrix, but may be wrong. Post the code that you are using.

  14. #14
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: printing with dot matrix

    ei dg i think in dot matrix it will depend on the paper source, if it is continous or not, regarding in the last line of the output, dot matrix will stop printing as it reaches the last line, if it is a continuos paper

  15. #15

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    i just followed the instructions written there..i cant understand the escapecode part..how would i knoe what escapecode to use?

  16. #16
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: printing with dot matrix


  17. #17

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    sir, i still cant find a way...could my printer be the factor? or is it really possible for the lx-300+ to do that?

  18. #18
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: printing with dot matrix

    Can you set it from the front keypad? After you run the escape codes, I still think you have to tell VB to use the constant for continuous feed.

  19. #19

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    13

    Re: printing with dot matrix

    is the constant for continuous feed the user defined?? with the value 256??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width