Results 1 to 7 of 7

Thread: instant print

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2008
    Posts
    47

    instant print

    is there any easy to use method to print a receipt directly from pressing a button instead of having report and than printing manually?

    i know .printform but is there any way we can just print the part of the form? like by specifying cordinates?

    thanks.

  2. #2

    Thread Starter
    Member
    Join Date
    Jan 2008
    Posts
    47

    Re: instant print

    or may be by writing the code to the button and print it.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: instant print

    How is the receipt supposed to look?

    You can use the printer object in VB, but each and everything thing on the printed document would need to be specifically formatted which could run into some pretty major code if you have specific, stylized, receipt printing needs.

    What is the issue with the report route?

  4. #4

    Thread Starter
    Member
    Join Date
    Jan 2008
    Posts
    47

    Re: instant print

    it is actually a gatepass; and yes it needs to be profesionally developed. how can we code the formatiing? can we include images etc?

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: instant print

    Images??

    You will be better served using a report engine for this.

  6. #6
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: instant print

    Copy the data to a RichTextBox and print it from there. You can include images, formattted text etc
    Last edited by isnoend07; Jan 31st, 2008 at 12:46 PM.

  7. #7
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: instant print

    Quote Originally Posted by doctorcult
    it is actually a gatepass; and yes it needs to be profesionally developed. how can we code the formatiing? can we include images etc?
    Printing msflexgrid informations at planet:
    http://www.planet-source-code.com/vb...t.asp?lngWId=1
    Search "print richtextbox"
    Last edited by isnoend07; Jan 31st, 2008 at 12:48 PM.

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